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