2022-03-30 09:31:56 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "nats-streaming-server";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "0.24.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "nats-io";
|
|
|
|
repo = pname;
|
2022-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-CEDUlMigOK8ZAntqwD6jnqcMhDfgxrrrP53QU6XgI6k=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
vendorSha256 = "sha256-qaKkYcHOpnQQUWg3jWq99hM9y/7p0Vsy6hQm7HqXEKg=";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
# tests fail and ask to `go install`
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "NATS Streaming System Server";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.swdunlop ];
|
|
|
|
homepage = "https://nats.io/";
|
|
|
|
};
|
|
|
|
}
|