nixpkgs/pkgs/servers/nats-streaming-server/default.nix

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

28 lines
623 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2018-09-09 00:09:06 +01:00
with lib;
buildGoModule rec {
pname = "nats-streaming-server";
version = "0.24.3";
2018-09-09 00:09:06 +01:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "nats-io";
repo = pname;
sha256 = "sha256-vpDOiFuxLpqor+9SztdZrJvwC8QGwt5+df4R2OTcxlA=";
2018-09-09 00:09:06 +01:00
};
vendorSha256 = "sha256:1m783cq20xlv5aglf252g5127r5ilfq4fqj00vim38v271511hmy";
# tests fail and ask to `go install`
doCheck = false;
2018-09-09 00:09:06 +01:00
meta = {
description = "NATS Streaming System Server";
license = licenses.asl20;
maintainers = [ maintainers.swdunlop ];
homepage = "https://nats.io/";
2018-09-09 00:09:06 +01:00
};
}