4515ba0e48
CVE-2013-0255
28 lines
571 B
Nix
28 lines
571 B
Nix
{ stdenv, fetchurl, zlib, readline }:
|
|
|
|
let version = "9.0.12"; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "postgresql-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
|
sha256 = "090m5cxw7jv9q2jgwbs3qm57z6ldf0mcavc0wsmqk1ywrdrniw40";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|