diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-06-14 23:29:19 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-06-14 23:29:19 +0200 |
commit | f3f26e026bea24d083c52cacebc3a42fa43b2b84 (patch) | |
tree | 4b0dc0752c75a8a43b7e2424218c147f439249c9 /pkgs/tools/security/graphqlmap | |
parent | 9ef09e06806e79e32e30d17aee6879d69c011037 (diff) |
graphqlmap: init at unstable-2022-01-17
Diffstat (limited to 'pkgs/tools/security/graphqlmap')
-rw-r--r-- | pkgs/tools/security/graphqlmap/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/tools/security/graphqlmap/default.nix b/pkgs/tools/security/graphqlmap/default.nix new file mode 100644 index 0000000000000..84b72d3b6a16c --- /dev/null +++ b/pkgs/tools/security/graphqlmap/default.nix @@ -0,0 +1,35 @@ +{ lib +, fetchFromGitHub +, python3 +}: + +python3.pkgs.buildPythonApplication rec { + pname = "graphqlmap"; + version = "unstable-2022-01-17"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "swisskyrepo"; + repo = "GraphQLmap"; + rev = "98997bd7cf647aac7378b72913241060464749b1"; + hash = "sha256-lGnhNwtDc8KoPlwJ1p2FYq0NQ8PhSR3HgtluU7uxa/c="; + }; + + propagatedBuildInputs = with python3.pkgs; [ + requests + ]; + + # Tests are not available + doCheck = false; + + pythonImportsCheck = [ + "graphqlmap" + ]; + + meta = with lib; { + description = "Tool to interact with a GraphQL endpoint"; + homepage = "https://github.com/swisskyrepo/GraphQLmap"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} |