python312Packages.moderngl-window: 2.4.6 -> 3.0.0 (#360362)

This commit is contained in:
Peder Bergebakken Sundt 2024-11-30 14:26:06 +01:00 committed by GitHub
commit d266649035
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,49 +3,53 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
glfw,
mesa,
# dependencies
moderngl,
numpy,
pillow,
pygame,
pyglet,
pyqt5,
pyrr,
pyglm,
# optional-dependencies
trimesh,
scipy,
glfw,
pygame,
pysdl2,
pyside2,
pythonOlder,
scipy,
trimesh,
pyqt5,
mesa,
}:
buildPythonPackage rec {
pname = "moderngl-window";
version = "2.4.6";
version = "3.0.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "moderngl";
repo = "moderngl_window";
rev = "refs/tags/${version}";
hash = "sha256-zTygSXU/vQZaFCuHbRBpO9/BYYA2UOid+wvhyc2bWMI=";
hash = "sha256-V6QQCQcSSEt11+Xv6HtWZSH+/nPFRZZK1ThQJipIT0M=";
};
pythonRelaxDeps = [ "pillow" ];
nativeBuildInputs = [
build-system = [
setuptools
];
propagatedBuildInputs = [
numpy
dependencies = [
moderngl
pyglet
numpy
pillow
pyrr
pyglet
pyglm
];
optional-dependencies = {
@ -65,12 +69,12 @@ buildPythonPackage rec {
pythonImportsCheck = [ "moderngl_window" ];
meta = with lib; {
meta = {
description = "Cross platform helper library for ModernGL making window creation and resource loading simple";
homepage = "https://github.com/moderngl/moderngl-window";
changelog = "https://github.com/moderngl/moderngl-window/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ c0deaddict ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ c0deaddict ];
inherit (mesa.meta) platforms;
broken = stdenv.hostPlatform.isDarwin;
};