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