From 61cf6545f7eb7b0b388a858b14bd7abedbd40037 Mon Sep 17 00:00:00 2001 From: "Scott W. Dunlop" Date: Sun, 19 Aug 2018 11:12:51 -0700 Subject: [PATCH] gnatsd: init at 1.2.0 --- pkgs/servers/gnatsd/default.nix | 26 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/servers/gnatsd/default.nix 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 { };