2009-10-14 15:38:16 +01:00
|
|
|
{ stdenv, fetchurl, zlib, ncurses, readline }:
|
|
|
|
|
2012-06-05 16:24:16 +01:00
|
|
|
let version = "8.4.12"; 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";
|
2012-06-05 16:24:16 +01:00
|
|
|
sha256 = "0xqgzi6qrx4g7g8f38hp02qj8grrfnvc33kyijc2hf0qxhqb7dwr";
|
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";
|
|
|
|
};
|
|
|
|
}
|