nixpkgs/pkgs/development/libraries/pcre2/default.nix

24 lines
591 B
Nix
Raw Normal View History

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