postgresql: 9.0.19 -> 9.0.20
This commit is contained in:
parent
1bb67e514b
commit
8c99f2e3d6
@ -1,34 +1,10 @@
|
|||||||
{ stdenv, fetchurl, zlib, readline, openssl }:
|
{ callPackage, fetchurl, ... } @ args:
|
||||||
|
|
||||||
let version = "9.0.19"; in
|
callPackage ./generic.nix (args // rec {
|
||||||
|
version = "9.0.20";
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "postgresql-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
|
url = "mirror://postgresql/source/v${version}/postgresql-${version}.tar.bz2";
|
||||||
sha256 = "1h45jdbzdcvprdsi9gija81s3ny46h3faf9f007gza4vm6y15bak";
|
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;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
@ -43,34 +43,34 @@ stdenv.mkDerivation rec {
|
|||||||
#LC_ALL = "C";
|
#LC_ALL = "C";
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
(mkOther "sysconfdir" "/etc")
|
(mkOther "sysconfdir" "/etc")
|
||||||
(mkOther "localstatedir" "/var")
|
(mkOther "localstatedir" "/var")
|
||||||
(mkEnable true "integer-datetimes" null)
|
(mkEnable true "integer-datetimes" null)
|
||||||
(mkEnable true "nls" null)
|
(mkEnable true "nls" null)
|
||||||
(mkWith true "pgport" "5432")
|
(mkWith true "pgport" "5432")
|
||||||
(mkEnable true "shared" null)
|
(mkEnable true "shared" null)
|
||||||
(mkEnable true "rpath" null)
|
(mkEnable true "rpath" null)
|
||||||
(mkEnable true "spinlocks" null)
|
(mkEnable true "spinlocks" null)
|
||||||
(mkEnable false "debug" null)
|
(mkEnable false "debug" null)
|
||||||
(mkEnable false "profiling" null)
|
(mkEnable false "profiling" null)
|
||||||
(mkEnable false "coverage" null)
|
(mkEnable false "coverage" null)
|
||||||
(mkEnable false "dtrace" null)
|
(mkEnable false "dtrace" null)
|
||||||
(mkWith true "blocksize" (toString blockSizeKB))
|
(mkWith true "blocksize" (toString blockSizeKB))
|
||||||
(mkWith true "segsize" (toString segmentSizeGB))
|
(mkWith true "segsize" (toString segmentSizeGB))
|
||||||
(mkWith true "wal-blocksize" (toString walBlockSizeKB))
|
(mkWith true "wal-blocksize" (toString walBlockSizeKB))
|
||||||
(mkWith true "wal-segsize" (toString walSegmentSizeMB))
|
(mkWith true "wal-segsize" (toString walSegmentSizeMB))
|
||||||
(mkEnable true "autodepend" null)
|
(mkEnable true "depend" null)
|
||||||
(mkEnable false "cassert" null)
|
(mkEnable false "cassert" null)
|
||||||
(mkEnable true "thread-safety" null)
|
(mkEnable true "thread-safety" null)
|
||||||
(mkWith false "tcl" null) # Maybe enable some day
|
(mkWith false "tcl" null) # Maybe enable some day
|
||||||
(mkWith false "perl" null) # Maybe enable some day
|
(mkWith false "perl" null) # Maybe enable some day
|
||||||
(mkWith false "python" null) # Maybe enable some day
|
(mkWith false "python" null) # Maybe enable some day
|
||||||
(mkWith (optKerberos != null) "gssapi" null)
|
(mkWith (optKerberos != null) "gssapi" null)
|
||||||
(mkWith false "krb5" null)
|
(mkWith false "krb5" null)
|
||||||
(mkWith (optPam != null) "pam" null)
|
(mkWith (optPam != null) "pam" null)
|
||||||
(mkWith (optOpenldap != null) "ldap" null)
|
(mkWith (optOpenldap != null) "ldap" null)
|
||||||
(mkWith false "bonjour" null)
|
(mkWith false "bonjour" null)
|
||||||
(mkWith (optOpenssl != null) "openssl" null)
|
(mkWith (optOpenssl != null) "openssl" null)
|
||||||
(mkWith (optReadline != null) "readline" null)
|
(mkWith (optReadline != null) "readline" null)
|
||||||
(mkWith false "libedit-preferred" null)
|
(mkWith false "libedit-preferred" null)
|
||||||
(mkWith (optLibossp_uuid != null) "ossp-uuid" null)
|
(mkWith (optLibossp_uuid != null) "ossp-uuid" null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user