Skip to content

Commit

Permalink
python3.pkgs.inkex: Fix build
Browse files Browse the repository at this point in the history
This got broken by Python 3.12 bump.
  • Loading branch information
jtojnar committed Jul 9, 2024
1 parent 655a58a commit af21158
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkgs/development/python-modules/inkex/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildPythonPackage,
inkscape,
fetchpatch,
poetry-core,
cssselect,
lxml,
Expand All @@ -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 = [
Expand Down

0 comments on commit af21158

Please sign in to comment.