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