From aeaee03e6237c4ed96dc109c0c8e716f472785c0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 7 Jun 2026 11:33:06 +0200 Subject: [PATCH] rmux: init at 0.5.0 Universal multiplexer with a typed SDK https://github.com/Helvesec/rmux --- pkgs/by-name/rm/rmux/package.nix | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/by-name/rm/rmux/package.nix diff --git a/pkgs/by-name/rm/rmux/package.nix b/pkgs/by-name/rm/rmux/package.nix new file mode 100644 index 000000000000..c7fd9ab2af07 --- /dev/null +++ b/pkgs/by-name/rm/rmux/package.nix @@ -0,0 +1,42 @@ +{ + lib, + fetchFromGitHub, + installShellFiles, + nix-update-script, + rustPlatform, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "rmux"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "Helvesec"; + repo = "rmux"; + tag = "v${finalAttrs.version}"; + hash = "sha256-W4Jw2r+4x90+x5WkrRwxrlqytRlU4wEY98MWJZbcblY="; + }; + + __structuredAttrs = true; + + cargoHash = "sha256-fu96A2v5VH01HxNGpdLpBTH3o9DHrocSyvuK14nE1fk="; + + nativeBuildInputs = [ installShellFiles ]; + + passthru.updateScript = nix-update-script { }; + + # Tests require network access + doCheck = false; + + meta = { + description = "Universal multiplexer with a typed SDK"; + homepage = "https://github.com/Helvesec/rmux"; + changelog = "https://github.com/Helvesec/rmux/releases/tag/${finalAttrs.src.tag}"; + license = with lib.licenses; [ + asl20 + mit + ]; + maintainers = with lib.maintainers; [ fab ]; + mainProgram = "rmux"; + }; +})