blob: 022cecc27a61cf0a6a7755a1376a4ceaa0a6421c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ stdenv, lib, cmake, fetchFromGitHub, glog, folly, fmt_8, boost, gtest }:
stdenv.mkDerivation rec {
pname = "edencommon";
version = "2023.03.06.00";
src = fetchFromGitHub {
owner = "facebookexperimental";
repo = "edencommon";
rev = "v${version}";
sha256 = "sha256-m54TaxThWe6bUa6Q1t+e99CLFOvut9vq9RSmimTNuaU=";
};
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; {
description = "A shared library for Meta's source control filesystem tools (EdenFS and Watchman)";
homepage = "https://github.com/facebookexperimental/edencommon";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ kylesferrazza ];
};
}
|