2009-10-14 16:38:16 +02:00
|
|
|
{ stdenv, fetchurl, zlib, ncurses, readline }:
|
|
|
|
|
2012-12-11 14:07:04 +01:00
|
|
|
let version = "8.3.22"; in
|
2009-10-14 16:38:16 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "postgresql-${version}";
|
2012-08-21 14:41:11 +02:00
|
|
|
|
2009-10-14 16:38:16 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
2012-12-11 14:07:04 +01:00
|
|
|
sha256 = "1iphzr8mpfz050f95vhcji4k22mih3wl65z4559y4hh4kiqg7f0p";
|
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";
|
|
|
|
};
|
|
|
|
}
|