folly: add package
This commit is contained in:
parent
3978aca354
commit
761fdd440d
33
pkgs/development/libraries/folly/default.nix
Normal file
33
pkgs/development/libraries/folly/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -5119,6 +5119,8 @@ let
|
|||||||
|
|
||||||
fontconfig = callPackage ../development/libraries/fontconfig { };
|
fontconfig = callPackage ../development/libraries/fontconfig { };
|
||||||
|
|
||||||
|
folly = callPackage ../development/libraries/folly { };
|
||||||
|
|
||||||
makeFontsConf = let fontconfig_ = fontconfig; in {fontconfig ? fontconfig_, fontDirectories}:
|
makeFontsConf = let fontconfig_ = fontconfig; in {fontconfig ? fontconfig_, fontDirectories}:
|
||||||
import ../development/libraries/fontconfig/make-fonts-conf.nix {
|
import ../development/libraries/fontconfig/make-fonts-conf.nix {
|
||||||
inherit runCommand libxslt fontconfig fontDirectories;
|
inherit runCommand libxslt fontconfig fontDirectories;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user