python312Packages.inkex: fix build (#365140)
This commit is contained in:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user