about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/gh
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-09-15 07:58:52 +0000
committerAlyssa Ross <hi@alyssa.is>2023-09-15 07:58:52 +0000
commit9d1daa60832979d5d361dfdac136fb9e5a1af2c5 (patch)
tree5192dd85903cb092cf7dff0e3403387b3b683d84 /nixpkgs/pkgs/by-name/gh
parent67cdfc7d42f721bf85814af5a0095fb9f9ea455d (diff)
parentf2ea252d23ebc9a5336bf6a61e0644921f64e67c (diff)
downloadnixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar
nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.gz
nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.bz2
nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.lz
nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.xz
nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.zst
nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.zip
Merge branch 'nixos-unstable' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/by-name/gh')
-rw-r--r--nixpkgs/pkgs/by-name/gh/ghunt/package.nix50
1 files changed, 50 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/gh/ghunt/package.nix b/nixpkgs/pkgs/by-name/gh/ghunt/package.nix
new file mode 100644
index 000000000000..ff4e7340409f
--- /dev/null
+++ b/nixpkgs/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 ];
+  };
+}