summary refs log tree commit diff
path: root/pkgs/development/libraries/folly
diff options
context:
space:
mode:
authorLangston Barrett <langston.barrett@gmail.com>2018-11-02 13:03:35 -0700
committerLangston Barrett <langston.barrett@gmail.com>2018-11-02 13:12:26 -0700
commit45db4162014e32ac3039dbabe524766789c58413 (patch)
treeb2127b6d2f4b665456d7e497ad781df568fd9cdc /pkgs/development/libraries/folly
parent82822c66e45397eb05a43f8ed4554c18bc49c079 (diff)
downloadnixpkgs-45db4162014e32ac3039dbabe524766789c58413.tar
nixpkgs-45db4162014e32ac3039dbabe524766789c58413.tar.gz
nixpkgs-45db4162014e32ac3039dbabe524766789c58413.tar.bz2
nixpkgs-45db4162014e32ac3039dbabe524766789c58413.tar.lz
nixpkgs-45db4162014e32ac3039dbabe524766789c58413.tar.xz
nixpkgs-45db4162014e32ac3039dbabe524766789c58413.tar.zst
nixpkgs-45db4162014e32ac3039dbabe524766789c58413.zip
folly: 2018.08.27.00 -> 2018.10.29.00
Folly disabled autotools-based builds in favor of CMake.
Diffstat (limited to 'pkgs/development/libraries/folly')
-rw-r--r--pkgs/development/libraries/folly/default.nix27
1 files changed, 15 insertions, 12 deletions
diff --git a/pkgs/development/libraries/folly/default.nix b/pkgs/development/libraries/folly/default.nix
index 9694765bb93..1598dafaad0 100644
--- a/pkgs/development/libraries/folly/default.nix
+++ b/pkgs/development/libraries/folly/default.nix
@@ -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;