[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
144/154: gnu: Add ghc-openglraw.
From: |
Paul |
Subject: |
144/154: gnu: Add ghc-openglraw. |
Date: |
Thu, 22 Oct 2015 16:16:08 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 338217af588865adb8a324d4c4292acf87c6ee6f
Author: Paul van der Walt <address@hidden>
Date: Fri Oct 16 11:36:58 2015 +0200
gnu: Add ghc-openglraw.
* gnu/packages/haskell.scm (ghc-openglraw): New variable.
---
gnu/packages/haskell.scm | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a55acff..cd12025 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -30,6 +30,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages compression)
#:use-module (gnu packages elf)
+ #:use-module (gnu packages gl)
#:use-module (gnu packages bootstrap)
#:use-module (gnu packages zip)
#:use-module (gnu packages gcc)
@@ -846,6 +847,38 @@ attacks.")
computation library for Haskell.")
(license bsd-3)))
+(define-public ghc-openglraw
+ (package
+ (name "ghc-openglraw")
+ (version "2.5.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1kfq24mxg922ml3kkmym2qfpc56jbmrfbiix4rc2cxlwv05i191k"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-half" ,ghc-half)
+ ("glu" ,glu)
+ ("ghc-text" ,ghc-text)))
+ (home-page "http://www.haskell.org/haskellwiki/Opengl")
+ (synopsis "Raw Haskell bindings for the OpenGL graphics system")
+ (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5
+graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping
+of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw
+offers access to all necessary functions, tokens and types plus a general
+facility for loading extension entries. The module hierarchy closely mirrors
+the naming structure of the OpenGL extensions, making it easy to find the
+right module to import. All API entries are loaded dynamically, so no special
+C header files are needed for building this package. If an API entry is not
+found at runtime, a userError is thrown.")
+ (license bsd-3)))
+
(define-public ghc-streaming-commons
(package
(name "ghc-streaming-commons")
- 132/154: gnu: Add ghc-haddock-library., (continued)
- 132/154: gnu: Add ghc-haddock-library., Paul, 2015/10/22
- 136/154: gnu: Add ghc-multipart., Paul, 2015/10/22
- 137/154: gnu: Add ghc-cgi., Paul, 2015/10/22
- 123/154: gnu: Add ghc-wai., Paul, 2015/10/22
- 131/154: gnu: Add Idris., Paul, 2015/10/22
- 125/154: gnu: Add ghc-wai-extra., Paul, 2015/10/22
- 127/154: gnu: Add ghc-kan-extensions., Paul, 2015/10/22
- 133/154: gnu: Add ghc-haddock-api., Paul, 2015/10/22
- 141/154: gnu: Add ghc-regex-posix., Paul, 2015/10/22
- 143/154: gnu: Add ghc-half., Paul, 2015/10/22
- 144/154: gnu: Add ghc-openglraw.,
Paul <=
- 148/154: gnu: Add ghc-glut., Paul, 2015/10/22
- 154/154: import: hackage: Fix grammar., Paul, 2015/10/22
- 138/154: gnu: Add ghc-html., Paul, 2015/10/22
- 153/154: import: hackage: Update GHC libraries for 7.10.2., Paul, 2015/10/22
- 142/154: gnu: Add ghc-regex-compat., Paul, 2015/10/22
- 139/154: gnu: Add ghc-haskell-src., Paul, 2015/10/22
- 140/154: gnu: Add ghc-xhtml., Paul, 2015/10/22
- 152/154: gnu: Add Raincat., Paul, 2015/10/22
- 129/154: gnu: Add ghc-cheapskate., Paul, 2015/10/22
- 128/154: gnu: Add ghc-lens., Paul, 2015/10/22