at 25.11-pre 796 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "pyglm"; 11 version = "2.7.3"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "Zuzu-Typ"; 16 repo = "PyGLM"; 17 tag = version; 18 hash = "sha256-5NXueFZ4+hIP1xd30Dt7sv/oxEqh6ejJoJtQv2rpGyQ="; 19 fetchSubmodules = true; 20 }; 21 22 nativeBuildInputs = [ setuptools ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "glm" ]; 27 28 meta = with lib; { 29 homepage = "https://github.com/Zuzu-Typ/PyGLM"; 30 description = "OpenGL Mathematics (GLM) library for Python written in C++"; 31 changelog = "https://github.com/Zuzu-Typ/PyGLM/releases/tag/${src.tag}"; 32 license = licenses.zlib; 33 maintainers = with maintainers; [ sund3RRR ]; 34 }; 35}