2015-10-10 01:08:25 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2016-05-24 15:15:43 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pcre2-10.21";
|
2015-10-10 01:08:25 +01:00
|
|
|
src = fetchurl {
|
2016-05-24 15:15:43 +01:00
|
|
|
url = "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${name}.tar.bz2";
|
|
|
|
sha256 = "1q6lrj9b08l1q39vxipb0fi88x6ybvkr6439h8bjb9r8jd81fsn6";
|
2015-10-10 01:08:25 +01:00
|
|
|
};
|
|
|
|
|
2015-10-10 19:56:24 +01:00
|
|
|
configureFlags = [
|
2015-10-10 19:56:34 +01:00
|
|
|
"--enable-pcre2-16"
|
|
|
|
"--enable-pcre2-32"
|
2015-10-10 19:56:24 +01:00
|
|
|
"--enable-jit"
|
|
|
|
];
|
|
|
|
|
2015-10-10 01:08:25 +01:00
|
|
|
meta = {
|
2016-05-24 15:15:43 +01:00
|
|
|
description = "Perl Compatible Regular Expressions";
|
2015-10-10 01:08:25 +01:00
|
|
|
homepage = "http://www.pcre.org/";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ttuegel ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|