diff options
author | Paul van der Walt <paul@denknerd.org> | 2015-10-16 11:45:13 +0200 |
---|---|---|
committer | Paul van der Walt <paul@denknerd.org> | 2015-10-23 09:10:52 +0200 |
commit | fe28ba703f1d72b15428d9c214251d6fd9bf3b5c (patch) | |
tree | ea2bbde04f388e9fed153024c2d691f96906505e /gnu/packages | |
parent | 74fa80ee684bfc985ead95c319aae47806b482d6 (diff) | |
download | patches-fe28ba703f1d72b15428d9c214251d6fd9bf3b5c.tar patches-fe28ba703f1d72b15428d9c214251d6fd9bf3b5c.tar.gz |
gnu: Add ghc-opengl.
* gnu/packages/haskell.scm (ghc-opengl): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/haskell.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 069d85c7d2..9c55153ad8 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -926,6 +926,34 @@ utility library. 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 "Haskell bindings for the OpenGL graphics system") + (description "This package provides Haskell bindings 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") |