Unverified Commit 33614fda authored by networkException's avatar networkException
Browse files

re2: 2023-03-01 -> 2023-08-01

now requires abseil-cpp.
parent 86797b20
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -8,23 +8,26 @@
, haskellPackages
, mercurial
, python3Packages
, abseil-cpp
}:

stdenv.mkDerivation rec {
  pname = "re2";
  version = "2023-03-01";
  version = "2023-08-01";

  src = fetchFromGitHub {
    owner = "google";
    repo = "re2";
    rev = version;
    hash = "sha256-T+P7qT8x5dXkLZAL8VjvqPD345sa6ALX1f5rflE0dwc=";
    hash = "sha256-RexwqNR/Izf2Rzu1cvMw+le6C4EmL4CeWCOc+vXUBZQ=";
  };

  outputs = [ "out" "dev" ];

  nativeBuildInputs = [ cmake ninja ];

  propagatedBuildInputs = [ abseil-cpp ];

  postPatch = ''
    substituteInPlace re2Config.cmake.in \
      --replace "\''${PACKAGE_PREFIX_DIR}/" ""