nixpkgs/pkgs/servers/nats-server/default.nix
Martin Weinelt cca8f150df
nats-server: 2.7.2 -> 2.7.4
Fixes: CVE-2022-26652
2022-03-12 19:44:48 +01:00

27 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/";
};
}