From 2a20600f69a6d9bf0937774ebed845765c5a87c8 Mon Sep 17 00:00:00 2001 From: cinereal Date: Sun, 3 May 2026 13:36:33 +0200 Subject: [PATCH] nexusd: init at 3.3.0 Add [nexusd](https://github.com/gammazero/nexus), a WAMP v2 router written in Go. While the upstream repo also offers a (client) library, this package is scoped to just the router daemon. Signed-off-by: cinereal --- pkgs/by-name/ne/nexusd/package.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/by-name/ne/nexusd/package.nix diff --git a/pkgs/by-name/ne/nexusd/package.nix b/pkgs/by-name/ne/nexusd/package.nix new file mode 100644 index 000000000000..d21465dac0d7 --- /dev/null +++ b/pkgs/by-name/ne/nexusd/package.nix @@ -0,0 +1,30 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: +buildGoModule (finalAttrs: { + pname = "nexusd"; + version = "3.3.0"; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "gammazero"; + repo = "nexus"; + rev = "v${finalAttrs.version}"; + sha256 = "sha256-c9y1NplODCIz+IZlZAyzm3G75D1wawTwbB6SZXZqjXc="; + }; + + vendorHash = "sha256-1sZDoDcX/9upTZ8bL7l+ldsouBZVT+61RFSRaeB6Dm8="; + + subPackages = [ "nexusd" ]; + + meta = { + description = "Full-feature WAMP v2 router written in Go"; + homepage = "https://github.com/gammazero/nexus"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ kiara ]; + mainProgram = "nexusd"; + platforms = lib.platforms.unix; + }; +})