postgresql: 9.3.6 -> 9.3.7

This commit is contained in:
William A. Kennington III 2015-05-23 19:34:28 -07:00
parent 7174391e5b
commit 5486c08dc2
2 changed files with 9 additions and 41 deletions

View File

@ -1,44 +1,11 @@
{ stdenv, fetchurl, zlib, readline, libossp_uuid, openssl}: { callPackage, fetchurl, ... } @ args:
with stdenv.lib; callPackage ./generic.nix (args // rec {
psqlSchema = "9.3";
let version = "9.3.6"; in version = "${psqlSchema}.7";
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 = "056ass7nnfyv7blv02anv795kgpz77gipdpxggd835cdwrhwns13"; sha256 = "09iqr9sldiq7jz1rdnywp2wv36lxy5m8kch3vpchd1s4fz75c7aw";
}; };
})
buildInputs = [ zlib readline openssl ]
++ optionals (!stdenv.isDarwin) [ libossp_uuid ];
enableParallelBuilding = true;
makeFlags = [ "world" ];
configureFlags = [ "--with-openssl" ]
++ optional (!stdenv.isDarwin) "--with-ossp-uuid";
patches = [ ./disable-resolve_symlinks.patch ./less-is-more.patch ];
installTargets = [ "install-world" ];
LC_ALL = "C";
passthru = {
inherit readline;
psqlSchema = "9.3";
};
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

@ -52,7 +52,6 @@ stdenv.mkDerivation rec {
(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 "rpath" null) (mkEnable true "rpath" null)
(mkEnable true "spinlocks" null) (mkEnable true "spinlocks" null)
(mkEnable false "debug" null) (mkEnable false "debug" null)
@ -83,6 +82,8 @@ stdenv.mkDerivation rec {
(mkWith (optZlib != null) "zlib" null) (mkWith (optZlib != null) "zlib" null)
] ++ optionals (versionAtLeast version "9.1.0") [ ] ++ optionals (versionAtLeast version "9.1.0") [
(mkWith false "selinux" null) (mkWith false "selinux" null)
] ++ optionals (versionOlder version "9.3.0") [
(mkEnable true "shared" null)
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;