depot/third_party/nixpkgs/pkgs/servers/nats-server/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

26 lines
641 B
Nix

{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "nats-server";
version = "2.7.4";
src = fetchFromGitHub {
rev = "v${version}";
owner = "nats-io";
repo = pname;
sha256 = "sha256-lMwFh+njzQr1hOJFbO3LnPdBK7U4XmX4F/6MlIRILlU=";
};
vendorSha256 = "sha256-EEOvDOqMbqfB0S3Nf7RQMKGSZX802eqa3eGaNjUHxQ4=";
doCheck = false;
passthru.tests.nats = nixosTests.nats;
meta = with lib; {
description = "High-Performance server for NATS";
license = licenses.asl20;
maintainers = with maintainers; [ swdunlop derekcollison ];
homepage = "https://nats.io/";
};
}