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