2021-10-28 06:52:43 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-10-28 06:52:43 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "nsq";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "1.3.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-10-28 06:52:43 +00:00
|
|
|
owner = "nsqio";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "nsq";
|
2021-10-28 06:52:43 +00:00
|
|
|
rev = "v${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-qoAp8yAc4lJmlnHHcZskRzkleZ3Q5Gu3Lhk9u1jMR4g=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
vendorHash = "sha256-/5nH7zHg8zxWFgtVzSnfp7RZGvPWiuGSEyhx9fE2Pvo=";
|
2021-10-28 06:52:43 +00:00
|
|
|
|
|
|
|
excludedPackages = [ "bench" ];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://nsq.io/";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Realtime distributed messaging platform";
|
2021-10-28 06:52:43 +00:00
|
|
|
changelog = "https://github.com/nsqio/nsq/raw/v${version}/ChangeLog.md";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|