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