nixpkgs/pkgs/tools/security/inql/default.nix
2022-11-28 19:05:45 +00:00

35 lines
671 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "inql";
version = "4.0.6";
src = fetchFromGitHub {
owner = "doyensec";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-DFGJHqdrCmOZn8GdY5SZ1PrOhuIsMLoK+2Fry9WkRiY=";
};
propagatedBuildInputs = with python3.pkgs; [
stickytape
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"inql"
];
meta = with lib; {
description = "Security testing tool for GraphQL";
homepage = "https://github.com/doyensec/inql";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}