1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
39 lines
803 B
Nix
39 lines
803 B
Nix
{
|
|
lib,
|
|
aiofiles,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "acunetix";
|
|
version = "0.0.7";
|
|
format = "setuptools";
|
|
|
|
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 = {
|
|
description = "Acunetix Web Vulnerability Scanner SDK for Python";
|
|
homepage = "https://github.com/hikariatama/acunetix";
|
|
license = lib.licenses.agpl3Only;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|