nixpkgs/pkgs/servers/sql/postgresql/9.2.x.nix

34 lines
685 B
Nix
Raw Normal View History

2012-12-19 13:16:10 +01:00
{ stdenv, fetchurl, zlib, readline }:
2013-10-17 13:29:49 +02:00
let version = "9.2.5"; in
2012-12-19 13:16:10 +01:00
stdenv.mkDerivation rec {
name = "postgresql-${version}";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
2013-10-17 13:29:49 +02:00
sha256 = "22c1edfd6a404bb15fba655863e94f09a10716ded1910a8bc98ee85f413007a4";
2012-12-19 13:16:10 +01:00
};
buildInputs = [ zlib readline ];
enableParallelBuilding = true;
makeFlags = [ "world" ];
installTargets = [ "install-world" ];
2012-12-19 13:16:10 +01:00
LC_ALL = "C";
2012-12-19 13:16:10 +01:00
passthru = {
inherit readline;
psqlSchema = "9.2";
2012-12-19 13:16:10 +01:00
};
meta = {
homepage = http://www.postgresql.org/;
description = "A powerful, open source object-relational database system";
license = "bsd";
};
}