1{ lib
2, fetchFromGitHub
3, python3
4}:
5
6python3.pkgs.buildPythonApplication rec {
7 pname = "commix";
8 version = "3.8";
9 format = "setuptools";
10
11 src = fetchFromGitHub {
12 owner = "commixproject";
13 repo = pname;
14 rev = "refs/tags/v${version}";
15 hash = "sha256-S/2KzZb3YUF0VJharWV/+7IG+r1EnB2sOveMpd1ryEI=";
16 };
17
18 postInstall = ''
19 # Helper files are not handled by setup.py
20 mkdir -p $out/${python3.sitePackages}/src/txt
21 install -vD src/txt/* $out/${python3.sitePackages}/src/txt/
22 '';
23
24 # Project has no tests
25 doCheck = false;
26
27 meta = with lib; {
28 description = "Automated Command Injection Exploitation Tool";
29 homepage = "https://github.com/commixproject/commix";
30 changelog = "https://github.com/commixproject/commix/releases/tag/v${version}";
31 license = with licenses; [ gpl3Plus ];
32 maintainers = with maintainers; [ fab ];
33 };
34}