mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-28 15:54:32 +00:00
Merge pull request #245046 from tpwrules/update-moderngl
This commit is contained in:
commit
c1a2af4f0f
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
@ -11,14 +12,14 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "moderngl_window";
|
||||
version = "2.4.2";
|
||||
pname = "moderngl-window";
|
||||
version = "2.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "moderngl";
|
||||
repo = pname;
|
||||
repo = "moderngl_window";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-jsASGYrsH9UNanswX2bZyWS3co/2Y1joaQ98virWcBE=";
|
||||
hash = "sha256-mg3j5ZoMwdk39L5xjcoEJo9buqssM1VLJtndSFsuCB0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy moderngl pyglet pillow pyrr glcontext ];
|
||||
@ -28,11 +29,14 @@ buildPythonPackage rec {
|
||||
# Tests need a display to run.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "moderngl_window" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/moderngl/moderngl_window";
|
||||
description = "Cross platform helper library for ModernGL making window creation and resource loading simple";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux; # should be mesaPlatforms, darwin build breaks.
|
||||
broken = stdenv.isDarwin; # darwin build breaks
|
||||
platforms = platforms.mesaPlatforms;
|
||||
maintainers = with maintainers; [ c0deaddict ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user