nixpkgs/pkgs/by-name/gh/ghunt/package.nix
Martin Weinelt abdf5dc772
treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00

59 lines
1.1 KiB
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "ghunt";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "mxrch";
repo = "ghunt";
rev = "refs/tags/v${version}";
hash = "sha256-UeHVATTyAH3Xdm/NVSUhiicM+tZ4UnLeJsy1jSLK3v8=";
};
pythonRelaxDeps = true;
nativeBuildInputs = with python3.pkgs; [
setuptools
];
propagatedBuildInputs = with python3.pkgs; [
alive-progress
autoslot
beautifulsoup4
beautifultable
geopy
httpx
humanize
imagehash
inflection
jsonpickle
pillow
protobuf
python-dateutil
rich
trio
packaging
] ++ httpx.optional-dependencies.http2;
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"ghunt"
];
meta = with lib; {
description = "Offensive Google framework";
mainProgram = "ghunt";
homepage = "https://github.com/mxrch/ghunt";
changelog = "https://github.com/mxrch/GHunt/releases/tag/v${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
};
}