Files
nixpkgs/pkgs/development/python-modules/glad2/default.nix
T
Martin Weinelt 3321e63b12 Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01:00

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