diff --git a/pkgs/development/python-modules/pyopenuv/default.nix b/pkgs/development/python-modules/pyopenuv/default.nix index d41ba8de1c00..05b8793c73fb 100644 --- a/pkgs/development/python-modules/pyopenuv/default.nix +++ b/pkgs/development/python-modules/pyopenuv/default.nix @@ -1,10 +1,10 @@ { lib , aiohttp , aresponses -, asynctest , backoff , buildPythonPackage , fetchFromGitHub +, fetchpatch , poetry-core , pytest-aiohttp , pytest-asyncio @@ -26,6 +26,15 @@ buildPythonPackage rec { hash = "sha256-EiTTck6hmOGSQ7LyZsbhnH1zgkH8GccejLdJaH2m0F8="; }; + patches = [ + # Remove asynctest, https://github.com/bachya/pyopenuv/pull/108 + (fetchpatch { + name = "remove-asynctest.patch"; + url = "https://github.com/bachya/pyopenuv/commit/af15736b0d82ef811c3f380f5da32007752644fe.patch"; + hash = "sha256-5uQS3DoM91mhfyxLTNii3JBxwXIDK4/GwtadkVagjuw="; + }) + ]; + nativeBuildInputs = [ poetry-core ]; @@ -37,7 +46,6 @@ buildPythonPackage rec { nativeCheckInputs = [ aresponses - asynctest pytest-asyncio pytest-aiohttp pytestCheckHook @@ -55,6 +63,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python API to retrieve data from openuv.io"; homepage = "https://github.com/bachya/pyopenuv"; + changelog = "https://github.com/bachya/pyopenuv/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };