2003-11-05 16:28:26 +00:00
|
|
|
{ localServer ? false
|
|
|
|
, httpServer ? false
|
|
|
|
, sslSupport ? false
|
|
|
|
, swigBindings ? false
|
|
|
|
, stdenv, fetchurl
|
|
|
|
, openssl ? null, httpd ? null, db4 ? null, expat, swig ? null
|
|
|
|
}:
|
|
|
|
|
2004-03-27 15:48:03 +00: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 16:28:26 +00:00
|
|
|
|
2004-03-29 17:23:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2004-06-01 14:52:57 +00:00
|
|
|
name = "subversion-1.0.4";
|
2003-11-03 16:18:00 +00:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2004-06-01 14:52:57 +00:00
|
|
|
url = http://subversion.tigris.org/tarballs/subversion-1.0.4.tar.bz2;
|
|
|
|
md5 = "313bd03f353683de7561eadf477f7612";
|
2003-11-05 16:28:26 +00:00
|
|
|
};
|
2003-11-03 16:18:00 +00:00
|
|
|
|
2003-11-06 15:24:19 +00: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 20:52:13 +00:00
|
|
|
python = if swigBindings then swig.python else null;
|
2004-02-02 21:40:18 +00:00
|
|
|
|
2004-03-29 17:23:01 +00:00
|
|
|
inherit expat localServer httpServer sslSupport swigBindings;
|
2003-11-03 16:18:00 +00:00
|
|
|
}
|