2009-10-14 15:38:16 +01:00
|
|
|
{ stdenv, fetchurl, zlib, ncurses, readline }:
|
|
|
|
|
2011-11-01 14:37:27 +00:00
|
|
|
let version = "8.3.16"; in
|
2009-10-14 15:38:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "postgresql-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
2011-11-01 14:37:27 +00:00
|
|
|
sha256 = "0i17da3jz44y2xikp99qs0dac9j84hghr8rg5n7hr86ippi90180";
|
2009-10-14 15:38:16 +01:00
|
|
|
};
|
|
|
|
|
2010-06-21 21:43:05 +01:00
|
|
|
buildInputs = [ zlib ncurses readline ];
|
2009-10-14 15:38:16 +01: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";
|
|
|
|
};
|
|
|
|
}
|