mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 08:05:40 +00:00
914e0e594c
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
19 lines
369 B
Nix
19 lines
369 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "nsq-${version}";
|
|
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;
|
|
}
|