2003-11-05 17:28:26 +01:00
|
|
|
{ localServer ? false
|
|
|
|
, httpServer ? false
|
|
|
|
, sslSupport ? false
|
|
|
|
, swigBindings ? false
|
|
|
|
, stdenv, fetchurl
|
|
|
|
, openssl ? null, httpd ? null, db4 ? null, expat, swig ? null
|
|
|
|
}:
|
|
|
|
|
|
|
|
assert !isNull expat;
|
|
|
|
assert localServer -> !isNull db4;
|
|
|
|
assert httpServer -> !isNull httpd && httpd.expat == expat;
|
|
|
|
assert sslSupport -> !isNull openssl && (httpServer -> httpd.openssl == openssl);
|
2003-12-21 21:52:13 +01:00
|
|
|
assert swigBindings -> !isNull swig && swig.pythonSupport;
|
2003-11-05 17:28:26 +01:00
|
|
|
|
2003-11-03 17:18:00 +01:00
|
|
|
derivation {
|
2003-12-22 19:30:38 +01:00
|
|
|
name = "subversion-0.35.1";
|
2003-11-03 17:18:00 +01:00
|
|
|
system = stdenv.system;
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
2003-12-22 19:30:38 +01:00
|
|
|
url = http://subversion.tigris.org/tarballs/subversion-0.35.1.tar.gz;
|
|
|
|
md5 = "c4473988acdd82e8b0e176eefc7d0fb7";
|
2003-11-05 17:28:26 +01:00
|
|
|
};
|
2003-11-03 17:18:00 +01:00
|
|
|
|
|
|
|
localServer = localServer;
|
|
|
|
httpServer = httpServer;
|
2003-11-05 13:17:48 +01:00
|
|
|
sslSupport = sslSupport;
|
|
|
|
swigBindings = swigBindings;
|
2003-11-03 17:18:00 +01:00
|
|
|
|
|
|
|
stdenv = stdenv;
|
2003-11-06 16:24:19 +01:00
|
|
|
openssl = if sslSupport then openssl else null;
|
|
|
|
httpd = if httpServer then httpd else null;
|
2003-11-05 13:17:48 +01:00
|
|
|
expat = expat;
|
2003-11-06 16:24:19 +01:00
|
|
|
db4 = if localServer then db4 else null;
|
|
|
|
swig = if swigBindings then swig else null;
|
2003-12-21 21:52:13 +01:00
|
|
|
python = if swigBindings then swig.python else null;
|
2003-11-03 17:18:00 +01:00
|
|
|
}
|