pcre: update library to version 8.31

+2 -46
-38
pkgs/development/libraries/pcre/8.30.nix
··· 1 - { stdenv, fetchurl, unicodeSupport ? true, cplusplusSupport ? true }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "pcre-8.30"; 5 - 6 - src = fetchurl { 7 - url = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${name}.tar.bz2"; 8 - sha256 = "c1113fd7db934e97ad8b3917d432e5b642e9eb9afd127eb797804937c965f4ac"; 9 - }; 10 - 11 - # The compiler on Darwin crashes with an internal error while building the 12 - # C++ interface. Disabling optimizations on that platform remedies the 13 - # problem. In case we ever update the Darwin GCC version, the exception for 14 - # that platform ought to be removed. 15 - configureFlags = '' 16 - ${if unicodeSupport then "--enable-unicode-properties" else ""} 17 - ${if !cplusplusSupport then "--disable-cpp" else ""} 18 - '' + stdenv.lib.optionalString stdenv.isDarwin "CXXFLAGS=-O0"; 19 - 20 - doCheck = !stdenv.isCygwin; # XXX: test failure on Cygwin 21 - 22 - meta = { 23 - homepage = "http://www.pcre.org/"; 24 - description = "A library for Perl Compatible Regular Expressions"; 25 - license = "BSD-3"; 26 - 27 - longDescription = '' 28 - The PCRE library is a set of functions that implement regular 29 - expression pattern matching using the same syntax and semantics as 30 - Perl 5. PCRE has its own native API, as well as a set of wrapper 31 - functions that correspond to the POSIX regular expression API. The 32 - PCRE library is free, even for building proprietary software. 33 - ''; 34 - 35 - platforms = stdenv.lib.platforms.all; 36 - maintainers = [ stdenv.lib.maintainers.simons ]; 37 - }; 38 - }
+2 -2
pkgs/development/libraries/pcre/default.nix
··· 1 1 { stdenv, fetchurl, unicodeSupport ? true, cplusplusSupport ? true }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "pcre-8.21"; 4 + name = "pcre-8.31"; 5 5 6 6 src = fetchurl { 7 7 url = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${name}.tar.bz2"; 8 - sha256 = "1qwrqldbwszbmr4cw4f0xmcl889cmmjbf58l9vxn89zw26fm1f54"; 8 + sha256 = "5778a02535473c7ee7838ea598c19f451e63cf5eec0bf0307a688301c9078c3c"; 9 9 }; 10 10 11 11 # The compiler on Darwin crashes with an internal error while building the
-6
pkgs/top-level/all-packages.nix
··· 2394 2394 2395 2395 julia = callPackage ../development/compilers/julia { 2396 2396 llvm = llvm_3_1; 2397 - pcre = pcre_8_30; 2398 2397 liblapack = liblapack.override {shared = true;}; 2399 2398 fftw = fftw.override {pthreads = true;}; 2400 2399 fftwSinglePrec = fftwSinglePrec.override {pthreads = true;}; ··· 4559 4558 pangoxsl = callPackage ../development/libraries/pangoxsl { }; 4560 4559 4561 4560 pcre = callPackage ../development/libraries/pcre { 4562 - unicodeSupport = getConfig ["pcre" "unicode"] true; 4563 - cplusplusSupport = !stdenv ? isDietLibC; 4564 - }; 4565 - 4566 - pcre_8_30 = callPackage ../development/libraries/pcre/8.30.nix { 4567 4561 unicodeSupport = getConfig ["pcre" "unicode"] true; 4568 4562 cplusplusSupport = !stdenv ? isDietLibC; 4569 4563 };