mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
flatbuffers: init at 1.4.0
This commit is contained in:
parent
ba42683e9a
commit
a4debd6688
34
pkgs/development/libraries/flatbuffers/default.nix
Normal file
34
pkgs/development/libraries/flatbuffers/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "flatbuffers-${version}";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "flatbuffers";
|
||||
rev = "v${version}";
|
||||
sha256 = "0jsqk49h521d5h4c9gk39a8968g6rcd6520a8knbfc7ssc4028y0";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# Not sure how tests are supposed to be run.
|
||||
# "make: *** No rule to make target 'check'. Stop."
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Memory Efficient Serialization Library.";
|
||||
longDescription = ''
|
||||
FlatBuffers is an efficient cross platform serialization library for
|
||||
games and other memory constrained apps. It allows you to directly
|
||||
access serialized data without unpacking/parsing it first, while still
|
||||
having great forwards/backwards compatibility.
|
||||
'';
|
||||
maintainers = [ stdenv.lib.maintainers.teh ];
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
homepage = http://google.github.io/flatbuffers;
|
||||
};
|
||||
}
|
@ -8754,6 +8754,8 @@ in
|
||||
protobufc1_1 = callPackage ../development/libraries/protobufc/1.1.nix { };
|
||||
protobufc1_0 = callPackage ../development/libraries/protobufc/1.0.nix { };
|
||||
|
||||
flatbuffers = callPackage ../development/libraries/flatbuffers { };
|
||||
|
||||
pth = callPackage ../development/libraries/pth { };
|
||||
|
||||
ptlib = callPackage ../development/libraries/ptlib {};
|
||||
|
Loading…
Reference in New Issue
Block a user