mercurial: add re2
Mercurial can make use of the RE2 regex engine where available to speed up evaluation of regexes.
This commit is contained in:
parent
eb3d65bf19
commit
53ddf53f2c
|
@ -5,7 +5,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
inherit (python3Packages) docutils python;
|
||||
inherit (python3Packages) docutils python fb-re2;
|
||||
|
||||
in python3Packages.buildPythonApplication rec {
|
||||
pname = "mercurial";
|
||||
|
@ -28,6 +28,7 @@ in python3Packages.buildPythonApplication rec {
|
|||
} else null;
|
||||
cargoRoot = if rustSupport then "rust" else null;
|
||||
|
||||
propagatedBuildInputs = [ fb-re2 ];
|
||||
nativeBuildInputs = [ makeWrapper gettext ]
|
||||
++ lib.optionals rustSupport (with rustPlatform; [
|
||||
cargoSetupHook
|
||||
|
|
Loading…
Reference in New Issue