diff options
| author | Paul van der Walt <paul@denknerd.org> | 2015-10-16 11:36:58 +0200 |
|---|---|---|
| committer | Paul van der Walt <paul@denknerd.org> | 2015-10-23 09:10:52 +0200 |
| commit | c480b85e662cabb8a111873e193ebf27bcac17a0 (patch) | |
| tree | 9b2ad60e8ce38bb6cc1f6d0c00c2abdac377ac86 | |
| parent | 22db3ce71a85d8cfc697f5fdca3ec353ee80db52 (diff) | |
gnu: Add ghc-openglraw.
* gnu/packages/haskell.scm (ghc-openglraw): New variable.
| -rw-r--r-- | 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 05031f240e2..49ce141e2fe 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #:use-module (gnu packages perl) | 30 | #:use-module (gnu packages perl) |
| 31 | #:use-module (gnu packages compression) | 31 | #:use-module (gnu packages compression) |
| 32 | #:use-module (gnu packages elf) | 32 | #:use-module (gnu packages elf) |
| 33 | #:use-module (gnu packages gl) | ||
| 33 | #:use-module (gnu packages bootstrap) | 34 | #:use-module (gnu packages bootstrap) |
| 34 | #:use-module (gnu packages zip) | 35 | #:use-module (gnu packages zip) |
| 35 | #:use-module (gnu packages gcc) | 36 | #:use-module (gnu packages gcc) |
| @@ -846,6 +847,38 @@ attacks.") | |||
| 846 | computation library for Haskell.") | 847 | computation library for Haskell.") |
| 847 | (license bsd-3))) | 848 | (license bsd-3))) |
| 848 | 849 | ||
| 850 | (define-public ghc-openglraw | ||
| 851 | (package | ||
| 852 | (name "ghc-openglraw") | ||
| 853 | (version "2.5.1.0") | ||
| 854 | (source | ||
| 855 | (origin | ||
| 856 | (method url-fetch) | ||
| 857 | (uri (string-append | ||
| 858 | "http://hackage.haskell.org/package/OpenGLRaw/OpenGLRaw-" | ||
| 859 | version | ||
| 860 | ".tar.gz")) | ||
| 861 | (sha256 | ||
| 862 | (base32 | ||
| 863 | "1kfq24mxg922ml3kkmym2qfpc56jbmrfbiix4rc2cxlwv05i191k")))) | ||
| 864 | (build-system haskell-build-system) | ||
| 865 | (inputs | ||
| 866 | `(("ghc-half" ,ghc-half) | ||
| 867 | ("glu" ,glu) | ||
| 868 | ("ghc-text" ,ghc-text))) | ||
| 869 | (home-page "http://www.haskell.org/haskellwiki/Opengl") | ||
| 870 | (synopsis "Raw Haskell bindings for the OpenGL graphics system") | ||
| 871 | (description "OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 | ||
| 872 | graphics system and lots of OpenGL extensions. It is basically a 1:1 mapping | ||
| 873 | of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw | ||
| 874 | offers access to all necessary functions, tokens and types plus a general | ||
| 875 | facility for loading extension entries. The module hierarchy closely mirrors | ||
| 876 | the naming structure of the OpenGL extensions, making it easy to find the | ||
| 877 | right module to import. All API entries are loaded dynamically, so no special | ||
| 878 | C header files are needed for building this package. If an API entry is not | ||
| 879 | found at runtime, a userError is thrown.") | ||
| 880 | (license bsd-3))) | ||
| 881 | |||
| 849 | (define-public ghc-streaming-commons | 882 | (define-public ghc-streaming-commons |
| 850 | (package | 883 | (package |
| 851 | (name "ghc-streaming-commons") | 884 | (name "ghc-streaming-commons") |
