Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchFromGitHub 4, nix-update-script 5, cmake 6}: 7 8stdenv.mkDerivation rec { 9 version = "2.8.7"; 10 pname = "tinygltf"; 11 12 src = fetchFromGitHub { 13 owner = "syoyo"; 14 repo = "tinygltf"; 15 rev = "v${version}"; 16 hash = "sha256-uQlv+mUWnqUJIXnPf2pVuRg1akcXAfqyBIzPPmm4Np4="; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 passthru.updateScript = nix-update-script { }; 22 23 meta = with lib; { 24 description = "Header only C++11 tiny glTF 2.0 library"; 25 homepage = "https://github.com/syoyo/tinygltf"; 26 license = licenses.mit; 27 maintainers = with maintainers; [ jansol ]; 28 platforms = platforms.all; 29 }; 30}