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

24 lines
535 B
Nix
Raw Normal View History

2018-09-09 00:09:06 +01:00
{ buildGoPackage, fetchFromGitHub, lib }:
with lib;
buildGoPackage rec {
pname = "nats-streaming-server";
version = "0.21.1";
goPackagePath = "github.com/nats-io/${pname}";
2018-09-09 00:09:06 +01:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "nats-io";
repo = pname;
sha256 = "sha256-GqnIGnXcOcfbAgUruVxsTSvi6pH1E3QugEmZr3tPiIY=";
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
};
}