2010-12-13 22:55:34 +01:00
|
|
|
{ stdenv, fetchurl, zlib, readline }:
|
|
|
|
|
2014-02-22 12:37:10 +01:00
|
|
|
let version = "9.0.16"; in
|
2010-12-13 22:55:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "postgresql-${version}";
|
2012-08-21 14:41:11 +02:00
|
|
|
|
2010-12-13 22:55:34 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
2014-02-22 12:37:10 +01:00
|
|
|
sha256 = "900f6ab00fc36c94b17430e7cb22499708025da1e34d7a70aefaf9a875f0fabf";
|
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";
|
2014-02-13 19:49:30 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.ocharles ];
|
|
|
|
hydraPlatforms = stdenv.lib.platforms.linux;
|
2010-12-13 22:55:34 +01:00
|
|
|
};
|
|
|
|
}
|