draco: 1.5.5 -> 1.5.6

This commit is contained in:
Weijia Wang 2023-02-09 07:31:53 +01:00
parent 59ec2e613f
commit ae9fec2140

View file

@ -16,17 +16,23 @@ let
cmakeBool = b: if b then "ON" else "OFF"; cmakeBool = b: if b then "ON" else "OFF";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.5.5"; version = "1.5.6";
pname = "draco"; pname = "draco";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = "draco"; repo = "draco";
rev = version; rev = version;
sha256 = "sha256-WYWEUfBPz/Pt7sE8snG3/LnOA3DEUm/SUVLtsH7zG5g="; hash = "sha256-2YQMav0JJMbJ2bvnN/Xv90tjE/OWLbrZDO4WlaOvcfI=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
# ld: unknown option: --start-group
postPatch = ''
substituteInPlace cmake/draco_targets.cmake \
--replace "^Clang" "^AppleClang"
'';
buildInputs = [ gtest ] buildInputs = [ gtest ]
++ lib.optionals withTranscoder [ eigen ghc_filesystem tinygltf ]; ++ lib.optionals withTranscoder [ eigen ghc_filesystem tinygltf ];