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