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