2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoPackage, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "nats-server";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "2.5.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/nats-io/${pname}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "nats-io";
|
|
|
|
repo = pname;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "sha256-q6TgRbIorOL9ZSLdjAbqbwY60XJ2cZhxUHMrzGGZG8I=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "High-Performance server for NATS";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.swdunlop ];
|
|
|
|
homepage = "https://nats.io/";
|
|
|
|
};
|
|
|
|
}
|