summary refs log tree commit diff
path: root/pkgs/tools/security/ghdorker
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-12-15 12:42:08 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-12-15 12:42:08 +0100
commit91f4e98e28303418902b20331a6bd8aebf58bdff (patch)
treed483f10a52ccf554b79e3577de36d2f2f7ce7de8 /pkgs/tools/security/ghdorker
parent16c153f7d79f682cb278a3b89be2a739bb274f66 (diff)
downloadnixpkgs-91f4e98e28303418902b20331a6bd8aebf58bdff.tar
nixpkgs-91f4e98e28303418902b20331a6bd8aebf58bdff.tar.gz
nixpkgs-91f4e98e28303418902b20331a6bd8aebf58bdff.tar.bz2
nixpkgs-91f4e98e28303418902b20331a6bd8aebf58bdff.tar.lz
nixpkgs-91f4e98e28303418902b20331a6bd8aebf58bdff.tar.xz
nixpkgs-91f4e98e28303418902b20331a6bd8aebf58bdff.tar.zst
nixpkgs-91f4e98e28303418902b20331a6bd8aebf58bdff.zip
ghdorker: init at 0.3.2
Diffstat (limited to 'pkgs/tools/security/ghdorker')
-rw-r--r--pkgs/tools/security/ghdorker/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/tools/security/ghdorker/default.nix b/pkgs/tools/security/ghdorker/default.nix
new file mode 100644
index 00000000000..c6882fb110a
--- /dev/null
+++ b/pkgs/tools/security/ghdorker/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "ghdorker";
+  version = "0.3.2";
+  format = "setuptools";
+
+  src = python3.pkgs.fetchPypi {
+    inherit pname version;
+    sha256 = "sha256-wF4QoXxH55SpdYgKLHf4sCwUk1rkCpSdnIX5FvFi/BU=";
+  };
+
+  propagatedBuildInputs = with python3.pkgs; [
+    ghapi
+    glom
+    python-dotenv
+    pyyaml
+  ];
+
+  # Project has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [
+    "GHDorker"
+  ];
+
+  meta = with lib; {
+    description = "Extensible GitHub dorking tool";
+    homepage = "https://github.com/dtaivpp/ghdorker";
+    license = with licenses; [ asl20 ];
+    maintainers = with maintainers; [ fab ];
+  };
+}