2010-12-13 22:55:34 +01:00
|
|
|
{ stdenv, fetchurl, zlib, readline }:
|
|
|
|
|
2011-11-01 15:37:27 +01:00
|
|
|
let version = "9.0.5"; in
|
2010-12-13 22:55:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "postgresql-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
2011-11-01 15:37:27 +01:00
|
|
|
sha256 = "016mnwpcyla49qr3gglgpyjwnq1ljjbs3q0s8vlfmazfkj0fxn2n";
|
2010-12-13 22:55:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ zlib readline ];
|
|
|
|
|
|
|
|
LC_ALL = "C";
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
inherit readline;
|
|
|
|
psqlSchema = "9.0";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.postgresql.org/;
|
|
|
|
description = "A powerful, open source object-relational database system";
|
|
|
|
license = "bsd";
|
|
|
|
};
|
|
|
|
}
|