nixpkgs/pkgs/applications/version-management/subversion/default.nix
Eelco Dolstra 8570f75704 * Subversion 1.0.6.
svn path=/nixpkgs/trunk/; revision=1179
2004-07-26 09:36:15 +00:00

32 lines
962 B
Nix

{ localServer ? false
, httpServer ? false
, sslSupport ? false
, swigBindings ? false
, stdenv, fetchurl
, openssl ? null, httpd ? null, db4 ? null, expat, swig ? null
}:
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;
stdenv.mkDerivation {
name = "subversion-1.0.6";
builder = ./builder.sh;
src = fetchurl {
url = http://subversion.tigris.org/tarballs/subversion-1.0.6.tar.bz2;
md5 = "bb05fe041fef7491b3555904d97f5e1c";
};
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;
python = if swigBindings then swig.python else null;
inherit expat localServer httpServer sslSupport swigBindings;
}