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