diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/acunetix/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/acunetix/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/acunetix/default.nix b/nixpkgs/pkgs/development/python-modules/acunetix/default.nix new file mode 100644 index 000000000000..b28a6beefbc7 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/acunetix/default.nix @@ -0,0 +1,42 @@ +{ lib +, aiofiles +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +, requests +}: + +buildPythonPackage rec { + pname = "acunetix"; + version = "0.0.7"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "hikariatama"; + repo = "acunetix"; + # https://github.com/hikariatama/acunetix/issues/1 + rev = "67584746731b9f7abd1cf10ff8161eb3085800ce"; + hash = "sha256-ycdCz8CNSP0USxv657jf6Vz4iF//reCeO2tG+und86A="; + }; + + propagatedBuildInputs = [ + aiofiles + requests + ]; + + # Module has no tests + doCheck = false; + + pythonImportsCheck = [ + "acunetix" + ]; + + meta = with lib; { + description = "Acunetix Web Vulnerability Scanner SDK for Python"; + homepage = "https://github.com/hikariatama/acunetix"; + license = licenses.agpl3Only; + maintainers = with maintainers; [ fab ]; + }; +} |