Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / python-owasp-zap-v2-4 / default.nix
blobe9ad3d9893ef289eb7b5564e75f53866fdcdb0ca
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pyhamcrest
5 , pytestCheckHook
6 , requests
7 , requests-mock
8 , six
9 }:
11 buildPythonPackage rec {
12   pname = "python-owasp-zap-v2-4";
13   version = "0.0.18";
14   format = "setuptools";
16   src = fetchFromGitHub {
17     owner = "zaproxy";
18     repo = "zap-api-python";
19     rev = version;
20     sha256 = "0b46m9s0vwaaq8vhiqspdr2ns9qdw65fnjh8mf58gjinlsd27ygk";
21   };
23   propagatedBuildInputs = [
24     requests
25     six
26   ];
28   nativeCheckInputs = [
29     pyhamcrest
30     pytestCheckHook
31     requests-mock
32   ];
34   pythonImportsCheck = [ "zapv2" ];
36   meta = with lib; {
37     description = "Python library to access the OWASP ZAP API";
38     homepage = "https://github.com/zaproxy/zap-api-python";
39     license = licenses.asl20;
40     maintainers = with maintainers; [ fab ];
41   };