2009-10-14 16:38:16 +02:00
|
|
|
{ stdenv, fetchurl, zlib, ncurses, readline }:
|
|
|
|
|
2012-02-28 19:40:27 +01:00
|
|
|
let version = "8.3.18"; 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-28 19:40:27 +01:00
|
|
|
sha256 = "0iip7irc8sqz75w6p52fpdfqs4jlqchpzvp0w5s95w2ri5591d2x";
|
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
|
|
|
|
|
|
|
LC_ALL = "en_US";
|
|
|
|
|
|
|
|
passthru = { inherit readline; };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.postgresql.org/;
|
|
|
|
description = "A powerful, open source object-relational database system";
|
|
|
|
license = "bsd";
|
|
|
|
};
|
|
|
|
}
|