acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / gh / ghunt / package.nix
blob580f3a5e28470d0591935f045d293f664821e0fd
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "ghunt";
8   version = "2.1.0";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "mxrch";
13     repo = "ghunt";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-UeHVATTyAH3Xdm/NVSUhiicM+tZ4UnLeJsy1jSLK3v8=";
16   };
18   pythonRelaxDeps = true;
20   nativeBuildInputs = with python3.pkgs; [
21     setuptools
22   ];
24   propagatedBuildInputs = with python3.pkgs; [
25     alive-progress
26     autoslot
27     beautifulsoup4
28     beautifultable
29     geopy
30     httpx
31     humanize
32     imagehash
33     inflection
34     jsonpickle
35     pillow
36     protobuf
37     python-dateutil
38     rich
39     trio
40     packaging
41   ] ++ httpx.optional-dependencies.http2;
43   # Project has no tests
44   doCheck = false;
46   pythonImportsCheck = [
47     "ghunt"
48   ];
50   meta = with lib; {
51     description = "Offensive Google framework";
52     mainProgram = "ghunt";
53     homepage = "https://github.com/mxrch/ghunt";
54     changelog = "https://github.com/mxrch/GHunt/releases/tag/v${version}";
55     license = licenses.agpl3Only;
56     maintainers = with maintainers; [ fab ];
57   };