{ lib , buildGoModule , fetchFromGitHub , nixosTests }: buildGoModule rec { pname = "nats-server"; version = "2.9.14"; src = fetchFromGitHub { owner = "nats-io"; repo = pname; rev = "v${version}"; hash = "sha256-S9K/Cu/zJufA789D/F874c+KiXley93m/wOcXZGc1aI="; }; vendorHash = "sha256-tUqUB9M7doUmYRAKmzos93PCizGlHe61rpMVe0z3hVo="; doCheck = false; passthru.tests.nats = nixosTests.nats; meta = with lib; { description = "High-Performance server for NATS"; homepage = "https://nats.io/"; changelog = "https://github.com/nats-io/nats-server/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ swdunlop derekcollison ]; }; }