depot/third_party/nixpkgs/pkgs/tools/security/graphqlmap/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

35 lines
754 B
Nix

{ 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 ];
};
}