6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
30 lines
636 B
Nix
30 lines
636 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.7.0";
|
|
pname = "tinygltf";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "syoyo";
|
|
repo = "tinygltf";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-pIymkC+LzoSPU0jnpBH07ag/04W0c9TmPeDUSYQdgx4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
description = "Header only C++11 tiny glTF 2.0 library";
|
|
homepage = "https://github.com/syoyo/tinygltf";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jansol ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|