e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
26 lines
627 B
Nix
26 lines
627 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "nsq";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nsqio";
|
|
repo = "nsq";
|
|
rev = "v${version}";
|
|
hash = "sha256-qoAp8yAc4lJmlnHHcZskRzkleZ3Q5Gu3Lhk9u1jMR4g=";
|
|
};
|
|
|
|
vendorHash = "sha256-/5nH7zHg8zxWFgtVzSnfp7RZGvPWiuGSEyhx9fE2Pvo=";
|
|
|
|
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;
|
|
};
|
|
}
|