Files
nixpkgs/pkgs/by-name/po/powerhub/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

66 lines
1.3 KiB
Nix

{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "powerhub";
version = "2.0.10";
pyproject = true;
src = fetchFromGitHub {
owner = "AdrianVollmer";
repo = "PowerHub";
tag = version;
hash = "sha256-vZIdYjP7F7lUauOCkouwUpR/gO0gEjFR8HLqD3ZjS3E=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
setuptools-scm
];
propagatedBuildInputs = with python3.pkgs; [
cheroot
cryptography
dnspython
flask
flask-socketio
flask-sqlalchemy
importlib-metadata
jinja2
pyopenssl
python-magic
python-socketio
requests
service-identity
simple-websocket
sqlalchemy
twisted
watchdog
werkzeug
wsgidav
];
# Tests uses XDG
doCheck = false;
pythonImportsCheck = [
"powerhub"
];
preCheck = ''
cd tests/helpers
'';
meta = {
description = "Post exploitation tool based on a web application, focusing on bypassing endpoint protection and application whitelisting";
homepage = "https://github.com/AdrianVollmer/PowerHub";
changelog = "https://github.com/AdrianVollmer/PowerHub/blob/${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "powerhub";
};
}