depot/third_party/nixpkgs/pkgs/development/python-modules/acunetix/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

42 lines
855 B
Nix

{ 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 ];
};
}