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

33 lines
771 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2015-10-10 00:08:25 +00:00
2016-05-24 14:15:43 +00:00
stdenv.mkDerivation rec {
pname = "pcre2";
version = "10.33";
2015-10-10 00:08:25 +00:00
src = fetchurl {
url = "https://ftp.pcre.org/pub/pcre/${pname}-${version}.tar.bz2";
sha256 = "1anqi7vpbfzag7imccrc6di1zl5rl63ab7rfpmajpw6d1kzlsl9m";
2015-10-10 00:08:25 +00:00
};
2015-10-10 18:56:24 +00:00
configureFlags = [
"--enable-pcre2-16"
"--enable-pcre2-32"
2015-10-10 18:56:24 +00:00
"--enable-jit"
];
2016-09-14 14:57:01 +00:00
outputs = [ "bin" "dev" "out" "doc" "man" "devdoc" ];
2018-08-10 00:30:08 +00:00
doCheck = false; # fails 1 out of 3 tests, looks like a bug
2016-09-14 14:57:01 +00:00
postFixup = ''
moveToOutput bin/pcre2-config "$dev"
'';
meta = with stdenv.lib; {
description = "Perl Compatible Regular Expressions";
homepage = http://www.pcre.org/;
2016-09-14 14:57:01 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ ttuegel ];
platforms = platforms.all;
2015-10-10 00:08:25 +00:00
};
}