nixpkgs/pkgs/development/libraries/folly/default.nix
R. RyanTM 23dce527d8 folly: 2018.04.23.00 -> 2018.05.21.00
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/folly/versions.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 2018.05.21.00 with grep in /nix/store/n4qdpjqixmlcly3al00c5a2ivp6lh74f-folly-2018.05.21.00
- directory tree listing: https://gist.github.com/80adf61ca8bb6b1020e7b48cae590a9c
- du listing: https://gist.github.com/dc5d5cb97ea76a087a50b733c659ebe5
2018-05-22 23:59:15 -07:00

36 lines
1.1 KiB
Nix

{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkgconfig, boost, libevent
, double-conversion, glog, google-gflags, python, libiberty, openssl }:
stdenv.mkDerivation rec {
name = "folly-${version}";
version = "2018.05.21.00";
src = fetchFromGitHub {
owner = "facebook";
repo = "folly";
rev = "v${version}";
sha256 = "0x8qa0g0rj4bmy5cra7f0ch0srq34d8d04f1c59q93xd6ggkr52w";
};
nativeBuildInputs = [ autoreconfHook python pkgconfig ];
buildInputs = [ libiberty boost libevent double-conversion glog google-gflags openssl ];
postPatch = "cd folly";
preBuild = ''
patchShebangs build
'';
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "An open-source C++ library developed and used at Facebook";
homepage = https://github.com/facebook/folly;
license = licenses.asl20;
# 32bit is not supported: https://github.com/facebook/folly/issues/103
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ abbradar ];
};
}