Files
nixpkgs/pkgs/by-name/pe/pentestgpt/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

60 lines
1.1 KiB
Nix

{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "pentestgpt";
version = "unstable-2023-06-27";
pyproject = true;
src = fetchFromGitHub {
owner = "GreyDGL";
repo = "PentestGPT";
rev = "e63a91f466a035e036827e8f492bc47c5c1135af";
hash = "sha256-m0R/kMmbr5Ixuqvw6ZRoaAGCnI3j86Iwk4+TYqv0WbU=";
};
build-system = with python3.pkgs; [ setuptools ];
pythonRelaxDeps = [ "playwright" ];
pythonRemoveDeps = [
"beautifulsoup4"
"black"
"pytest"
];
dependencies = with python3.pkgs; [
beautifulsoup4
colorama
google
langchain
loguru
openai
playwright
prompt-toolkit
pycookiecheat
pyyaml
requests
rich
sqlmap
tiktoken
];
# Tests require network access
doCheck = false;
pythonImportsCheck = [
"pentestgpt"
];
meta = {
description = "GPT-empowered penetration testing tool";
homepage = "https://github.com/GreyDGL/PentestGPT";
changelog = "https://github.com/GreyDGL/PentestGPT/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}