about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/graphqlmap/default.nix
blob: 84b72d3b6a16c163cd570affbc84f94069765873 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 ];
  };
}