apr: Update to 1.5.0

This commit is contained in:
Eelco Dolstra 2013-12-10 12:55:55 +01:00
parent 9e329b9fd1
commit f329865aa2
1 changed files with 7 additions and 7 deletions

View File

@ -1,26 +1,26 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
let
inherit (stdenv.lib) optionals;
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "apr-1.4.8"; name = "apr-1.5.0";
src = fetchurl { src = fetchurl {
url = "mirror://apache/apr/${name}.tar.bz2"; url = "mirror://apache/apr/${name}.tar.bz2";
md5 = "ce2ab01a0c3cdb71cf0a6326b8654f41"; md5 = "cc93bd2c12d0d037f68e21cc6385dc31";
}; };
patches = optionals stdenv.isDarwin [ ./darwin_fix_configure.patch ]; patches = stdenv.lib.optionals stdenv.isDarwin [ ./darwin_fix_configure.patch ];
configureFlags = configureFlags =
# Including the Windows headers breaks unistd.h. # Including the Windows headers breaks unistd.h.
# Based on ftp://sourceware.org/pub/cygwin/release/libapr1/libapr1-1.3.8-2-src.tar.bz2 # Based on ftp://sourceware.org/pub/cygwin/release/libapr1/libapr1-1.3.8-2-src.tar.bz2
stdenv.lib.optional (stdenv.system == "i686-cygwin") "ac_cv_header_windows_h=no"; stdenv.lib.optional (stdenv.system == "i686-cygwin") "ac_cv_header_windows_h=no";
enableParallelBuilding = true;
meta = { meta = {
homepage = http://apr.apache.org/; homepage = http://apr.apache.org/;
description = "The Apache Portable Runtime library"; description = "The Apache Portable Runtime library";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.eelco ];
}; };
} }