mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-glfw.
* gnu/packages/python-graphics.scm (python-glfw): New variable. Change-Id: Icfc1413fbec367c2b9efc9f9461c9cf24e05fa12
This commit is contained in:
parent
78bd8d8452
commit
62e5dc3a81
1 changed files with 35 additions and 0 deletions
|
@ -100,6 +100,41 @@
|
||||||
ModernGL on multiple platforms.")
|
ModernGL on multiple platforms.")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
|
(define-public python-glfw
|
||||||
|
(package
|
||||||
|
(name "python-glfw")
|
||||||
|
(version "2.8.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "glfw" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1w36jvn6fx8p7irhwj6bbl67m2id3s0227b3w7bgw9hbicr0vsch"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:tests? #f ; no tests provided
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-lib-paths
|
||||||
|
(lambda _
|
||||||
|
(substitute* "glfw/library.py"
|
||||||
|
(("_get_library_search_paths\\(\\), ")
|
||||||
|
(format #f "[ '~a/lib' ],"
|
||||||
|
#$(this-package-input "glfw")))))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest
|
||||||
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
|
(inputs
|
||||||
|
(list glfw))
|
||||||
|
(home-page "https://github.com/FlorianRhiem/pyGLFW")
|
||||||
|
(synopsis "Python bindings for GLFW")
|
||||||
|
(description
|
||||||
|
"This package provides Python bindings for @url{http://www.glfw.org/,
|
||||||
|
GLFW} OpenGL application development library.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-pyglet
|
(define-public python-pyglet
|
||||||
(package
|
(package
|
||||||
(name "python-pyglet")
|
(name "python-pyglet")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue