nixpkgs/pkgs/development/libraries/libxml2/default.nix
Armijn Hemel d0b41fda3e libxml2 2.6.27, libxslt 1.1.20
svn path=/nixpkgs/trunk/; revision=8685
2007-05-14 01:18:36 +00:00

21 lines
555 B
Nix

{stdenv, fetchurl, zlib, python ? null, pythonSupport ? true}:
assert zlib != null;
assert pythonSupport -> python != null;
stdenv.mkDerivation {
name = "libxml2-2.6.27";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.27.tar.bz2;
sha256 = "0kp0ghf5wgpv3ny6p4pvv38lj46ykbzsnpqpmv9irg4nidl72wl5";
};
python = if pythonSupport then python else null;
inherit pythonSupport zlib;
buildInputs = if pythonSupport then [python] else [];
propagatedBuildInputs = [zlib];
}