diff --git a/pkgs/development/python-modules/pyrainbird/default.nix b/pkgs/development/python-modules/pyrainbird/default.nix index 570efd84d753..4adc6007e3db 100644 --- a/pkgs/development/python-modules/pyrainbird/default.nix +++ b/pkgs/development/python-modules/pyrainbird/default.nix @@ -1,5 +1,6 @@ { lib, + aiohttp, aiohttp-retry, buildPythonPackage, fetchFromGitHub, @@ -9,41 +10,43 @@ parameterized, pycryptodome, pytest-aiohttp, - pytest-asyncio_0, + pytest-asyncio, pytest-cov-stub, pytest-golden, pytest-mock, pytestCheckHook, python-dateutil, pyyaml, - requests, - requests-mock, - responses, setuptools, + syrupy, }: buildPythonPackage (finalAttrs: { pname = "pyrainbird"; - version = "6.1.2"; + version = "6.3.1"; pyproject = true; src = fetchFromGitHub { owner = "allenporter"; repo = "pyrainbird"; tag = finalAttrs.version; - hash = "sha256-ac/QzhdfvOpqKi8tjz2Udge2+AIg/yEQBmbYCu0i/0A="; + hash = "sha256-0hjHPoUJP/sRljn0VS3qXUa5OhbxzYl5u/086kksLiE="; }; build-system = [ setuptools ]; + pythonRelaxDeps = [ + "aiohttp" + ]; + dependencies = [ + aiohttp aiohttp-retry ical mashumaro pycryptodome python-dateutil pyyaml - requests ]; __darwinAllowLocalNetworking = true; @@ -51,14 +54,13 @@ buildPythonPackage (finalAttrs: { nativeCheckInputs = [ freezegun parameterized - (pytest-aiohttp.override { pytest-asyncio = pytest-asyncio_0; }) - pytest-asyncio_0 + pytest-aiohttp + pytest-asyncio pytest-cov-stub pytest-golden pytest-mock pytestCheckHook - requests-mock - responses + syrupy ]; pythonImportsCheck = [ "pyrainbird" ];