1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 jinja2,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "glad2";
11 version = "2.0.8";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-uEB5ufpATzcXG5Yb3R2NohNw5sgY3vuEgcWz/j1kNto=";
17 };
18
19 build-system = [ setuptools ];
20
21 dependencies = [ jinja2 ];
22
23 # no python tests
24 doCheck = false;
25
26 pythonImportsCheck = [ "glad" ];
27
28 meta = with lib; {
29 description = "Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications";
30 mainProgram = "glad";
31 homepage = "https://github.com/Dav1dde/glad";
32 license = licenses.mit;
33 maintainers = with maintainers; [ kranzes ];
34 };
35}