depot/third_party/nixpkgs/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

41 lines
770 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyhamcrest
, pytestCheckHook
, requests
, requests-mock
, six
}:
buildPythonPackage rec {
pname = "python-owasp-zap-v2-4";
version = "0.0.18";
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 ];
};
}