diff options
author | R. RyanTM <ryantm-bot@ryantm.com> | 2018-10-20 06:33:09 -0700 |
---|---|---|
committer | Renaud <c0bw3b@users.noreply.github.com> | 2018-10-20 15:33:09 +0200 |
commit | 2be930cc4a891a166ee71bc353ce9af297471e2b (patch) | |
tree | 49b35446662884c552c163e5c5b990fa0b862d68 /pkgs/development/libraries/flatbuffers | |
parent | 43130899ab12e4aa6d544c405302c52c445a6b29 (diff) |
flatbuffers: 1.8.0 -> 1.10.0 (#48521)
* flatbuffers: 1.8.0 -> 1.10.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/flatbuffers/versions * flatbuffers: fix build on Darwin and enable checks Bazel BUILD file is conflicting with build directory on case-insensitive FS + checkPhase now runs "make test"
Diffstat (limited to 'pkgs/development/libraries/flatbuffers')
-rw-r--r-- | pkgs/development/libraries/flatbuffers/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/development/libraries/flatbuffers/default.nix b/pkgs/development/libraries/flatbuffers/default.nix index fb74c4ff4d244..504b58b6aa4d7 100644 --- a/pkgs/development/libraries/flatbuffers/default.nix +++ b/pkgs/development/libraries/flatbuffers/default.nix @@ -2,21 +2,24 @@ stdenv.mkDerivation rec { name = "flatbuffers-${version}"; - version = "1.8.0"; + version = "1.10.0"; src = fetchFromGitHub { owner = "google"; repo = "flatbuffers"; rev = "v${version}"; - sha256 = "1qq8qbv8wkiiizj8s984f17bsbjsrhbs9q1nw1yjgrw0grcxlsi9"; + sha256 = "1b32kc5jp83l43w2gs1dkw2vqm2j0wi7xfxqa86m18n3l41ca734"; }; - buildInputs = [ cmake ]; + preConfigure = stdenv.lib.optional stdenv.buildPlatform.isDarwin '' + rm BUILD + ''; + + nativeBuildInputs = [ cmake ]; enableParallelBuilding = true; - # Not sure how tests are supposed to be run. - # "make: *** No rule to make target 'check'. Stop." - doCheck = false; + doCheck = true; + checkTarget = "test"; meta = { description = "Memory Efficient Serialization Library."; @@ -29,6 +32,6 @@ stdenv.mkDerivation rec { maintainers = [ stdenv.lib.maintainers.teh ]; license = stdenv.lib.licenses.asl20; platforms = stdenv.lib.platforms.unix; - homepage = http://google.github.io/flatbuffers; + homepage = https://google.github.io/flatbuffers/; }; } |