nixpkgs/pkgs/servers/nsq/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
627 B
Nix
Raw Normal View History

2021-10-20 04:08:12 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
2016-06-04 13:01:57 +02:00
2021-10-20 04:08:12 +02:00
buildGoModule rec {
pname = "nsq";
2023-12-27 07:41:04 +01:00
version = "1.3.0";
2016-06-04 13:01:57 +02:00
src = fetchFromGitHub {
2021-10-20 04:08:12 +02:00
owner = "nsqio";
repo = "nsq";
2021-10-20 04:08:12 +02:00
rev = "v${version}";
2023-12-27 07:41:04 +01:00
hash = "sha256-qoAp8yAc4lJmlnHHcZskRzkleZ3Q5Gu3Lhk9u1jMR4g=";
2016-06-04 13:01:57 +02:00
};
2023-12-27 07:41:04 +01:00
vendorHash = "sha256-/5nH7zHg8zxWFgtVzSnfp7RZGvPWiuGSEyhx9fE2Pvo=";
2021-10-20 04:08:12 +02: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 13:01:57 +02:00
}