nixpkgs/pkgs/development/libraries/tinygltf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
636 B
Nix
Raw Normal View History

2022-03-23 10:13:32 +00:00
{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, cmake
}:
stdenv.mkDerivation rec {
2023-02-21 17:55:36 +00:00
version = "2.8.3";
2022-03-23 10:13:32 +00:00
pname = "tinygltf";
src = fetchFromGitHub {
owner = "syoyo";
repo = "tinygltf";
rev = "v${version}";
2023-02-21 17:55:36 +00:00
sha256 = "sha256-6rfC5nXGseXtqh2IonZto+DM8ZV/t5U1ulZ3GFHwoeg=";
2022-03-23 10:13:32 +00:00
};
nativeBuildInputs = [ cmake ];
passthru.updateScript = nix-update-script { };
2022-03-23 10:13:32 +00:00
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;
};
}