adding python package lxml to make scripts in inkscape work

svn path=/nixpkgs/trunk/; revision=17858
This commit is contained in:
Marc Weber 2009-10-18 04:43:40 +00:00
parent 853261c5c5
commit f808690b16
3 changed files with 20 additions and 2 deletions

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [
# Python is used at run-time to execute scripts, e.g., those from
# the "Effects" menu.
python pyxml
python pyxml lxml
];
buildInputs = [
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
for i in "$out/bin/"*
do
wrapProgram "$i" --prefix PYTHONPATH : \
"$(toPythonPath ${pyxml})" || \
"$(toPythonPath ${pyxml}):$(toPythonPath ${lxml})" || \
exit 2
done
'';

View File

@ -7162,6 +7162,7 @@ let
popt libxml2 libxslt libpng boehmgc fontconfig
libsigcxx lcms boost gettext cairomm
python pyxml makeWrapper;
inherit (pythonPackages) lxml;
inherit (gtkLibs) gtk glib glibmm gtkmm;
inherit (xlibs) libXft;
};

View File

@ -106,6 +106,23 @@ rec {
};
};
lxml = buildPythonPackage ( rec {
name = "lxml-2.2.2";
src = fetchurl {
url = http://pypi.python.org/packages/source/l/lxml/lxml-2.2.2.tar.gz;
sha256 = "0zjpsy67wcs69qhb06ficl3a5z229hmczpr8h84rkk05vaagj8qv";
};
buildInputs = [ pkgs.libxml2 pkgs.libxslt ];
meta = {
description = "Pythonic binding for the libxml2 and libxslt libraries";
homepage = http://codespeak.net/lxml/index.html;
license = "BSD";
};
});
nevow = buildPythonPackage (rec {
name = "nevow-0.9.33";