3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/nats-server/default.nix
2022-10-29 10:19:03 +08:00

27 lines
633 B
Nix

{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "nats-server";
version = "2.9.4";
src = fetchFromGitHub {
owner = "nats-io";
repo = pname;
rev = "v${version}";
sha256 = "sha256-yO6WaNZ1XUmCepNE/7USrJVCZ5i+a10WVOmQbAucBg8=";
};
vendorSha256 = "sha256-ASLy0rPuCSYGyy5Pw9fj559nxO4vPPagDKAe8wM29lo=";
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 ];
};
}