a3d4720129
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
30 lines
636 B
Nix
30 lines
636 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "2.6.3";
|
|
pname = "tinygltf";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "syoyo";
|
|
repo = "tinygltf";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-IyezvHzgLRyc3z8HdNsQMqDEhP+Ytw0stFNak3C8lTo=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|