diff --git a/pkgs/servers/nats-streaming-server/default.nix b/pkgs/servers/nats-streaming-server/default.nix new file mode 100644 index 000000000000..8270fa398214 --- /dev/null +++ b/pkgs/servers/nats-streaming-server/default.nix @@ -0,0 +1,26 @@ +{ buildGoPackage, fetchFromGitHub, lib }: + +with lib; + +buildGoPackage rec { + name = "nats-streaming-server-${version}"; + version = "0.11.0"; + rev = "v${version}"; + + goPackagePath = "github.com/nats-io/nats-streaming-server"; + + src = fetchFromGitHub { + inherit rev; + owner = "nats-io"; + repo = "nats-streaming-server"; + sha256 = "0skkx3f7dpbf6nqpsbsk8ssn8hl55s9k76a5y5ksyqar5bdxvds5"; + }; + + meta = { + description = "NATS Streaming System Server"; + license = licenses.asl20; + maintainers = [ maintainers.swdunlop ]; + homepage = https://nats.io/; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b107fa5929a9..9d4bbd42c661 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13126,6 +13126,8 @@ with pkgs; nas = callPackage ../servers/nas { }; + nats-streaming-server = callPackage ../servers/nats-streaming-server { }; + neard = callPackage ../servers/neard { }; nginx = nginxStable;