17 gobject-introspection,
24 inherit (inkscape) version;
28 inherit (inkscape) src;
31 # Fix “distribute along path” test with Python 3.12.
32 # https://gitlab.com/inkscape/extensions/-/issues/580
34 url = "https://gitlab.com/inkscape/extensions/-/commit/c576043c195cd044bdfc975e6367afb9b655eb14.patch";
35 extraPrefix = "share/extensions/";
37 hash = "sha256-D9HxBx8RNkD7hHuExJqdu3oqlrXX6IOUw9m9Gx6+Dr8=";
41 nativeBuildInputs = [ poetry-core ];
43 propagatedBuildInputs = [
51 pythonImportsCheck = [ "inkex" ];
68 "test_extract_multiple"
71 ++ lib.optional stdenv.hostPlatform.isDarwin [
73 "test_path_number_nodes"
74 "test_plotter" # Hangs
78 # Fatal Python error: Segmentation fault
79 "tests/test_inkex_gui.py"
80 "tests/test_inkex_gui_listview.py"
81 "tests/test_inkex_gui_window.py"
82 # Failed to find pixmap 'image-missing' in /build/source/tests/data/
83 "tests/test_inkex_gui_pixmaps.py"
89 substituteInPlace pyproject.toml \
90 --replace-fail 'scour = "^0.37"' 'scour = ">=0.37"' \
91 --replace-fail 'lxml = "^4.5.0"' 'lxml = "^4.5.0 || ^5.0.0"'
95 description = "Library for manipulating SVG documents which is the basis for Inkscape extensions";
96 homepage = "https://gitlab.com/inkscape/extensions";
97 license = lib.licenses.gpl2Plus;
98 maintainers = with lib.maintainers; [ dotlambda ];