edencommon: 2024.03.11.00 -> 2024.11.18.00

Diff: https://github.com/facebookexperimental/edencommon/compare/refs/tags/v2024.03.11.00...v2024.11.18.00
(cherry picked from commit 509f33b995)
This commit is contained in:
Emily 2024-11-13 16:07:49 +00:00 committed by github-actions[bot]
parent d28afe0015
commit 9884c5372e

View File

@ -10,6 +10,9 @@
glog,
gflags,
folly,
fb303,
wangle,
fbthrift,
gtest,
apple-sdk_11,
darwinMinVersionHook,
@ -17,13 +20,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "edencommon";
version = "2024.03.11.00";
version = "2024.11.18.00";
src = fetchFromGitHub {
owner = "facebookexperimental";
repo = "edencommon";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-1z4QicS98juv4bUEbHBkCjVJHEhnoJyLYp4zMHmDbMg=";
hash = "sha256-pVPkH80vowdpwWv/h6ovEk335OeI6/0k0cAFhhFqSDM=";
};
patches = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
@ -41,6 +44,9 @@ stdenv.mkDerivation (finalAttrs: {
glog
gflags
folly
fb303
wangle
fbthrift
gtest
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
@ -48,6 +54,16 @@ stdenv.mkDerivation (finalAttrs: {
(darwinMinVersionHook "11.0")
];
postPatch = ''
# The CMake build requires the FBThrift Python support even though
# its not used, presumably because of the relevant code having
# been moved in from another repository.
substituteInPlace CMakeLists.txt \
--replace-fail \
'find_package(FBThrift CONFIG REQUIRED COMPONENTS cpp2 py)' \
'find_package(FBThrift CONFIG REQUIRED COMPONENTS cpp2)'
'';
meta = {
description = "Shared library for Meta's source control filesystem tools (EdenFS and Watchman)";
homepage = "https://github.com/facebookexperimental/edencommon";