3
0
Fork 0
forked from mirrors/nixpkgs

folly: add package

This commit is contained in:
Nikolay Amiantov 2014-11-08 03:48:54 +03:00
parent 3978aca354
commit 761fdd440d
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ stdenv, fetchgit, autoreconfHook, boost, libevent, double_conversion, glog
, google-gflags, python, libiberty }:
stdenv.mkDerivation rec {
name = "folly-12";
src = fetchgit {
url = "https://github.com/facebook/folly";
rev = "8d3b079a75fe1a8cf5811f290642b4f494f13822";
sha256 = "005fa202aca29c3a6757ae3bb050a6e4e5e773a1439f5803257a5f9e3cc9bdb6";
};
buildInputs = [ libiberty boost.lib libevent double_conversion glog google-gflags ];
nativeBuildInputs = [ autoreconfHook python boost ];
postUnpack = "sourceRoot=\${sourceRoot}/folly";
preBuild = ''
patchShebangs build
'';
configureFlags = [ "--with-boost-libdir=${boost.lib}/lib" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "A YAML parser and emitter for C++";
homepage = https://code.google.com/p/yaml-cpp/;
license = licenses.mit;
platforms = platforms.unix;
maintainers = maintainers.abbradar;
};
}

View file

@ -5119,6 +5119,8 @@ let
fontconfig = callPackage ../development/libraries/fontconfig { };
folly = callPackage ../development/libraries/folly { };
makeFontsConf = let fontconfig_ = fontconfig; in {fontconfig ? fontconfig_, fontDirectories}:
import ../development/libraries/fontconfig/make-fonts-conf.nix {
inherit runCommand libxslt fontconfig fontDirectories;