2009-10-14 16:38:16 +02:00
|
|
|
{ stdenv, fetchurl, zlib, ncurses, readline }:
|
|
|
|
|
2012-02-22 17:40:10 +01:00
|
|
|
let version = "8.4.10"; in
|
2009-10-14 16:38:16 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "postgresql-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
2012-02-22 17:40:10 +01:00
|
|
|
sha256 = "1yvwn2qpn2dpgfi496r1zl8b8xy52lb2pprg076pvc37sklq77vl";
|
2009-10-14 16:38:16 +02:00
|
|
|
};
|
|
|
|
|
2010-06-21 22:43:05 +02:00
|
|
|
buildInputs = [ zlib ncurses readline ];
|
2009-10-14 16:38:16 +02:00
|
|
|
|
2010-02-11 17:18:14 +01:00
|
|
|
LC_ALL = "C";
|
2009-10-14 16:38:16 +02:00
|
|
|
|
|
|
|
passthru = { inherit readline; };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.postgresql.org/;
|
|
|
|
description = "A powerful, open source object-relational database system";
|
|
|
|
license = "bsd";
|
|
|
|
};
|
|
|
|
}
|