blob: f5d0d0aa21623c1a08b99f2cc54b0419d2d88cf5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pyglm";
version = "2.7.1";
pyproject = true;
src = fetchFromGitHub {
owner = "Zuzu-Typ";
repo = "PyGLM";
rev = "refs/tags/${version}";
hash = "sha256-nCkwYZLibQcmlF1Nvv2I6qi+97ue7Q1HVxpw32G5qpo=";
fetchSubmodules = true;
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"glm"
];
meta = with lib; {
homepage = "https://github.com/Zuzu-Typ/PyGLM";
description = "An OpenGL Mathematics (GLM) library for Python written in C++";
changelog = "https://github.com/Zuzu-Typ/PyGLM/releases/tag/${src.rev}";
license = licenses.zlib;
maintainers = with maintainers; [ sund3RRR ];
};
}
|