mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
adding python package lxml to make scripts in inkscape work
svn path=/nixpkgs/trunk/; revision=17858
This commit is contained in:
parent
853261c5c5
commit
f808690b16
@ -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
|
||||
'';
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user