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 {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "nsq";
|
2021-10-20 03:08:12 +01:00
|
|
|
version = "1.2.1";
|
2016-06-04 12:01:57 +01:00
|
|
|
|
2016-06-06 11:26:56 +01:00
|
|
|
src = fetchFromGitHub {
|
2021-10-20 03:08:12 +01:00
|
|
|
owner = "nsqio";
|
2016-06-06 11:26:56 +01:00
|
|
|
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
|
|
|
}
|