13 gltf-sample-models = fetchFromGitHub {
14 owner = "KhronosGroup";
15 repo = "glTF-Sample-Models";
16 rev = "d7a3cc8e51d7c573771ae77a57f16b0662a905c6";
17 hash = "sha256-TxSg1O6eIiaKagcZUoWZ5Iw/tBKvQIoepRFp3MdVlyI=";
21 buildPythonPackage rec {
26 disabled = pythonOlder "3.6";
28 src = fetchFromGitLab {
31 rev = "refs/tags/v${version}";
32 hash = "sha256-rUAg05M5biVsdG2yEH0Olng/0jH1R/Jo5/+j4ToKkTI=";
39 propagatedBuildInputs = [
48 ln -s ${gltf-sample-models} glTF-Sample-Models
51 pythonImportsCheck = [ "pygltflib" ];
54 description = "Module for reading and writing basic glTF files";
55 homepage = "https://gitlab.com/dodgyville/pygltflib";
56 changelog = "https://gitlab.com/dodgyville/pygltflib/-/blob/v${version}/CHANGELOG.md";
57 license = licenses.mit;
58 maintainers = with maintainers; [ bcdarwin ];