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}:
assert libxml2.pythonSupport == true;
{ stdenv, fetchurl, python, libxml2Python }:
stdenv.mkDerivation {
name = "xpf-0.2";
@ -10,7 +8,11 @@ stdenv.mkDerivation {
md5 = "d92658828139e1495e052d0cfe25d312";
};
buildInputs = [python libxml2];
buildInputs = [ python libxml2Python ];
preConfigure = ''
sed -i configure -e 's:test -e .*/libxml2.py":python -c "import libxml2":'
'';
meta = {
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 { };
xpf = callPackage ../tools/text/xml/xpf {
libxml2 = libxml2Python;
};
xpf = callPackage ../tools/text/xml/xpf { };
xsel = callPackage ../tools/misc/xsel { };