diff options
author | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-06-06 12:26:56 +0200 |
---|---|---|
committer | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-06-09 13:08:10 +0200 |
commit | bbc37e0eb7bf9d97f6d3e796833968180606cfaf (patch) | |
tree | ea4d6f610e359592a9b62b9dec24a305360807ae /pkgs/servers/gotty/default.nix | |
parent | 8dc356c731a8478af4b6509f18d7c79489121433 (diff) |
Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is
a tag
Diffstat (limited to 'pkgs/servers/gotty/default.nix')
-rw-r--r-- | pkgs/servers/gotty/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/servers/gotty/default.nix b/pkgs/servers/gotty/default.nix index 5716779fb9a33..b8718898f4bcc 100644 --- a/pkgs/servers/gotty/default.nix +++ b/pkgs/servers/gotty/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: +{ stdenv, lib, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { name = "gotty-${version}"; @@ -7,10 +7,11 @@ buildGoPackage rec { goPackagePath = "github.com/yudai/gotty"; - src = fetchgit { + src = fetchFromGitHub { inherit rev; - url = "https://github.com/yudai/gotty"; - sha256 = "1jc620j4y2r8706r6qn7g2nghiidaaj7f8m2vjgq2gwv288qjafd"; + owner = "yudai"; + repo = "gotty"; + sha256 = "0gvnbr61d5si06ik2j075jg00r9b94ryfgg06nqxkf10dp8lgi09"; }; goDeps = ./deps.json; |