nixpkgs/pkgs/tools/text/xml/xpf/default.nix
Florian Friesdorf c0dcbb912c adapted xpf to new libxml2Python
authored by: chaoflow, goibhniu

svn path=/nixpkgs/branches/stdenv-updates/; revision=32597
2012-02-26 17:23:54 +00:00

21 lines
562 B
Nix

{ stdenv, fetchurl, python, libxml2Python }:
stdenv.mkDerivation {
name = "xpf-0.2";
src = fetchurl {
url = http://nixos.org/tarballs/xpf-0.2.tar.gz;
md5 = "d92658828139e1495e052d0cfe25d312";
};
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";
homepage = http://www.cs.uu.nl/wiki/bin/view/Martin/XmlPipesAndFilters;
};
}