python312Packages.radios: modernize
This commit is contained in:
parent
6ad0478bbe
commit
b64a7822e9
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user