2003-11-05 19:28:26 +03:00
|
|
|
{ localServer ? false
|
|
|
|
, httpServer ? false
|
|
|
|
, sslSupport ? false
|
|
|
|
, swigBindings ? false
|
|
|
|
, stdenv, fetchurl
|
|
|
|
, openssl ? null, httpd ? null, db4 ? null, expat, swig ? null
|
|
|
|
}:
|
|
|
|
|
2004-03-27 18:48:03 +03:00
|
|
|
assert expat != null;
|
|
|
|
assert localServer -> db4 != null;
|
|
|
|
assert httpServer -> httpd != null && httpd.expat == expat;
|
|
|
|
assert sslSupport -> openssl != null && (httpServer -> httpd.openssl == openssl);
|
|
|
|
assert swigBindings -> swig != null && swig.pythonSupport;
|
2003-11-05 19:28:26 +03:00
|
|
|
|
2004-03-29 21:23:01 +04:00
|
|
|
stdenv.mkDerivation {
|
2004-03-27 18:48:03 +03:00
|
|
|
name = "subversion-1.0.1";
|
2003-11-03 19:18:00 +03:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2004-03-27 18:48:03 +03:00
|
|
|
url = http://subversion.tigris.org/tarballs/subversion-1.0.1.tar.bz2;
|
|
|
|
md5 = "50ca608d260b76d99ed85909acb7ae92";
|
2003-11-05 19:28:26 +03:00
|
|
|
};
|
2003-11-03 19:18:00 +03:00
|
|
|
|
2003-11-06 18:24:19 +03:00
|
|
|
openssl = if sslSupport then openssl else null;
|
|
|
|
httpd = if httpServer then httpd else null;
|
|
|
|
db4 = if localServer then db4 else null;
|
|
|
|
swig = if swigBindings then swig else null;
|
2003-12-21 23:52:13 +03:00
|
|
|
python = if swigBindings then swig.python else null;
|
2004-02-03 00:40:18 +03:00
|
|
|
|
2004-03-29 21:23:01 +04:00
|
|
|
inherit expat localServer httpServer sslSupport swigBindings;
|
2003-11-03 19:18:00 +03:00
|
|
|
}
|