nixpkgs/pkgs/tools/security/commix/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
882 B
Nix
Raw Normal View History

2022-06-15 07:46:19 +00:00
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "commix";
2023-02-20 01:59:29 +00:00
version = "3.7";
2022-06-15 07:46:19 +00:00
format = "setuptools";
src = fetchFromGitHub {
owner = "commixproject";
repo = pname;
2022-07-04 01:36:01 +00:00
rev = "refs/tags/v${version}";
2023-02-20 01:59:29 +00:00
hash = "sha256-pqfb0CkWTPq6B8T7nn25lWuEQFRRziCDWYm5a1S3mIY=";
2022-06-15 07:46:19 +00:00
};
2023-01-23 21:12:19 +00:00
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/
'';
2022-06-15 07:46:19 +00:00
# Project has no tests
doCheck = false;
meta = with lib; {
description = "Automated Command Injection Exploitation Tool";
homepage = "https://github.com/commixproject/commix";
2023-01-23 20:30:31 +00:00
changelog = "https://github.com/commixproject/commix/releases/tag/v${version}";
2022-06-15 07:46:19 +00:00
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}