waitron: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-08 14:13:14 +01:00
parent 646f5c7302
commit b60ee6e462

View file

@ -1,17 +1,16 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
{ lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ lib, buildGoPackage, fetchFromGitHub, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
pname = "waitron";
version = "unstable-2020-01-24";
rev = "c96833619cbb0cf2bc71b1d7b534101e139cc6e6";
goPackagePath = "github.com/ns1/waitron";
src = fetchgit {
inherit rev;
url = "https://github.com/ns1/waitron";
sha256 = "0lgw37iq1cvg3mqc94nzf0027mvv721ay8x6dw3fc814ww8a2hb6";
src = fetchFromGitHub {
owner = "ns1";
repo = "waitron";
rev = "c96833619cbb0cf2bc71b1d7b534101e139cc6e6";
sha256 = "sha256-ZkGhEOckIOYGb6Yjr4I4e9cjAHDfksRwHW+zgOMZ/FE=";
};
patches = [