pythonPackages.moderngl-window: init at 1.2.0
This commit is contained in:
parent
2d5aa98874
commit
018f66f6d8
38
pkgs/development/python-modules/moderngl_window/default.nix
Normal file
38
pkgs/development/python-modules/moderngl_window/default.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, isPy3k
|
||||||
|
, numpy
|
||||||
|
, moderngl
|
||||||
|
, pyglet
|
||||||
|
, pillow
|
||||||
|
, pyrr
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "moderngl_window";
|
||||||
|
version = "1.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "moderngl";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "054w77lyc2nc0dyx76zsrbq2b3xbywdijhb62b2qqm99ldr1k1x5";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ numpy moderngl pyglet pillow pyrr ];
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
# Tests need a display to run.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
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.
|
||||||
|
maintainers = with maintainers; [ c0deaddict ];
|
||||||
|
};
|
||||||
|
}
|
@ -3893,6 +3893,8 @@ in {
|
|||||||
|
|
||||||
moderngl = callPackage ../development/python-modules/moderngl { };
|
moderngl = callPackage ../development/python-modules/moderngl { };
|
||||||
|
|
||||||
|
moderngl-window = callPackage ../development/python-modules/moderngl_window { };
|
||||||
|
|
||||||
modestmaps = callPackage ../development/python-modules/modestmaps { };
|
modestmaps = callPackage ../development/python-modules/modestmaps { };
|
||||||
|
|
||||||
# Needed here because moinmoin is loaded as a Python library.
|
# Needed here because moinmoin is loaded as a Python library.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user