2024-02-29 20:09:43 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, boost
|
|
|
|
, cmake
|
|
|
|
, fmt_8
|
|
|
|
, folly
|
|
|
|
, glog
|
|
|
|
, gtest
|
|
|
|
}:
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "edencommon";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "2024.03.11.00";
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "facebookexperimental";
|
|
|
|
repo = "edencommon";
|
|
|
|
rev = "v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-1z4QicS98juv4bUEbHBkCjVJHEhnoJyLYp4zMHmDbMg=";
|
2023-02-16 17:41:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
cmakeFlags = lib.optionals stdenv.isDarwin [
|
|
|
|
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.14" # For aligned allocation
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glog
|
|
|
|
folly
|
|
|
|
fmt_8
|
|
|
|
boost
|
|
|
|
gtest
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Shared library for Meta's source control filesystem tools (EdenFS and Watchman)";
|
2023-02-16 17:41:37 +00:00
|
|
|
homepage = "https://github.com/facebookexperimental/edencommon";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ kylesferrazza ];
|
|
|
|
};
|
|
|
|
}
|