2004-08-19 16:28:48 +01:00
|
|
|
{stdenv, fetchurl, zlib, python ? null, pythonSupport ? true}:
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2004-03-29 11:25:25 +01:00
|
|
|
assert zlib != null;
|
2004-08-19 16:28:48 +01:00
|
|
|
assert pythonSupport -> python != null;
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2004-03-29 18:23:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2005-02-15 16:22:20 +00:00
|
|
|
name = "libxml2-2.6.17";
|
2004-08-19 16:28:48 +01:00
|
|
|
builder = ./builder.sh;
|
|
|
|
|
2003-11-06 15:24:19 +00:00
|
|
|
src = fetchurl {
|
2005-02-15 16:22:20 +00:00
|
|
|
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/libxml2-2.6.17.tar.gz;
|
|
|
|
md5 = "a678d37e68d98788ef51b6f913cdc868";
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
2004-08-19 16:28:48 +01:00
|
|
|
|
|
|
|
python = if pythonSupport then python else null;
|
|
|
|
inherit pythonSupport;
|
|
|
|
|
|
|
|
buildInputs = if pythonSupport then [python] else [];
|
2004-03-30 18:42:45 +01:00
|
|
|
propagatedBuildInputs = [zlib];
|
2003-11-06 15:24:19 +00:00
|
|
|
}
|