tinygltf: unvendor json & stb
Co-authored-by: jopejoe1 <34899572+jopejoe1@users.noreply.github.com>
This commit is contained in:
co-authored by
jopejoe1
parent
e8ea109858
commit
974b7b39d7
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user