2009-10-14 15:38:16 +01:00
|
|
|
{ stdenv, fetchurl, zlib, ncurses, readline }:
|
|
|
|
|
2014-01-03 10:54:52 +00:00
|
|
|
let version = "8.4.19"; in
|
2009-10-14 15:38:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "postgresql-${version}";
|
2012-08-21 13:41:11 +01:00
|
|
|
|
2009-10-14 15:38:16 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
2014-01-03 10:54:52 +00:00
|
|
|
sha256 = "f744d04a5d9feeea516fa57fea92be5568527bab03a84cf660a06ce90f90dcea";
|
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
|
|
|
|
2010-02-11 16:18:14 +00:00
|
|
|
LC_ALL = "C";
|
2009-10-14 15:38:16 +01:00
|
|
|
|
|
|
|
passthru = { inherit readline; };
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.postgresql.org/;
|
|
|
|
description = "A powerful, open source object-relational database system";
|
|
|
|
license = "bsd";
|
|
|
|
};
|
|
|
|
}
|