mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 00:18:10 +00:00
Merge pull request #215447 from wegank/draco-bump
draco: 1.5.5 -> 1.5.6
This commit is contained in:
commit
cc229db7af
@ -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 New Issue
Block a user