3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/nsq/default.nix

27 lines
633 B
Nix
Raw Normal View History

2021-10-20 03:08:12 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
2016-06-04 12:01:57 +01:00
2021-10-20 03:08:12 +01:00
buildGoModule rec {
pname = "nsq";
2021-10-20 03:08:12 +01:00
version = "1.2.1";
2016-06-04 12:01:57 +01:00
src = fetchFromGitHub {
2021-10-20 03:08:12 +01:00
owner = "nsqio";
repo = "nsq";
2021-10-20 03:08:12 +01:00
rev = "v${version}";
sha256 = "0ajqjwfn06zsmz21z9mkl4cblarypaf20228pqcd1293zl6y3ry8";
2016-06-04 12:01:57 +01:00
};
2021-10-20 03:08:12 +01:00
vendorSha256 = "11sx96zshaciqrm8rqmhz1sf6nd4lczqwiha031xyyifvmpp2hsa";
excludedPackages = [ "bench" ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
homepage = "https://nsq.io/";
description = "A realtime distributed messaging platform";
changelog = "https://github.com/nsqio/nsq/raw/v${version}/ChangeLog.md";
license = licenses.mit;
};
2016-06-04 12:01:57 +01:00
}