guix-devel
[Top][All Lists]
Advanced

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

[PATCH 17/21] gnu: Add ghc-glut.


From: Paul van der Walt
Subject: [PATCH 17/21] gnu: Add ghc-glut.
Date: Fri, 16 Oct 2015 15:12:01 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9aa6593..97b518e 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -918,6 +918,36 @@ needed for building this package.  If an API entry is not 
found at runtime, a
 userError is thrown.")
     (license bsd-3)))
 
+(define-public ghc-glut
+  (package
+    (name "ghc-glut")
+    (version "2.7.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/GLUT/GLUT-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1qfilpc10jm47anan44c20y8mh76f2dv09m5d22gk0f7am7hg4k2"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-statevar" ,ghc-statevar)
+       ("ghc-openglraw" ,ghc-openglraw)))
+    (inputs
+     `(("ghc-opengl" ,ghc-opengl)
+       ("freeglut" ,freeglut)))
+    (home-page
+     "http://www.haskell.org/haskellwiki/Opengl";)
+    (synopsis
+     "A binding for the OpenGL Utility Toolkit")
+    (description
+     "A Haskell binding for the OpenGL Utility Toolkit, a window system
+independent toolkit for writing OpenGL programs.")
+    (license bsd-3)))
+
 (define-public ghc-gluraw
   (package
     (name "ghc-gluraw")
-- 
2.6.1




reply via email to

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