python312Packages.aioelectricitymaps: refactor

This commit is contained in:
Fabian Affolter 2024-11-14 09:51:46 +01:00
parent 4dde341229
commit 28a76a17bf

View File

@ -8,6 +8,7 @@
orjson,
poetry-core,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
pythonOlder,
syrupy,
@ -29,12 +30,12 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace-warn "--cov" ""
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
aiohttp
mashumaro
orjson
@ -43,6 +44,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
aioresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
syrupy
];