5 , withPcre2 ? stdenv.hostPlatform.isLinux
15 src = fetchFromGitHub {
19 hash = "sha256-T27RBIrIXlhFBjzNgN6B49qgTHcek8MajXlbRC5DTMs=";
22 vendorHash = "sha256-wUOtxNjL/4MosACCzPTWKWrnMZhxINfN1ppkRsqDh9M=";
24 buildInputs = lib.optionals withPcre2 [
31 "-X=main.version=${version}"
32 "-X=main.buildSha=${src.rev}"
35 tags = lib.optionals withPcre2 [
40 version = testers.testVersion {
46 description = "Fast text scanner/regex extractor and realtime summarizer";
47 homepage = "https://rare.zdyn.net";
48 changelog = "https://github.com/zix99/rare/releases/tag/${src.rev}";
49 license = licenses.gpl3Plus;
50 maintainers = with maintainers; [ figsoda ];