mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
Merge pull request #325943 from jtojnar/wip-inkscape
python3.pkgs.inkex: Fix build
This commit is contained in:
commit
990ebdbb5a
@ -101,6 +101,15 @@ stdenv.mkDerivation rec {
|
||||
url = "https://gitlab.com/inkscape/inkscape/-/commit/694d8ae43d06efff21adebf377ce614d660b24cd.patch";
|
||||
hash = "sha256-9IXJzpZbNU5fnt7XKgqCzUDrwr08qxGwo8TqnL+xc6E=";
|
||||
})
|
||||
|
||||
# Improve distribute along path precision
|
||||
# https://gitlab.com/inkscape/extensions/-/issues/580
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.com/inkscape/extensions/-/commit/c576043c195cd044bdfc975e6367afb9b655eb14.patch";
|
||||
extraPrefix = "share/extensions/";
|
||||
stripLen = 1;
|
||||
hash = "sha256-D9HxBx8RNkD7hHuExJqdu3oqlrXX6IOUw9m9Gx6+Dr8=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
inkscape,
|
||||
fetchpatch,
|
||||
poetry-core,
|
||||
cssselect,
|
||||
lxml,
|
||||
@ -25,6 +26,17 @@ buildPythonPackage {
|
||||
|
||||
inherit (inkscape) src;
|
||||
|
||||
patches = [
|
||||
# Fix “distribute along path” test with Python 3.12.
|
||||
# https://gitlab.com/inkscape/extensions/-/issues/580
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.com/inkscape/extensions/-/commit/c576043c195cd044bdfc975e6367afb9b655eb14.patch";
|
||||
extraPrefix = "share/extensions/";
|
||||
stripLen = 1;
|
||||
hash = "sha256-D9HxBx8RNkD7hHuExJqdu3oqlrXX6IOUw9m9Gx6+Dr8=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user