2018-08-19 18:12:51 +00:00
|
|
|
{ buildGoPackage, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "gnatsd-${version}";
|
2019-01-17 01:02:21 +00:00
|
|
|
version = "1.4.0";
|
2018-08-19 18:12:51 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/nats-io/gnatsd";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "nats-io";
|
|
|
|
repo = "gnatsd";
|
2019-01-17 01:02:21 +00:00
|
|
|
sha256 = "0wxdvaxl273kd3wcas634hx1wx5piljgbfr6vhf669b1frkgrh2b";
|
2018-08-19 18:12:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "High-Performance server for NATS";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.swdunlop ];
|
|
|
|
homepage = https://nats.io/;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|