From 443c2f37dcbbe7300d18e73a3c58cd5586dec571 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 12 Sep 2023 08:16:15 +0200 Subject: [PATCH] flatbuffers: 23.3.3 -> 23.5.26 --- pkgs/development/libraries/flatbuffers/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/flatbuffers/default.nix b/pkgs/development/libraries/flatbuffers/default.nix index 58bf002eb272..747a976f4c9e 100644 --- a/pkgs/development/libraries/flatbuffers/default.nix +++ b/pkgs/development/libraries/flatbuffers/default.nix @@ -7,22 +7,17 @@ stdenv.mkDerivation rec { pname = "flatbuffers"; - version = "23.3.3"; + version = "23.5.26"; src = fetchFromGitHub { owner = "google"; repo = "flatbuffers"; rev = "v${version}"; - sha256 = "sha256-h0lF7jf1cDVVyqhUCi7D0NoZ3b4X/vWXsFplND80lGs="; + hash = "sha256-e+dNPNbCHYDXUS/W+hMqf/37fhVgEGzId6rhP3cToTE="; }; nativeBuildInputs = [ cmake python3 ]; - postPatch = '' - # Fix default value of "test_data_path" to make tests work - substituteInPlace tests/test.cpp --replace '"tests/";' '"../tests/";' - ''; - cmakeFlags = [ "-DFLATBUFFERS_BUILD_TESTS=${if doCheck then "ON" else "OFF"}" "-DFLATBUFFERS_OSX_BUILD_UNIVERSAL=OFF"