guix-commits
[Top][All Lists]
Advanced

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

146/153: gnu: Add ghc-opengl.


From: Paul
Subject: 146/153: gnu: Add ghc-opengl.
Date: Thu, 22 Oct 2015 10:11:51 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 2eb269895ca1b3088cd9095f50065036ac39ead7
Author: Paul van der Walt <address@hidden>
Date:   Fri Oct 16 11:45:13 2015 +0200

    gnu: Add ghc-opengl.
    
    * gnu/packages/haskell.scm (ghc-opengl): New variable.
---
 gnu/packages/haskell.scm |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 5203cd0..792dce0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -940,6 +940,36 @@ It is basically a 1:1 mapping of GLU's C API, intended as 
a basis for a nicer
 interface.")
     (license bsd-3)))
 
+(define-public ghc-opengl
+  (package
+    (name "ghc-opengl")
+    (version "2.12.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/OpenGL/OpenGL-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1mcfb167jl75qc2hgylh83vf2jqizvyvkvhhb72adi2crc3zqz4b"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-text" ,ghc-text)
+       ("ghc-objectname" ,ghc-objectname)
+       ("ghc-gluraw" ,ghc-gluraw)
+       ("ghc-statevar" ,ghc-statevar)
+       ("ghc-openglraw" ,ghc-openglraw)))
+    (home-page
+     "http://www.haskell.org/haskellwiki/Opengl";)
+    (synopsis
+     "Bindings for the OpenGL graphics system")
+    (description
+     "A Haskell binding for the OpenGL graphics system (GL, version 4.5) and
+its accompanying utility library (GLU, version 1.3).")
+    (license bsd-3)))
+
 (define-public ghc-streaming-commons
   (package
     (name "ghc-streaming-commons")



reply via email to

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