mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
19 lines
346 B
Nix
19 lines
346 B
Nix
{ buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "nsq";
|
|
version = "0.3.5";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/bitly/nsq";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "bitly";
|
|
repo = "nsq";
|
|
sha256 = "1r7jgplzn6bgwhd4vn8045n6cmm4iqbzssbjgj7j1c28zbficy2f";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
}
|