blob: add520558ba9d657858f88f1e4ae896281faab2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
};
}
|