Skip to content

Commit

Permalink
python312Packages.radios: modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Oct 26, 2024
1 parent 6ad0478 commit b64a782
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions pkgs/development/python-modules/radios/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
yarl,
aresponses,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
}:

Expand All @@ -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
Expand All @@ -59,6 +57,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
aresponses
pytest-asyncio
pytest-cov-stub
pytestCheckHook
];

Expand Down

0 comments on commit b64a782

Please sign in to comment.