nixpkgs/pkgs/development/libraries/folly/default.nix
R. RyanTM 9b0370fc47 folly: 2018.05.21.00 -> 2018.05.28.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.28.00 with grep in /nix/store/j0vmqnzcn83749cw2x6rzzf3bay2zyg0-folly-2018.05.28.00
- directory tree listing: https://gist.github.com/2a05d2503ea41d5bd03239e4562bea92
- du listing: https://gist.github.com/f4cb65851fac8a956d81301fa5623140
2018-05-30 18:37:42 -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.28.00";
src = fetchFromGitHub {
owner = "facebook";
repo = "folly";
rev = "v${version}";
sha256 = "1n5zic8bgm4dfc7prjj3af2ipxalia6w7dk6w9pmrz1nkrpyd68c";
};
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 ];
};
}