diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/security/inql/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/security/inql/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/security/inql/default.nix b/nixpkgs/pkgs/tools/security/inql/default.nix new file mode 100644 index 000000000000..28abbe075bf4 --- /dev/null +++ b/nixpkgs/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 ]; + }; +} |