diff --git a/pkgs/development/python-modules/radios/default.nix b/pkgs/development/python-modules/radios/default.nix index 047946b25175..73630f59fd3a 100644 --- a/pkgs/development/python-modules/radios/default.nix +++ b/pkgs/development/python-modules/radios/default.nix @@ -8,26 +8,28 @@ , awesomeversion , backoff , cachetools +, mashumaro +, orjson , pycountry -, pydantic , yarl +, aresponses , pytest-asyncio , pytestCheckHook }: buildPythonPackage rec { pname = "radios"; - version = "0.1.1"; + version = "0.3.0"; + pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.11"; - format = "pyproject"; src = fetchFromGitHub { owner = "frenck"; repo = "python-radios"; rev = "v${version}"; - hash = "sha256-NCBch9MCWVD6ez0sIUph8rwOOzEMZtwC4atXJe53xZM="; + hash = "sha256-bzo+SA8kqc2GcxSV0TiIJyPVG+JshdsMoXSUhZYSphU="; }; postPatch = '' @@ -46,18 +48,22 @@ buildPythonPackage rec { awesomeversion backoff cachetools + mashumaro + orjson pycountry - pydantic yarl ]; nativeCheckInputs = [ + aresponses pytest-asyncio pytestCheckHook ]; pythonImportsCheck = [ "radios" ]; + __darwinAllowLocalNetworking = true; + meta = with lib; { description = "Asynchronous Python client for the Radio Browser API"; homepage = "https://github.com/frenck/python-radios";