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
This commit is contained in:
Emily
2024-11-18 17:44:47 +00:00
parent 66a2ebb46d
commit 509f33b995
+18 -2
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";