14 gltf-sample-models = fetchFromGitHub {
15 owner = "KhronosGroup";
16 repo = "glTF-Sample-Models";
17 rev = "d7a3cc8e51d7c573771ae77a57f16b0662a905c6";
18 hash = "sha256-TxSg1O6eIiaKagcZUoWZ5Iw/tBKvQIoepRFp3MdVlyI=";
22 buildPythonPackage rec {
27 disabled = pythonOlder "3.6";
29 src = fetchFromGitLab {
32 rev = "refs/tags/v${version}";
33 hash = "sha256-rUAg05M5biVsdG2yEH0Olng/0jH1R/Jo5/+j4ToKkTI=";
36 nativeBuildInputs = [ setuptools ];
38 propagatedBuildInputs = [
43 nativeCheckInputs = [ pytestCheckHook ];
45 ln -s ${gltf-sample-models} glTF-Sample-Models
48 pythonImportsCheck = [ "pygltflib" ];
51 description = "Module for reading and writing basic glTF files";
52 homepage = "https://gitlab.com/dodgyville/pygltflib";
53 changelog = "https://gitlab.com/dodgyville/pygltflib/-/blob/v${version}/CHANGELOG.md";
54 license = licenses.mit;
55 maintainers = with maintainers; [ bcdarwin ];