1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/servers/nsq/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

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;
}