36 lines
796 B
Nix
36 lines
796 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyglm";
|
|
version = "2.7.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Zuzu-Typ";
|
|
repo = "PyGLM";
|
|
tag = version;
|
|
hash = "sha256-5NXueFZ4+hIP1xd30Dt7sv/oxEqh6ejJoJtQv2rpGyQ=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "glm" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/Zuzu-Typ/PyGLM";
|
|
description = "OpenGL Mathematics (GLM) library for Python written in C++";
|
|
changelog = "https://github.com/Zuzu-Typ/PyGLM/releases/tag/${src.tag}";
|
|
license = licenses.zlib;
|
|
maintainers = with maintainers; [ sund3RRR ];
|
|
};
|
|
}
|