diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/commix/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/security/commix/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/commix/default.nix b/nixpkgs/pkgs/tools/security/commix/default.nix new file mode 100644 index 000000000000..94290619f0f3 --- /dev/null +++ b/nixpkgs/pkgs/tools/security/commix/default.nix @@ -0,0 +1,34 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "commix"; + version = "3.8"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "commixproject"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-S/2KzZb3YUF0VJharWV/+7IG+r1EnB2sOveMpd1ryEI="; + }; + + 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; + + 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 ]; + }; +} |