at 23.05-pre 904 B view raw
1{ buildPythonPackage 2, inkscape 3, cssselect 4, lxml 5, numpy 6, pygobject3 7, python 8}: 9 10buildPythonPackage { 11 pname = "inkex"; 12 inherit (inkscape) version; 13 14 format = "other"; 15 16 propagatedBuildInputs = [ 17 cssselect 18 lxml 19 numpy 20 pygobject3 21 ]; 22 23 # We just copy the files. 24 dontUnpack = true; 25 dontBuild = true; 26 27 # No tests installed. 28 doCheck = false; 29 30 installPhase = '' 31 runHook preInstall 32 33 mkdir -p "$out/${python.sitePackages}" 34 cp -r "${inkscape}/share/inkscape/extensions/inkex" "$out/${python.sitePackages}" 35 36 runHook postInstall 37 ''; 38 39 meta = inkscape.meta // { 40 description = "Inkscape Extensions Library"; 41 longDescription = '' 42 This module provides support for inkscape extensions, it includes support for opening svg files and processing them. 43 44 Standalone, it is especially useful for running tests for Inkscape extensions. 45 ''; 46 }; 47}