nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 34 lines 692 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "nsq"; 9 version = "1.3.0"; 10 11 src = fetchFromGitHub { 12 owner = "nsqio"; 13 repo = "nsq"; 14 rev = "v${version}"; 15 hash = "sha256-qoAp8yAc4lJmlnHHcZskRzkleZ3Q5Gu3Lhk9u1jMR4g="; 16 }; 17 18 vendorHash = "sha256-/5nH7zHg8zxWFgtVzSnfp7RZGvPWiuGSEyhx9fE2Pvo="; 19 20 excludedPackages = [ "bench" ]; 21 22 ldflags = [ 23 "-s" 24 "-w" 25 ]; 26 27 meta = { 28 homepage = "https://nsq.io/"; 29 description = "Realtime distributed messaging platform"; 30 changelog = "https://github.com/nsqio/nsq/raw/v${version}/ChangeLog.md"; 31 license = lib.licenses.mit; 32 maintainers = with lib.maintainers; [ blakesmith ]; 33 }; 34}