diff --git a/pkgs/tools/networking/waitron/default.nix b/pkgs/tools/networking/waitron/default.nix index c37d82024fe6..4f2f634d4942 100644 --- a/pkgs/tools/networking/waitron/default.nix +++ b/pkgs/tools/networking/waitron/default.nix @@ -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 = [