tinygltf: init at 2.5.0
This commit is contained in:
parent
fd620c8da1
commit
781ea695cf
32
pkgs/development/libraries/tinygltf/default.nix
Normal file
32
pkgs/development/libraries/tinygltf/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, nix-update-script
|
||||||
|
, cmake
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "2.5.0";
|
||||||
|
pname = "tinygltf";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "syoyo";
|
||||||
|
repo = "tinygltf";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-Pw4iNJs0bKALVPFBYUJe5/WjHxdffungCKfJFJEpDas=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
};
|
||||||
|
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -10522,6 +10522,8 @@ with pkgs;
|
||||||
|
|
||||||
tinyfecvpn = callPackage ../tools/networking/tinyfecvpn { };
|
tinyfecvpn = callPackage ../tools/networking/tinyfecvpn { };
|
||||||
|
|
||||||
|
tinygltf = callPackage ../development/libraries/tinygltf { };
|
||||||
|
|
||||||
tinyobjloader = callPackage ../development/libraries/tinyobjloader { };
|
tinyobjloader = callPackage ../development/libraries/tinyobjloader { };
|
||||||
|
|
||||||
tinyprog = callPackage ../development/embedded/fpga/tinyprog { };
|
tinyprog = callPackage ../development/embedded/fpga/tinyprog { };
|
||||||
|
|
Loading…
Reference in a new issue