Files
nixpkgs/pkgs/development/python-modules/glad2/default.nix
T
2024-03-12 17:41:53 +01:00

33 lines
648 B
Nix

{ 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";
homepage = "https://github.com/Dav1dde/glad";
license = licenses.mit;
maintainers = with maintainers; [ kranzes ];
};
}