tinygltf: unvendor json & stb

Co-authored-by: jopejoe1 <34899572+jopejoe1@users.noreply.github.com>
This commit is contained in:
Guilhem Saurel
2025-10-28 19:55:40 +01:00
co-authored by jopejoe1
parent e8ea109858
commit 974b7b39d7
+19
View File
@@ -1,8 +1,16 @@
{
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
# nativeBuildInputs
cmake,
# propagatedBuildInputs
nlohmann_json,
stb,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -20,6 +28,17 @@ stdenv.mkDerivation (finalAttrs: {
cmake
];
propagatedBuildInputs = [
nlohmann_json
stb
];
cmakeFlags = [
(lib.cmakeBool "TINYGLTF_INSTALL_VENDOR" false)
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Header only C++11 tiny glTF 2.0 library";
homepage = "https://github.com/syoyo/tinygltf";