2021-10-20 02:08:12 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2016-06-04 11:01:57 +00:00
|
|
|
|
2021-10-20 02:08:12 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "nsq";
|
2021-10-20 02:08:12 +00:00
|
|
|
version = "1.2.1";
|
2016-06-04 11:01:57 +00:00
|
|
|
|
2016-06-06 10:26:56 +00:00
|
|
|
src = fetchFromGitHub {
|
2021-10-20 02:08:12 +00:00
|
|
|
owner = "nsqio";
|
2016-06-06 10:26:56 +00:00
|
|
|
repo = "nsq";
|
2021-10-20 02:08:12 +00:00
|
|
|
rev = "v${version}";
|
2023-09-21 14:23:40 +00:00
|
|
|
hash = "sha256-yOfhDf0jidAYvkgIIJy6Piu6GKGzph/Er/obYB2XWCo=";
|
2016-06-04 11:01:57 +00:00
|
|
|
};
|
|
|
|
|
2023-09-21 14:23:40 +00:00
|
|
|
vendorHash = "sha256-SkNxb90uet/DAApGjj+jpFnjdPiw4oxqxpEpqL9JXYc=";
|
2021-10-20 02:08:12 +00:00
|
|
|
|
|
|
|
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 11:01:57 +00:00
|
|
|
}
|