postgresql: 9.1.15 -> 9.1.16

This commit is contained in:
William A. Kennington III 2015-05-23 19:03:27 -07:00
parent 8c99f2e3d6
commit be94d4bc25
2 changed files with 8 additions and 38 deletions

View file

@ -1,42 +1,10 @@
{ stdenv, fetchurl, zlib, readline, openssl }:
{ callPackage, fetchurl, ... } @ args:
let version = "9.1.15"; in
stdenv.mkDerivation rec {
name = "postgresql-${version}";
callPackage ./generic.nix (args // rec {
version = "9.1.16";
src = fetchurl {
url = "mirror://postgresql/source/v${version}/${name}.tar.bz2";
sha256 = "0pyyw0cy91z9wkqf8qzkwsy8cyjps0s94c9czz6mzhyd2npxxmk7";
url = "mirror://postgresql/source/v${version}/postgresql-${version}.tar.bz2";
sha256 = "0mllj1r1648iwm0qj3cj9qxizhlyhqmz94iydnwhf48psvvy4r9b";
};
buildInputs = [ zlib readline openssl ];
enableParallelBuilding = true;
LC_ALL = "C";
configureFlags = [ "--with-openssl" ];
patches = [ ./less-is-more.patch ];
postInstall =
''
mkdir -p $out/share/man
cp -rvd doc/src/sgml/man1 $out/share/man
'';
passthru = {
inherit readline;
psqlSchema = "9.1";
};
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

@ -77,6 +77,8 @@ stdenv.mkDerivation rec {
(mkWith (optLibxml2 != null) "libxml" null)
(mkWith (optLibxslt != null) "libxslt" null)
(mkWith (optZlib != null) "zlib" null)
] ++ optionals (versionAtLeast version "9.1.0") [
(mkWith false "selinux" null)
];
meta = with stdenv.lib; {