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