nixpkgs/pkgs/servers/sql/postgresql/9.0.x.nix
2013-10-17 13:29:49 +02:00

28 lines
583 B
Nix

{ stdenv, fetchurl, zlib, readline }:
let version = "9.0.14"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
sha256 = "de42b669cb891fc9b925406e71d1669ed5c856aae6d552ac6f14bf6dec0b79f1";
};
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";
};
}