adapted xpf to new libxml2Python

authored by: chaoflow, goibhniu

svn path=/nixpkgs/branches/stdenv-updates/; revision=32597
This commit is contained in:
Florian Friesdorf 2012-02-26 17:23:54 +00:00
parent 09cfb46f58
commit c0dcbb912c
2 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,4 @@
{stdenv, fetchurl, python, libxml2}: { stdenv, fetchurl, python, libxml2Python }:
assert libxml2.pythonSupport == true;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "xpf-0.2"; name = "xpf-0.2";
@ -10,7 +8,11 @@ stdenv.mkDerivation {
md5 = "d92658828139e1495e052d0cfe25d312"; md5 = "d92658828139e1495e052d0cfe25d312";
}; };
buildInputs = [python libxml2]; buildInputs = [ python libxml2Python ];
preConfigure = ''
sed -i configure -e 's:test -e .*/libxml2.py":python -c "import libxml2":'
'';
meta = { meta = {
description = "XML Pipes and Filters - command line tools for manipulating and querying XML data"; description = "XML Pipes and Filters - command line tools for manipulating and querying XML data";

View File

@ -1629,9 +1629,7 @@ let
xorriso = callPackage ../tools/cd-dvd/xorriso { }; xorriso = callPackage ../tools/cd-dvd/xorriso { };
xpf = callPackage ../tools/text/xml/xpf { xpf = callPackage ../tools/text/xml/xpf { };
libxml2 = libxml2Python;
};
xsel = callPackage ../tools/misc/xsel { }; xsel = callPackage ../tools/misc/xsel { };