e42507d182
gazillion different servers. Resurrected some 25 missing files. svn path=/nixpkgs/trunk/; revision=2237
23 lines
575 B
Nix
23 lines
575 B
Nix
{stdenv, fetchurl, zlib, ncurses, readline, jdbcSupport ? true, ant ? null}:
|
|
|
|
assert zlib != null;
|
|
assert ncurses != null;
|
|
assert readline != null;
|
|
assert jdbcSupport -> ant != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "postgresql-7.4.5";
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/postgresql-7.4.5.tar.bz2;
|
|
md5 = "97e750c8e69c208b75b6efedc5a36efb";
|
|
};
|
|
|
|
inherit readline jdbcSupport;
|
|
ant = if jdbcSupport then ant else null;
|
|
|
|
buildInputs =
|
|
[zlib ncurses readline (if jdbcSupport then [ant] else [])];
|
|
}
|