5083ee08a2
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
26 lines
633 B
Nix
26 lines
633 B
Nix
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
|
|
|
buildGoModule rec {
|
|
pname = "nats-server";
|
|
version = "2.9.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nats-io";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-OYfyLY15v6P5srliEM7kTfa1pKFh3RR6zMWrKH2h7d4=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-wqS9EwjcsJgdAurwxmZBgjbLKpMQEOaQkReuu0VlnGc=";
|
|
|
|
doCheck = false;
|
|
|
|
passthru.tests.nats = nixosTests.nats;
|
|
|
|
meta = with lib; {
|
|
description = "High-Performance server for NATS";
|
|
homepage = "https://nats.io/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ swdunlop derekcollison ];
|
|
};
|
|
}
|