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