1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
7 url = "https://ftp.pcre.org/pub/pcre/${pname}-${version}.tar.bz2";
8 sha256 = "0p3699msps07p40g9426lvxa3b41rg7k2fn7qxl2jm0kh4kkkvx9";
14 ] ++ lib.optional (!stdenv.hostPlatform.isRiscV) "--enable-jit";
16 outputs = [ "bin" "dev" "out" "doc" "man" "devdoc" ];
18 doCheck = false; # fails 1 out of 3 tests, looks like a bug
21 moveToOutput bin/pcre2-config "$dev"
25 description = "Perl Compatible Regular Expressions";
26 homepage = "http://www.pcre.org/";
27 license = licenses.bsd3;
28 maintainers = with maintainers; [ ttuegel ];
29 platforms = platforms.all;