depot/third_party/nixpkgs/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix
Default email f61cd259d4 Project import generated by Copybara.
GitOrigin-RevId: 82155ff501c7622cb2336646bb62f7624261f6d7
2021-10-01 17:20:50 +08:00

41 lines
764 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
];
checkInputs = [
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 ];
};
}