python312Packages.wapiti-arsenit: init at 28.2

This commit is contained in:
Gaetan Lepage
2025-05-01 22:37:25 +02:00
parent 28e72fc733
commit 41644fbcd5
2 changed files with 62 additions and 0 deletions
@@ -0,0 +1,60 @@
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
poetry-core,
# dependencies
aiohttp,
attrs,
packaging,
structlog,
}:
buildPythonPackage rec {
pname = "wapiti-arsenic";
version = "28.2";
pyproject = true;
# Latest tag is not on GitHub
src = fetchPypi {
pname = "wapiti_arsenic";
inherit version;
hash = "sha256-QxjM0BsiHm/LPUuGLLPG6OUcr4YXBEpfJGTwKp1zTWQ=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "poetry>=0.12" "poetry-core" \
--replace-fail "poetry.masonry" "poetry.core.masonry"
'';
build-system = [
poetry-core
];
pythonRelaxDeps = [
"structlog"
];
dependencies = [
aiohttp
attrs
packaging
structlog
];
pythonImportsCheck = [ "wapiti_arsenic" ];
# No tests in the pypi archive
doCheck = false;
meta = {
description = "Asynchronous WebDriver client";
homepage = "https://github.com/wapiti-scanner/arsenic";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
+2
View File
@@ -18778,6 +18778,8 @@ self: super: with self; {
wandb = callPackage ../development/python-modules/wandb { };
wapiti-arsenic = callPackage ../development/python-modules/wapiti-arsenic { };
waqiasync = callPackage ../development/python-modules/waqiasync { };
warble = callPackage ../development/python-modules/warble { };