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/nsq | |
parent | 8dc356c731a8478af4b6509f18d7c79489121433 (diff) |
Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is
a tag
Diffstat (limited to 'pkgs/servers/nsq')
-rw-r--r-- | pkgs/servers/nsq/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/servers/nsq/default.nix b/pkgs/servers/nsq/default.nix index b716a0425771e..334b78c91289f 100644 --- a/pkgs/servers/nsq/default.nix +++ b/pkgs/servers/nsq/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: +{ stdenv, lib, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { name = "nsq-${version}"; @@ -7,9 +7,10 @@ buildGoPackage rec { goPackagePath = "github.com/bitly/nsq"; - src = fetchgit { + src = fetchFromGitHub { inherit rev; - url = "https://github.com/nsqio/nsq"; + owner = "bitly"; + repo = "nsq"; sha256 = "1r7jgplzn6bgwhd4vn8045n6cmm4iqbzssbjgj7j1c28zbficy2f"; }; |