mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
adapted xpf to new libxml2Python
authored by: chaoflow, goibhniu svn path=/nixpkgs/branches/stdenv-updates/; revision=32597
This commit is contained in:
parent
09cfb46f58
commit
c0dcbb912c
@ -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";
|
||||||
|
@ -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 { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user