a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
41 lines
770 B
Nix
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 ];
|
|
};
|
|
}
|