mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
18 lines
346 B
Nix
18 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;
|
|
}
|