1{ lib
2, fetchFromGitHub
3, python3
4}:
5
6python3.pkgs.buildPythonApplication rec {
7 pname = "graphqlmap";
8 version = "unstable-2022-01-17";
9 format = "setuptools";
10
11 src = fetchFromGitHub {
12 owner = "swisskyrepo";
13 repo = "GraphQLmap";
14 rev = "98997bd7cf647aac7378b72913241060464749b1";
15 hash = "sha256-lGnhNwtDc8KoPlwJ1p2FYq0NQ8PhSR3HgtluU7uxa/c=";
16 };
17
18 propagatedBuildInputs = with python3.pkgs; [
19 requests
20 ];
21
22 # Tests are not available
23 doCheck = false;
24
25 pythonImportsCheck = [
26 "graphqlmap"
27 ];
28
29 meta = with lib; {
30 description = "Tool to interact with a GraphQL endpoint";
31 homepage = "https://github.com/swisskyrepo/GraphQLmap";
32 license = licenses.mit;
33 maintainers = with maintainers; [ fab ];
34 };
35}