From d3cd2fdbaf9fae341491a405030b17c8f2a180e6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 23 Jan 2023 21:30:31 +0100 Subject: [PATCH 1/2] commix: add changelog to meta --- pkgs/tools/security/commix/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/security/commix/default.nix b/pkgs/tools/security/commix/default.nix index b2632c2d42ed..482115894848 100644 --- a/pkgs/tools/security/commix/default.nix +++ b/pkgs/tools/security/commix/default.nix @@ -21,6 +21,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Automated Command Injection Exploitation Tool"; homepage = "https://github.com/commixproject/commix"; + changelog = "https://github.com/commixproject/commix/releases/tag/v${version}"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; }; From e8499e7be5155b2e5a956897f39049dd08e72c9c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 23 Jan 2023 22:12:19 +0100 Subject: [PATCH 2/2] commix: add helper files --- pkgs/tools/security/commix/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/security/commix/default.nix b/pkgs/tools/security/commix/default.nix index 482115894848..3b2ba60291dc 100644 --- a/pkgs/tools/security/commix/default.nix +++ b/pkgs/tools/security/commix/default.nix @@ -15,6 +15,12 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-QdhJp7oUqOY8Z36haIrHgP4hVGaFXlOxNVg1ams7uhg="; }; + postInstall = '' + # Helper files are not handled by setup.py + mkdir -p $out/${python3.sitePackages}/src/txt + install -vD src/txt/* $out/${python3.sitePackages}/src/txt/ + ''; + # Project has no tests doCheck = false;