postgresql: 9.0.19 -> 9.0.20

This commit is contained in:
William A. Kennington III 2015-05-23 19:02:22 -07:00
parent 1bb67e514b
commit 8c99f2e3d6
2 changed files with 34 additions and 58 deletions

View File

@ -1,34 +1,10 @@
{ stdenv, fetchurl, zlib, readline, openssl }:
{ callPackage, fetchurl, ... } @ args:
let version = "9.0.19"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
callPackage ./generic.nix (args // rec {
version = "9.0.20";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
sha256 = "1h45jdbzdcvprdsi9gija81s3ny46h3faf9f007gza4vm6y15bak";
url = "mirror://postgresql/source/v${version}/postgresql-${version}.tar.bz2";
sha256 = "0vxa90d1ghv6vg4c6kxvm2skypahvlq4sd968q7l9ff3dl145z02";
};
buildInputs = [ zlib readline openssl ];
LC_ALL = "C";
configureFlags = [ "--with-openssl" ];
patches = [ ./less-is-more.patch ];
passthru = {
inherit readline;
psqlSchema = "9.0";
};
meta = with stdenv.lib; {
homepage = http://www.postgresql.org/;
description = "A powerful, open source object-relational database system";
license = licenses.postgresql;
maintainers = with maintaiers; [ ocharles ];
platforms = platforms.unix;
hydraPlatforms = platforms.linux;
};
}
})

View File

@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
(mkWith true "segsize" (toString segmentSizeGB))
(mkWith true "wal-blocksize" (toString walBlockSizeKB))
(mkWith true "wal-segsize" (toString walSegmentSizeMB))
(mkEnable true "autodepend" null)
(mkEnable true "depend" null)
(mkEnable false "cassert" null)
(mkEnable true "thread-safety" null)
(mkWith false "tcl" null) # Maybe enable some day