summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/glad2/default.nix
blob: e5f2997ba18e7d690a9874b98fc84fad7031b0f1 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  jinja2,
  setuptools,
}:

buildPythonPackage rec {
  pname = "glad2";
  version = "2.0.8";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-uEB5ufpATzcXG5Yb3R2NohNw5sgY3vuEgcWz/j1kNto=";
  };

  build-system = [ setuptools ];

  dependencies = [ jinja2 ];

  # no python tests
  doCheck = false;

  pythonImportsCheck = [ "glad" ];

  meta = {
    description = "Multi-Language GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications";
    mainProgram = "glad";
    homepage = "https://github.com/Dav1dde/glad";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}