depot/third_party/nixpkgs/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

43 lines
805 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pyhamcrest,
pytestCheckHook,
requests,
requests-mock,
six,
}:
buildPythonPackage rec {
pname = "python-owasp-zap-v2-4";
version = "0.0.18";
format = "setuptools";
src = fetchFromGitHub {
owner = "zaproxy";
repo = "zap-api-python";
rev = version;
sha256 = "0b46m9s0vwaaq8vhiqspdr2ns9qdw65fnjh8mf58gjinlsd27ygk";
};
propagatedBuildInputs = [
requests
six
];
nativeCheckInputs = [
pyhamcrest
pytestCheckHook
requests-mock
];
pythonImportsCheck = [ "zapv2" ];
meta = with lib; {
description = "Python library to access the OWASP ZAP API";
homepage = "https://github.com/zaproxy/zap-api-python";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}