nixpkgs/pkgs/development/libraries/folly/default.nix
R. RyanTM 51c00872d3 folly: 2018.06.11.00 -> 2018.06.18.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.06.18.00 with grep in /nix/store/cbijzsfm1ik0hmblhsg9q8krwq0gs69r-folly-2018.06.18.00
- directory tree listing: https://gist.github.com/d36711520cd03c3b19d6a9f3bc3dc523
- du listing: https://gist.github.com/d83b87211ca6b6a6a538eccba6783c66
2018-06-24 00:26:34 -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.06.18.00";
src = fetchFromGitHub {
owner = "facebook";
repo = "folly";
rev = "v${version}";
sha256 = "0698wazz99wzfbz29jgkl4rlakypg3v2cnsjg9a0yq83a4y038p7";
};
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 ];
};
}