python312Packages.radios: modernize

This commit is contained in:
Nick Cao 2024-10-26 09:15:40 -04:00
parent 6ad0478bbe
commit b64a7822e9
No known key found for this signature in database

View File

@ -15,6 +15,7 @@
yarl,
aresponses,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
}:
@ -34,17 +35,14 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}" \
--replace "--cov" ""
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
nativeBuildInputs = [
build-system = [
poetry-core
];
pythonRelaxDeps = [ "pycountry" ];
propagatedBuildInputs = [
dependencies = [
aiodns
aiohttp
awesomeversion
@ -59,6 +57,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
aresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];