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