nixpkgs/pkgs/servers/nats-server/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
643 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
2018-08-19 19:12:51 +01:00
buildGoModule rec {
pname = "nats-server";
version = "2.7.2";
2018-08-19 19:12:51 +01:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "nats-io";
repo = pname;
sha256 = "0w4hjz1x6zwcxhnd1y3874agyn8nsdra4fky6kc2rrfikjcw003y";
2018-08-19 19:12:51 +01:00
};
vendorSha256 = "1gvvjwx1g8mhcqi3ssb3k5ylkz0afpmnf6h2zfny9rc4dk2cp2dy";
doCheck = false;
passthru.tests.nats = nixosTests.nats;
meta = with lib; {
2018-08-19 19:12:51 +01:00
description = "High-Performance server for NATS";
license = licenses.asl20;
2022-01-15 07:58:53 +00:00
maintainers = with maintainers; [ swdunlop derekcollison ];
homepage = "https://nats.io/";
2018-08-19 19:12:51 +01:00
};
}