d5f4a57cbf
GitOrigin-RevId: ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e
31 lines
716 B
Nix
31 lines
716 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, nixosTests
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "nats-server";
|
|
version = "2.9.21";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nats-io";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-gzwnD9o0lqo1lUw9viSnvjsWSCSmMi2qR9ndtWztMjQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-RK5OD1zea4M4/mXjGKhU+igSoE4YaA2/jAL7RFBoouo=";
|
|
|
|
doCheck = false;
|
|
|
|
passthru.tests.nats = nixosTests.nats;
|
|
|
|
meta = with lib; {
|
|
description = "High-Performance server for NATS";
|
|
homepage = "https://nats.io/";
|
|
changelog = "https://github.com/nats-io/nats-server/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ swdunlop derekcollison ];
|
|
};
|
|
}
|