diff options
author | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-06-06 12:56:28 +0200 |
---|---|---|
committer | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-06-09 13:08:10 +0200 |
commit | 734d15297721cf241df361d4a98be58c13fc75af (patch) | |
tree | 14909d0fd244e660a1585eaeedba8252385f83b0 /pkgs/servers/caddy | |
parent | bbc37e0eb7bf9d97f6d3e796833968180606cfaf (diff) |
buildGo16Packages: fetchgit -> fetchFromGitHub
Diffstat (limited to 'pkgs/servers/caddy')
-rw-r--r-- | pkgs/servers/caddy/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/servers/caddy/default.nix b/pkgs/servers/caddy/default.nix index 2b0ae98c4641..774e57fc8911 100644 --- a/pkgs/servers/caddy/default.nix +++ b/pkgs/servers/caddy/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, buildGo16Package, fetchgit, fetchhg, fetchbzr, fetchsvn }: +{ stdenv, lib, buildGo16Package, fetchFromGitHub }: buildGo16Package rec { name = "caddy-${version}"; @@ -7,9 +7,10 @@ buildGo16Package rec { goPackagePath = "github.com/mholt/caddy"; - src = fetchgit { + src = fetchFromGitHub { inherit rev; - url = "https://github.com/mholt/caddy"; + owner = "mholt"; + repo = "caddy"; sha256 = "1snijkbz02yr7wij7bcmrj4257709sbklb3nhb5qmy95b9ssffm6"; }; |