draco: minimize inputs

This commit is contained in:
Zexin Yuan
2025-09-04 14:08:19 +08:00
committed by Wolfgang Walther
parent 9828d404e4
commit d08104f573
+4 -7
View File
@@ -24,12 +24,11 @@ stdenv.mkDerivation (finalAttrs: {
owner = "google";
repo = "draco";
rev = finalAttrs.version;
hash = "sha256-p0Mn4kGeBBKL7Hoz4IBgb6Go6MdkgE7WZgxAnt1tE/0=";
fetchSubmodules = true;
hash = "sha256-Y1bwBFe3bCklZN2+TBs6mhqDKQjrezMiT5zXlPFuMew=";
};
# ld: unknown option: --start-group
postPatch = ''
postPatch = lib.optional stdenv.hostPlatform.isDarwin ''
substituteInPlace cmake/draco_targets.cmake \
--replace-fail "^Clang" "^AppleClang"
'';
@@ -37,12 +36,10 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cmake
python3
gtest
];
buildInputs = [
gtest
]
++ lib.optionals withTranscoder [
buildInputs = lib.optionals withTranscoder [
eigen
ghc_filesystem
tinygltf