0c93c758bf
This is a critical update fixing several data corruption issues: http://www.postgresql.org/about/news/1492/
28 lines
583 B
Nix
28 lines
583 B
Nix
{ stdenv, fetchurl, zlib, readline }:
|
|
|
|
let version = "9.0.15"; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "postgresql-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
|
sha256 = "a45acd27d546e425911ecd371247066be5dafd96304e50e0708c84b918c28f9d";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|