mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Merge pull request #49656 from siddharthist/folly
folly: 2018.08.27.00 -> 2018.10.29.00
This commit is contained in:
commit
8b54203727
@ -1,26 +1,29 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, boost, libevent
|
||||
, double-conversion, glog, google-gflags, python, libiberty, openssl }:
|
||||
{ stdenv, fetchFromGitHub, cmake, boost, libevent, double-conversion, glog
|
||||
, google-gflags, libiberty, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "folly-${version}";
|
||||
version = "2018.08.27.00";
|
||||
version = "2018.10.29.00";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "facebook";
|
||||
repo = "folly";
|
||||
rev = "v${version}";
|
||||
sha256 = "0slnhn8q26mj23gm36c61b4ar857q8c844ifpvw4q329nndbrgcz";
|
||||
sha256 = "0bbp4w8wbawh3ilgkl7rwvbqkdczpvfn92f9lcvxj8sili0nldab";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook python pkgconfig ];
|
||||
buildInputs = [ libiberty boost libevent double-conversion glog google-gflags openssl ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
postPatch = "cd folly";
|
||||
preBuild = ''
|
||||
patchShebangs build
|
||||
'';
|
||||
|
||||
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
|
||||
# See CMake/folly-deps.cmake in the Folly source tree.
|
||||
buildInputs = [
|
||||
boost
|
||||
double-conversion
|
||||
glog
|
||||
google-gflags
|
||||
libevent
|
||||
libiberty
|
||||
openssl
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user