18 lines
388 B
Nix
18 lines
388 B
Nix
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
|
|
|
buildGoPackage rec {
|
|
name = "nsq-${version}";
|
|
version = "0.3.5";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/bitly/nsq";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/nsqio/nsq";
|
|
sha256 = "1r7jgplzn6bgwhd4vn8045n6cmm4iqbzssbjgj7j1c28zbficy2f";
|
|
};
|
|
|
|
goDeps = ./deps.json;
|
|
}
|