flatbuffers: Disable tests temporarily

wip/yesman
Sandro Jäckel 4 years ago
parent b09309b027
commit 00d6056151
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
  1. 13
      pkgs/development/libraries/flatbuffers/default.nix

@ -31,14 +31,15 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
cmakeFlags = [ "-DFLATBUFFERS_BUILD_TESTS=${if doCheck then "ON" else "OFF"}" ];
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
# tests fail to compile
doCheck = false;
# doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
checkTarget = "test";
meta = {
meta = with stdenv.lib; {
description = "Memory Efficient Serialization Library";
longDescription = ''
FlatBuffers is an efficient cross platform serialization library for
@ -46,9 +47,9 @@ stdenv.mkDerivation rec {
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;
maintainers = [ maintainers.teh ];
license = licenses.asl20;
platforms = platforms.unix;
homepage = "https://google.github.io/flatbuffers/";
};
}

Loading…
Cancel
Save