diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-09-15 07:58:52 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-09-15 07:58:52 +0000 |
commit | 9d1daa60832979d5d361dfdac136fb9e5a1af2c5 (patch) | |
tree | 5192dd85903cb092cf7dff0e3403387b3b683d84 /nixpkgs/pkgs/development/python-modules/acunetix/default.nix | |
parent | 67cdfc7d42f721bf85814af5a0095fb9f9ea455d (diff) | |
parent | f2ea252d23ebc9a5336bf6a61e0644921f64e67c (diff) | |
download | nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.gz nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.bz2 nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.lz nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.xz nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.tar.zst nixlib-9d1daa60832979d5d361dfdac136fb9e5a1af2c5.zip |
Merge branch 'nixos-unstable' of https://github.com/NixOS/nixpkgs
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 ]; + }; +} |