guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27440] [PATCH 1/4] gnu: python: Add python2-pyopengl.


From: Rutger Helling
Subject: [bug#27440] [PATCH 1/4] gnu: python: Add python2-pyopengl.
Date: Wed, 21 Jun 2017 13:05:01 +0200

* gnu/packages/python.scm (python2-pyopengl): New variable.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 775cab694..95723c9de 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -40,6 +40,7 @@
 ;;; Copyright © 2017 Ben Sturmfels <address@hidden>
 ;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
 ;;; Copyright © 2017 José Miguel Sánchez García <address@hidden>
+;;; Copyright © 2017 Rutger Helling <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -15423,4 +15424,24 @@ window memory map manager.")

 (define-public python2-smmap2
   (package-with-python2 python-smmap2))
+
+(define-public python2-pyopengl
+  (package
+   (name "python2-pyopengl")
+   (version "3.1.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (pypi-uri "PyOpenGL" version))
+     (sha256
+      (base32
+       "1byxjj6a8rwzhxhjqlc588zdad2qwxdd7vlam2653ylll31waiwv"))))
+   (arguments
+     `(#:python ,python-2))
+   (build-system python-build-system)
+   (home-page "http://pyopengl.sourceforge.net";)
+   (synopsis "Standard OpenGL bindings for Python")
+   (description
+ "PyOpenGL is the most common cross platform Python binding to OpenGL +and related APIs. The binding is created using the standard ctypes library.")
+   (license license:bsd-3)))
--
2.13.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]