Unverified Commit 59e4568b authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

rgx: 0.9.0 -> 0.10.1, enable PCRE2 engine (#507358)

parents 785a055f 5de195f1
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -2,20 +2,25 @@
  lib,
  fetchFromGitHub,
  rustPlatform,
  pcre2,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "rgx";
  version = "0.9.0";
  version = "0.10.1";

  src = fetchFromGitHub {
    owner = "brevity1swos";
    repo = "rgx";
    tag = "v${finalAttrs.version}";
    hash = "sha256-04bnNHpIRMyqvRmXDjzGpeEHgwVDSoBtyunlt03nB5Q=";
    hash = "sha256-H566bgnf4bNPXS7rPtOFTlqmkwoXKbB1fBmFDZQUjac=";
  };

  cargoHash = "sha256-v7dO2TSCKb+E/jLYPw8Q499qFXmSnbv3/WoS+dZhyBM=";
  cargoHash = "sha256-hTR4eZKUOxvib5lAV/l76GZQPQ6s+Hgl3DT2kaGlaGg=";

  buildInputs = [ pcre2 ];

  buildFeatures = [ "pcre2-engine" ];

  meta = {
    homepage = "https://github.com/brevity1swos/rgx";