depot/third_party/nixpkgs/pkgs/development/libraries/tinygltf/default.nix
Default email 5557ff764c Project import generated by Copybara.
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
2023-02-22 11:55:15 +01:00

30 lines
636 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, cmake
}:
stdenv.mkDerivation rec {
version = "2.8.3";
pname = "tinygltf";
src = fetchFromGitHub {
owner = "syoyo";
repo = "tinygltf";
rev = "v${version}";
sha256 = "sha256-6rfC5nXGseXtqh2IonZto+DM8ZV/t5U1ulZ3GFHwoeg=";
};
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;
};
}