all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul van der Walt <paul@denknerd.org>
To: guix-devel@gnu.org
Subject: [PATCH 13/21] gnu: Add ghc-openglraw.
Date: Fri, 16 Oct 2015 15:11:57 +0200	[thread overview]
Message-ID: <1445001125-20534-13-git-send-email-paul@denknerd.org> (raw)
In-Reply-To: <1445001125-20534-1-git-send-email-paul@denknerd.org>

* gnu/packages/haskell.scm (ghc-openglraw): New variable.
---
 gnu/packages/haskell.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 4987777..3877398 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)
@@ -859,6 +860,42 @@ XSS attacks.")
 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
+     "A raw binding 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)))
+    (license bsd-3)))
+
 (define-public ghc-streaming-commons
   (package
     (name "ghc-streaming-commons")
-- 
2.6.1

  parent reply	other threads:[~2015-10-16 13:12 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-16 13:11 [PATCH 01/21] gnu: Add ghc-haddock-library Paul van der Walt
2015-10-16 13:11 ` [PATCH 02/21] gnu: Add ghc-haddock-api Paul van der Walt
2015-10-16 13:11 ` [PATCH 03/21] gnu: Add ghc-haddock Paul van der Walt
2015-10-16 13:11 ` [PATCH 04/21] gnu: Add ghc-alex Paul van der Walt
2015-10-16 13:11 ` [PATCH 05/21] gnu: Add ghc-multipart Paul van der Walt
2015-10-16 13:11 ` [PATCH 06/21] gnu: Add ghc-cgi Paul van der Walt
2015-10-16 13:11 ` [PATCH 07/21] gnu: Add ghc-html Paul van der Walt
2015-10-16 13:11 ` [PATCH 08/21] gnu: Add ghc-haskell-src Paul van der Walt
2015-10-16 13:11 ` [PATCH 09/21] gnu: Add ghc-xhtml Paul van der Walt
2015-10-16 13:11 ` [PATCH 10/21] gnu: Add ghc-regex-posix Paul van der Walt
2015-10-16 13:11 ` [PATCH 11/21] gnu: Add ghc-regex-compat Paul van der Walt
2015-10-16 13:11 ` [PATCH 12/21] gnu: Add ghc-half Paul van der Walt
2015-10-16 13:11 ` Paul van der Walt [this message]
2015-10-18 18:44   ` [PATCH 13/21] gnu: Add ghc-openglraw Efraim Flashner
2015-10-18 19:01     ` Paul van der Walt
2015-10-16 13:11 ` [PATCH 14/21] gnu: Add ghc-gluraw Paul van der Walt
2015-10-18 18:46   ` Efraim Flashner
2015-10-18 19:13     ` Paul van der Walt
2015-10-16 13:11 ` [PATCH 15/21] gnu: Add ghc-objectname Paul van der Walt
2015-10-16 13:12 ` [PATCH 16/21] gnu: Add ghc-opengl Paul van der Walt
2015-10-16 13:12 ` [PATCH 17/21] gnu: Add ghc-glut Paul van der Walt
2015-10-16 13:12 ` [PATCH 18/21] gnu: Add ghc-sdl Paul van der Walt
2015-10-16 13:12 ` [PATCH 19/21] gnu: Add ghc-sdl-mixer Paul van der Walt
2015-10-16 13:12 ` [PATCH 20/21] gnu: Add ghc-sdl-image Paul van der Walt
2015-10-16 13:12 ` [PATCH 21/21] gnu: Add raincat platform game Paul van der Walt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1445001125-20534-13-git-send-email-paul@denknerd.org \
    --to=paul@denknerd.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.