ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / inkex / default.nix
blob3f8bc99eeb6b73c4131c957803ab5475532f5126
1 { buildPythonPackage
2 , inkscape
3 , cssselect
4 , lxml
5 , numpy
6 , pygobject3
7 , python
8 }:
10 buildPythonPackage {
11   pname = "inkex";
12   inherit (inkscape) version;
14   format = "other";
16   propagatedBuildInputs = [
17     cssselect
18     lxml
19     numpy
20     pygobject3
21   ];
23   # We just copy the files.
24   dontUnpack = true;
25   dontBuild = true;
27   # No tests installed.
28   doCheck = false;
30   installPhase = ''
31     runHook preInstall
33     mkdir -p "$out/${python.sitePackages}"
34     cp -r "${inkscape}/share/inkscape/extensions/inkex" "$out/${python.sitePackages}"
36     runHook postInstall
37   '';
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.
44       Standalone, it is especially useful for running tests for Inkscape extensions.
45     '';
46   };