Unverified Commit 5de195f1 authored by Pascal Dietrich's avatar Pascal Dietrich
Browse files

rgx: enable PCRE2 engine

parent db29e696
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  fetchFromGitHub,
  rustPlatform,
  pcre2,
}:

rustPlatform.buildRustPackage (finalAttrs: {
@@ -17,6 +18,10 @@ rustPlatform.buildRustPackage (finalAttrs: {

  cargoHash = "sha256-hTR4eZKUOxvib5lAV/l76GZQPQ6s+Hgl3DT2kaGlaGg=";

  buildInputs = [ pcre2 ];

  buildFeatures = [ "pcre2-engine" ];

  meta = {
    homepage = "https://github.com/brevity1swos/rgx";
    description = "Terminal regex tester with real-time matching and multi-engine support";