nixpkgs/pkgs/development/python-modules/glad2/default.nix
Martin Weinelt 92d6b02a33
python310Packages.glad2: specify dependencies as function args
Also disable the check phase, given there are no python tests and update
meta.homepage.
2023-07-28 16:12:37 +02:00

33 lines
648 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, jinja2
}:
buildPythonPackage rec {
pname = "glad2";
version = "2.0.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-7eFjn2nyugjx9JikCnB/NKYJ0k6y6g1sk2RomnmM99A=";
};
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 ];
};
}