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