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

38 lines
886 B
Nix
Raw Normal View History

2012-12-19 13:16:10 +01:00
{ stdenv, fetchurl, zlib, readline }:
let version = "9.2.9"; 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";
sha256 = "94ec6d330f125b6fc725741293073b07d7d20cc3e7b8ed127bc3d14ad2370197";
2012-12-19 13:16:10 +01:00
};
buildInputs = [ zlib readline ];
enableParallelBuilding = true;
makeFlags = [ "world" ];
patches = [ ./disable-resolve_symlinks.patch ./less-is-more.patch ];
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";
2014-09-04 20:38:12 +02:00
license = stdenv.lib.licenses.postgresql;
maintainers = [ stdenv.lib.maintainers.ocharles ];
hydraPlatforms = stdenv.lib.platforms.linux;
2012-12-19 13:16:10 +01:00
};
}