fbthrift: init at 2023.01.30.00
Co-authored-by: Andrew Hamon <and.ham95@gmail.com>
This commit is contained in:
68
pkgs/development/libraries/fbthrift/default.nix
Normal file
68
pkgs/development/libraries/fbthrift/default.nix
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, bison
|
||||||
|
, boost
|
||||||
|
, libevent
|
||||||
|
, double-conversion
|
||||||
|
, libsodium
|
||||||
|
, fizz
|
||||||
|
, flex
|
||||||
|
, fmt_8
|
||||||
|
, folly
|
||||||
|
, glog
|
||||||
|
, gflags
|
||||||
|
, libiberty
|
||||||
|
, openssl
|
||||||
|
, lib
|
||||||
|
, wangle
|
||||||
|
, zlib
|
||||||
|
, zstd
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "fbthrift";
|
||||||
|
version = "2023.01.30.00";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "facebook";
|
||||||
|
repo = "fbthrift";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-poXe2EF4ZcqOZza1WUSAO2cA655jiWpqdo3YYrzAk7I=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
bison
|
||||||
|
flex
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = lib.optionals stdenv.isDarwin [
|
||||||
|
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.14" # For aligned allocation
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
boost
|
||||||
|
double-conversion
|
||||||
|
fizz
|
||||||
|
fmt_8
|
||||||
|
folly
|
||||||
|
glog
|
||||||
|
gflags
|
||||||
|
libevent
|
||||||
|
libiberty
|
||||||
|
openssl
|
||||||
|
wangle
|
||||||
|
zlib
|
||||||
|
zstd
|
||||||
|
libsodium
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Facebook's branch of Apache Thrift";
|
||||||
|
homepage = "https://github.com/facebook/fbthrift";
|
||||||
|
license = licenses.asl20;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ pierreis kylesferrazza ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -19532,6 +19532,8 @@ with pkgs;
|
|||||||
autoreconfHook = buildPackages.autoreconfHook269;
|
autoreconfHook = buildPackages.autoreconfHook269;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fbthrift = callPackage ../development/libraries/fbthrift { };
|
||||||
|
|
||||||
fcgi = callPackage ../development/libraries/fcgi { };
|
fcgi = callPackage ../development/libraries/fcgi { };
|
||||||
|
|
||||||
fcl = callPackage ../development/libraries/fcl { };
|
fcl = callPackage ../development/libraries/fcl { };
|
||||||
|
|||||||
Reference in New Issue
Block a user