gnu: Add python-pyopengl-accelerate.
authorLars-Dominik Braun <lars@6xq.net>
Sat, 27 Jun 2020 13:07:01 +0000 (15:07 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 13 Jul 2020 10:52:52 +0000 (12:52 +0200)
* gnu/packages/python-xyz.scm (gnu/packages/python-xyz.scm): New
variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/python-xyz.scm

index f832793..d49443e 100644 (file)
@@ -15558,6 +15558,31 @@ related APIs.  The binding is created using the standard @code{ctypes}
 library.")
     (license license:bsd-3)))
 
+(define-public python-pyopengl-accelerate
+  (package
+    (inherit python-pyopengl)
+    (name "python-pyopengl-accelerate")
+    (version "3.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "PyOpenGL-accelerate" version))
+       (sha256
+        (base32
+         "01iggy5jwxv7lxnj51zbmlbhag9wcb7dvrbwgi97i90n0a5m3r8j"))))
+    (inputs
+     `(("mesa" ,mesa)
+       ("python-numpy" ,python-numpy))) ; for cython module
+                                        ; numpy_formathandler, thus not propagated
+    (arguments
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'fix-paths))))
+    (synopsis "Acceleration code for PyOpenGL")
+    (description
+     "This is the Cython-coded accelerator module for PyOpenGL.")))
+
 (define-public python-rencode
   (package
    (name "python-rencode")