1{
2 lib,
3 aiofiles,
4 buildPythonPackage,
5 fetchFromGitHub,
6 pythonOlder,
7 requests,
8}:
9
10buildPythonPackage {
11 pname = "acunetix";
12 version = "0.0.7";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchFromGitHub {
18 owner = "hikariatama";
19 repo = "acunetix";
20 # https://github.com/hikariatama/acunetix/issues/1
21 rev = "67584746731b9f7abd1cf10ff8161eb3085800ce";
22 hash = "sha256-ycdCz8CNSP0USxv657jf6Vz4iF//reCeO2tG+und86A=";
23 };
24
25 propagatedBuildInputs = [
26 aiofiles
27 requests
28 ];
29
30 # Module has no tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "acunetix" ];
34
35 meta = with lib; {
36 description = "Acunetix Web Vulnerability Scanner SDK for Python";
37 homepage = "https://github.com/hikariatama/acunetix";
38 license = licenses.agpl3Only;
39 maintainers = with maintainers; [ fab ];
40 };
41}