2022-03-12 19:02:55 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2018-09-08 23:09:06 +00:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2022-03-12 19:02:55 +00:00
|
|
|
buildGoModule rec {
|
2019-10-28 21:24:02 +00:00
|
|
|
pname = "nats-streaming-server";
|
2022-07-29 02:03:38 +00:00
|
|
|
version = "0.24.6";
|
2018-09-08 23:09:06 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-10-28 21:24:02 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
owner = "nats-io";
|
|
|
|
repo = pname;
|
2022-07-29 02:03:38 +00:00
|
|
|
sha256 = "sha256-CEDUlMigOK8ZAntqwD6jnqcMhDfgxrrrP53QU6XgI6k=";
|
2018-09-08 23:09:06 +00:00
|
|
|
};
|
|
|
|
|
2022-07-29 02:03:38 +00:00
|
|
|
vendorSha256 = "sha256-qaKkYcHOpnQQUWg3jWq99hM9y/7p0Vsy6hQm7HqXEKg=";
|
2022-03-12 19:02:55 +00:00
|
|
|
|
|
|
|
# tests fail and ask to `go install`
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-09-08 23:09:06 +00:00
|
|
|
meta = {
|
|
|
|
description = "NATS Streaming System Server";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.swdunlop ];
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://nats.io/";
|
2018-09-08 23:09:06 +00:00
|
|
|
};
|
|
|
|
}
|