python3Packages.pycapnp: backport patch for py314 compat

This commit is contained in:
Martin Weinelt 2026-05-18 02:34:37 +02:00
commit 9518afa893

View file

@ -3,6 +3,7 @@
buildPythonPackage,
replaceVars,
fetchFromGitHub,
fetchpatch,
setuptools,
wheel,
capnproto,
@ -35,6 +36,12 @@ buildPythonPackage rec {
# other than the builtin schemas (based on quick GitHub code search), so I don't
# think it's worthwhile.
(replaceVars ./include-paths.patch { inherit capnproto; })
(fetchpatch {
url = "https://github.com/capnproto/pycapnp/commit/aa90ab6844df4718f02e2ca4974858d5ab0b079c.patch";
name = "python314-compat.patch";
hash = "sha256-pscOdgPotLZsW0XWyRTJigIDl3uWOizA1W0gQGZHSyg=";
})
];
build-system = [