mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
Merge pull request #216545 from fabaff/pyopenuv-bump
python310Packages.pyopenuv: add patch to remove asynctest
This commit is contained in:
commit
f080d59315
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user