From 66eaa133a3e2bfc0a0621a009be23dd65229d617 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Fri, 23 Jun 2017 05:43:09 +0200 Subject: [PATCH] gnu: python: Add python2-pyopengl. * 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 3c3b4056d..6914043e9 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2017 José Miguel Sánchez García ;;; Copyright © 2017 Roel Janssen ;;; Copyright © 2017 Kei Kebreau +;;; Copyright © 2017 Rutger Helling ;;; ;;; This file is part of GNU Guix. ;;; @@ -15449,3 +15450,25 @@ functionality like full case-folding for case-insensitive matches in Unicode.") (define-public python2-regex (package-with-python2 python-regex)) + +(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, and +is provided under an extremely liberal BSD-style Open-Source license.") + (license license:bsd-3))) -- 2.13.1