9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
30 lines
634 B
Nix
30 lines
634 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.8.7";
|
|
pname = "tinygltf";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "syoyo";
|
|
repo = "tinygltf";
|
|
rev = "v${version}";
|
|
hash = "sha256-uQlv+mUWnqUJIXnPf2pVuRg1akcXAfqyBIzPPmm4Np4=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|