about summary refs log tree commit diff
path: root/pkgs/development/python-modules/acunetix/default.nix
blob: b28a6beefbc72e4fad43deab1f8899194507b2c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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 ];
  };
}