From c8e9df966996dca47b1aa824609a12a0bffff5b1 Mon Sep 17 00:00:00 2001 From: "Scott W. Dunlop" Date: Sun, 19 Aug 2018 11:11:22 -0700 Subject: [PATCH 1/2] maintainers: add @swdunlop --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 99aa6c76e7de..b1295f46ab68 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3868,6 +3868,11 @@ github = "swarren83"; name = "Shawn Warren"; }; + swdunlop = { + email = "swdunlop@gmail.com"; + github = "swdunlop"; + name = "Scott W. Dunlop"; + }; swflint = { email = "swflint@flintfam.org"; github = "swflint"; From 61cf6545f7eb7b0b388a858b14bd7abedbd40037 Mon Sep 17 00:00:00 2001 From: "Scott W. Dunlop" Date: Sun, 19 Aug 2018 11:12:51 -0700 Subject: [PATCH 2/2] 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 { };