Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / nsq / default.nix
blob94b77602c550386fcaf6e45324baa66b91bad49e
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "nsq";
5   version = "1.3.0";
7   src = fetchFromGitHub {
8     owner = "nsqio";
9     repo = "nsq";
10     rev = "v${version}";
11     hash = "sha256-qoAp8yAc4lJmlnHHcZskRzkleZ3Q5Gu3Lhk9u1jMR4g=";
12   };
14   vendorHash = "sha256-/5nH7zHg8zxWFgtVzSnfp7RZGvPWiuGSEyhx9fE2Pvo=";
16   excludedPackages = [ "bench" ];
18   ldflags = [ "-s" "-w" ];
20   meta = with lib; {
21     homepage = "https://nsq.io/";
22     description = "Realtime distributed messaging platform";
23     changelog = "https://github.com/nsqio/nsq/raw/v${version}/ChangeLog.md";
24     license = licenses.mit;
25   };