blob: 044eb9aef3f6a5260064e4f8939d133e2a043a4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{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 = ftp://ftp2.nl.postgresql.org/mirror/postgresql/latest/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 [])];
}
|