2004-08-19 17:28:48 +02:00
|
|
|
{stdenv, fetchurl, zlib, python ? null, pythonSupport ? true}:
|
2003-11-06 16:24:19 +01:00
|
|
|
|
2004-03-29 12:25:25 +02:00
|
|
|
assert zlib != null;
|
2004-08-19 17:28:48 +02:00
|
|
|
assert pythonSupport -> python != null;
|
2003-11-06 16:24:19 +01:00
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2004-03-30 19:42:45 +02:00
|
|
|
name = "libxml2-2.6.8";
|
2004-08-19 17:28:48 +02:00
|
|
|
builder = ./builder.sh;
|
|
|
|
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2004-03-30 19:42:45 +02:00
|
|
|
url = ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.8.tar.bz2;
|
|
|
|
md5 = "f8a0dc1983f67db388baa0f7c65d2b70";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2004-08-19 17:28:48 +02:00
|
|
|
|
|
|
|
python = if pythonSupport then python else null;
|
|
|
|
inherit pythonSupport;
|
|
|
|
|
|
|
|
buildInputs = if pythonSupport then [python] else [];
|
2004-03-30 19:42:45 +02:00
|
|
|
propagatedBuildInputs = [zlib];
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|