From 22966e22d76de6f5eaf88387f69b3f57b5d67fdb Mon Sep 17 00:00:00 2001 From: thtrf Date: Sat, 19 Jul 2025 23:15:57 +0200 Subject: [PATCH] routersploit: remove with lib; remove rec --- pkgs/by-name/ro/routersploit/package.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/ro/routersploit/package.nix b/pkgs/by-name/ro/routersploit/package.nix index 37b2df1807ac..32d8cc7bfe1c 100644 --- a/pkgs/by-name/ro/routersploit/package.nix +++ b/pkgs/by-name/ro/routersploit/package.nix @@ -4,9 +4,12 @@ python3, }: -python3.pkgs.buildPythonApplication rec { - pname = "routersploit"; +let version = "3.4.7"; +in +python3.pkgs.buildPythonApplication { + pname = "routersploit"; + inherit version; pyproject = true; src = fetchFromGitHub { @@ -48,11 +51,14 @@ python3.pkgs.buildPythonApplication rec { "tests/test_module_info.py" ]; - meta = with lib; { + meta = { description = "Exploitation Framework for Embedded Devices"; homepage = "https://github.com/threat9/routersploit"; - license = licenses.bsd3; - maintainers = with maintainers; [ fab ]; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ + fab + thtrf + ]; mainProgram = "rsf"; }; }