summary refs log tree commit diff
path: root/pkgs/tools/security/inql
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-12-11 14:01:47 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-12-11 10:21:22 -0800
commite116afd102645a305064b186b285e22098f21c68 (patch)
tree24d9e779cf075d226bc00d29cc175edc86ce5910 /pkgs/tools/security/inql
parentd2b5486ae949b9092b4f56c93d694cbea09c05a6 (diff)
downloadnixpkgs-e116afd102645a305064b186b285e22098f21c68.tar
nixpkgs-e116afd102645a305064b186b285e22098f21c68.tar.gz
nixpkgs-e116afd102645a305064b186b285e22098f21c68.tar.bz2
nixpkgs-e116afd102645a305064b186b285e22098f21c68.tar.lz
nixpkgs-e116afd102645a305064b186b285e22098f21c68.tar.xz
nixpkgs-e116afd102645a305064b186b285e22098f21c68.tar.zst
nixpkgs-e116afd102645a305064b186b285e22098f21c68.zip
inql: init at 4.0.5
Diffstat (limited to 'pkgs/tools/security/inql')
-rw-r--r--pkgs/tools/security/inql/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/security/inql/default.nix b/pkgs/tools/security/inql/default.nix
new file mode 100644
index 00000000000..28abbe075bf
--- /dev/null
+++ b/pkgs/tools/security/inql/default.nix
@@ -0,0 +1,34 @@
+{ lib
+, fetchFromGitHub
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "inql";
+  version = "4.0.5";
+
+  src = fetchFromGitHub {
+    owner = "doyensec";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "sha256-0LPJMCg7F9kcPcq4jkADdCPNLfRThXu8QHy4qOn7+QU=";
+  };
+
+  propagatedBuildInputs = with python3.pkgs; [
+    stickytape
+  ];
+
+  # Project has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [
+    "inql"
+  ];
+
+  meta = with lib; {
+    description = "Security testing tool for GraphQL";
+    homepage = "https://github.com/doyensec/inql";
+    license = with licenses; [ asl20 ];
+    maintainers = with maintainers; [ fab ];
+  };
+}