python3.pkgs.pyopenuv: clean up build dependency constraints

This commit is contained in:
Theodore Ni 2023-08-22 15:26:23 -07:00
parent df6316088d
commit 8cfc523784
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -33,6 +33,17 @@ buildPythonPackage rec {
url = "https://github.com/bachya/pyopenuv/commit/af15736b0d82ef811c3f380f5da32007752644fe.patch";
hash = "sha256-5uQS3DoM91mhfyxLTNii3JBxwXIDK4/GwtadkVagjuw=";
})
# This patch removes references to setuptools and wheel that are no longer
# necessary and changes poetry to poetry-core, so that we don't need to add
# unnecessary nativeBuildInputs.
#
# https://github.com/bachya/pyopenuv/pull/244
#
(fetchpatch {
name = "clean-up-build-dependencies.patch";
url = "https://github.com/bachya/pyopenuv/commit/1663f697dd5528fb03af1400e5ffd3fba076c64c.patch";
hash = "sha256-RLRbHmaR2A8MNc96WHx0L8ccyygoBUaOulAuRJkFuUM=";
})
];
nativeBuildInputs = [
@ -44,6 +55,8 @@ buildPythonPackage rec {
backoff
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
aresponses
pytest-asyncio