diff --git a/pkgs/servers/gnatsd/default.nix b/pkgs/servers/gnatsd/default.nix new file mode 100644 index 000000000000..81ea4056e091 --- /dev/null +++ b/pkgs/servers/gnatsd/default.nix @@ -0,0 +1,26 @@ +{ buildGoPackage, fetchFromGitHub, lib }: + +with lib; + +buildGoPackage rec { + name = "gnatsd-${version}"; + version = "1.2.0"; + rev = "v${version}"; + + goPackagePath = "github.com/nats-io/gnatsd"; + + src = fetchFromGitHub { + inherit rev; + owner = "nats-io"; + repo = "gnatsd"; + sha256 = "186xywzdrmvlhlh9wgjs71rqvgab8vinlr3gkzkknny82nv7hcjw"; + }; + + meta = { + description = "High-Performance server for NATS"; + 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 d65691ba2b7a..bd1f39291d68 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12901,6 +12901,8 @@ with pkgs; glabels = callPackage ../applications/graphics/glabels { }; + gnatsd = callPackage ../servers/gnatsd { }; + gofish = callPackage ../servers/gopher/gofish { }; grafana = callPackage ../servers/monitoring/grafana { };