mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
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 <cinereal@riseup.net>
This commit is contained in:
30
pkgs/by-name/ne/nexusd/package.nix
Normal file
30
pkgs/by-name/ne/nexusd/package.nix
Normal file
@@ -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;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user