2022-02-20 05:27:41 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
buildGoModule rec {
|
2022-06-16 17:23:12 +00:00
|
|
|
pname = "nats-server";
|
2022-09-11 15:47:08 +00:00
|
|
|
version = "2.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-06-16 17:23:12 +00:00
|
|
|
owner = "nats-io";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-11 15:47:08 +00:00
|
|
|
sha256 = "sha256-zKDaem388xngSbpF1cK/hffLWMlrROJ00OBBSjzeMqk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-09-11 15:47:08 +00:00
|
|
|
vendorSha256 = "sha256-p+UMKVHDm6ypr1ftwb6L/kPocUrSp05un71T1WlLWbA=";
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
passthru.tests.nats = nixosTests.nats;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "High-Performance server for NATS";
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://nats.io/";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.asl20;
|
2022-01-19 23:45:15 +00:00
|
|
|
maintainers = with maintainers; [ swdunlop derekcollison ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|