chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / po / powerhub / package.nix
blob2200985699660c341ed0cedd5d9ea87abadab73b
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "powerhub";
8   version = "2.0.7";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "AdrianVollmer";
13     repo = "PowerHub";
14     rev = "refs/tags/${version}";
15     hash = "sha256-ejdG/vMINyvToP8GAhRMdp/Jq8rZNBubDbRcg2i05lM=";
16   };
18   nativeBuildInputs = with python3.pkgs; [
19     setuptools
20     setuptools-scm
21   ];
23   propagatedBuildInputs = with python3.pkgs; [
24     cheroot
25     cryptography
26     dnspython
27     flask
28     flask-socketio
29     flask-sqlalchemy
30     importlib-metadata
31     jinja2
32     pyopenssl
33     python-magic
34     python-socketio
35     requests
36     service-identity
37     simple-websocket
38     sqlalchemy
39     twisted
40     watchdog
41     werkzeug
42     wsgidav
43   ];
45   # Tests uses XDG
46   doCheck = false;
48   pythonImportsCheck = [
49     "powerhub"
50   ];
52   preCheck = ''
53     cd tests/helpers
54   '';
56   meta = with lib; {
57     description = "Post exploitation tool based on a web application, focusing on bypassing endpoint protection and application whitelisting";
58     homepage = "https://github.com/AdrianVollmer/PowerHub";
59     changelog = "https://github.com/AdrianVollmer/PowerHub/blob/${version}/CHANGELOG.md";
60     license = licenses.mit;
61     maintainers = with maintainers; [ fab ];
62     mainProgram = "powerhub";
63   };