Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 82 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283{ lib, buildPythonPackage, inkscape, fetchFromGitLab, poetry-core, cssselect, lxml, numpy, packaging, pillow, pygobject3, pyparsing, pyserial, scour, gobject-introspection, pytestCheckHook, gtk3}:
buildPythonPackage { pname = "inkex"; inherit (inkscape) version;
format = "pyproject";
inherit (inkscape) src;
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ cssselect lxml numpy pygobject3 pyserial ];
pythonImportsCheck = [ "inkex" ];
nativeCheckInputs = [ gobject-introspection pytestCheckHook ];
checkInputs = [ gtk3 packaging pillow pyparsing scour ];
disabledTests = [ "test_extract_multiple" "test_lookup_and" ];
disabledTestPaths = [ # Fatal Python error: Segmentation fault "tests/test_inkex_gui.py" "tests/test_inkex_gui_listview.py" "tests/test_inkex_gui_window.py" # Failed to find pixmap 'image-missing' in /build/source/tests/data/ "tests/test_inkex_gui_pixmaps.py" ];
postPatch = '' cd share/extensions
substituteInPlace pyproject.toml \ --replace 'scour = "^0.37"' 'scour = ">=0.37"' '';
meta = { description = "Library for manipulating SVG documents which is the basis for Inkscape extensions"; homepage = "https://gitlab.com/inkscape/extensions"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ dotlambda ]; };}