Skip to content

Commit

Permalink
Merge #18585: pcre2: 10.21 -> 10.22
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Sep 16, 2016
2 parents 02bd127 + 652e348 commit 0fc5900
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
4 changes: 3 additions & 1 deletion pkgs/development/compilers/julia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ stdenv.mkDerivation rec {

buildInputs = [
arpack fftw fftwSinglePrec gmp libgit2 libunwind llvmShared mpfr
pcre2 openblas openlibm openspecfun readline suitesparse utf8proc
pcre2.dev openblas openlibm openspecfun readline suitesparse utf8proc
zlib
] ++
stdenv.lib.optionals stdenv.isDarwin [CoreServices ApplicationServices] ;
Expand Down Expand Up @@ -121,6 +121,8 @@ stdenv.mkDerivation rec {
"USE_SYSTEM_OPENSPECFUN=1"
"USE_SYSTEM_PATCHELF=1"
"USE_SYSTEM_PCRE=1"
"PCRE_CONFIG=${pcre2.dev}/bin/pcre2-config"
"PCRE_INCL_PATH=${pcre2.dev}/include/pcre2.h"
"USE_SYSTEM_READLINE=1"
"USE_SYSTEM_UTF8PROC=1"
"USE_SYSTEM_ZLIB=1"
Expand Down
4 changes: 3 additions & 1 deletion pkgs/development/compilers/julia/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ stdenv.mkDerivation rec {

buildInputs = [
arpack fftw fftwSinglePrec gmp libgit2 libunwind mpfr
pcre2 openblas openlibm openspecfun readline suitesparse utf8proc
pcre2.dev openblas openlibm openspecfun readline suitesparse utf8proc
zlib
];

Expand Down Expand Up @@ -131,6 +131,8 @@ stdenv.mkDerivation rec {
"USE_SYSTEM_OPENSPECFUN=1"
"USE_SYSTEM_PATCHELF=1"
"USE_SYSTEM_PCRE=1"
"PCRE_CONFIG=${pcre2.dev}/bin/pcre2-config"
"PCRE_INCL_PATH=${pcre2.dev}/include/pcre2.h"
"USE_SYSTEM_READLINE=1"
"USE_SYSTEM_UTF8PROC=1"
"USE_SYSTEM_ZLIB=1"
Expand Down
21 changes: 14 additions & 7 deletions pkgs/development/libraries/pcre2/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
name = "pcre2-10.21";
name = "pcre2-${version}";
version = "10.22";
src = fetchurl {
url = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${name}.tar.bz2";
sha256 = "1q6lrj9b08l1q39vxipb0fi88x6ybvkr6439h8bjb9r8jd81fsn6";
sha256 = "05pl338962d7syd1rbkg96916mq7d3amz1n2fjnm0v5cyhcldd5j";
};

configureFlags = [
Expand All @@ -13,11 +14,17 @@ stdenv.mkDerivation rec {
"--enable-jit"
];

meta = {
description = "Perl Compatible Regular Expressions";
outputs = [ "bin" "dev" "out" "doc" "man" "devdoc" ];

postFixup = ''
moveToOutput bin/pcre2-config "$dev"
'';

meta = with stdenv.lib; {
description = "Perl Compatible Regular Expressions";
homepage = "http://www.pcre.org/";
license = stdenv.lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.ttuegel ];
platforms = stdenv.lib.platforms.all;
license = licenses.bsd3;
maintainers = with maintainers; [ ttuegel ];
platforms = platforms.all;
};
}

0 comments on commit 0fc5900

Please sign in to comment.