From 37256bfd6a5ec2533f6caa4be3e9f89245a84b51 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 10 Sep 2023 17:56:56 +0200 Subject: [PATCH] ghunt: init at 2.0.1 Offensive Google framework https://github.com/mxrch/ghunt --- pkgs/by-name/gh/ghunt/package.nix | 50 +++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pkgs/by-name/gh/ghunt/package.nix diff --git a/pkgs/by-name/gh/ghunt/package.nix b/pkgs/by-name/gh/ghunt/package.nix new file mode 100644 index 000000000000..ff4e7340409f --- /dev/null +++ b/pkgs/by-name/gh/ghunt/package.nix @@ -0,0 +1,50 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "ghunt"; + version = "2.0.1"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "mxrch"; + repo = "ghunt"; + rev = "refs/tags/v${version}"; + hash = "sha256-7awLKX+1fVbufg3++lUUCZg4p07c2yGeefiPFcE1Ij4="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + alive-progress + autoslot + beautifulsoup4 + beautifultable + geopy + httpx + humanize + imagehash + inflection + jsonpickle + pillow + protobuf + python-dateutil + rich + trio + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "ghunt" + ]; + + meta = with lib; { + description = "Offensive Google framework"; + homepage = "https://github.com/mxrch/ghunt"; + changelog = "https://github.com/mxrch/GHunt/releases/tag/v${version}"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +}