Merge pull request #216545 from fabaff/pyopenuv-bump

python310Packages.pyopenuv: add patch to remove asynctest
This commit is contained in:
Fabian Affolter 2023-02-16 11:54:55 +01:00 committed by GitHub
commit f080d59315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];
};