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