python312Packages.inkex: fix build using numpy 2 support patch

This commit is contained in:
Noa Aarts
2024-12-15 09:59:23 +01:00
parent fcb5dbc7a8
commit 497a93b67b
@@ -17,6 +17,7 @@
gobject-introspection,
pytestCheckHook,
gtk3,
fetchpatch2,
}:
buildPythonPackage {
@@ -27,6 +28,16 @@ buildPythonPackage {
inherit (inkscape) src;
patches = [
(fetchpatch2 {
name = "add-numpy-2-support.patch";
url = "https://gitlab.com/inkscape/extensions/-/commit/13ebc1e957573fea2c3360f676b0f1680fad395d.patch";
hash = "sha256-0n8L8dUaYYPBsmHlAxd60c5zqfK6NmXJfWZVBXPbiek=";
stripLen = 1;
extraPrefix = "share/extensions/";
})
];
nativeBuildInputs = [ poetry-core ];
pythonRelaxDeps = [ "numpy" ];