diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix b/nixpkgs/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix new file mode 100644 index 000000000000..6bb111a07e91 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/python-owasp-zap-v2-4/default.nix @@ -0,0 +1,41 @@ +{ 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 ]; + }; +} |