about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/glad2/default.nix
blob: c4e03c164e6d63f9b5e64d767b6328d077ec53e2 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, jinja2
}:

buildPythonPackage rec {
  pname = "glad2";
  version = "2.0.5";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ugdXtqo6IEtjeHOxPQubQIZa4ZbfcpD8bAHYGOWK+Bw=";
  };

  propagatedBuildInputs = [
    jinja2
  ];

  # no python tests
  doCheck = false;

  pythonImportsCheck = [ "glad" ];

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