aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/pcre/.yandex_meta/override.nix
blob: 81635c459f01f2fabd9a5f22eb0b12add3b8e3df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgs: attrs: with pkgs; rec {
  version = "8.45";

  src = fetchurl {
    url = "https://downloads.sourceforge.net/project/pcre/pcre/${version}/pcre-${version}.tar.bz2";
    hash = "sha256-Ta5v3NK7C7bDe1+Xwzwr6VTadDmFNpzdrDVG4yGL/7g=";
  };


  buildInputs = [ zlib ];

  configureFlags = [
    "--enable-cpp"
    "--enable-unicode-properties"
    "--enable-pcre16"
    "--enable-pcre32"
    "--enable-jit"
  ];

  postConfigure = ''
    cp pcre_chartables.c.dist pcre_chartables.c
  '';
}