guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 13/21] gnu: Add ghc-openglraw.


From: Efraim Flashner
Subject: Re: [PATCH 13/21] gnu: Add ghc-openglraw.
Date: Sun, 18 Oct 2015 21:44:44 +0300

On Fri, 16 Oct 2015 15:11:57 +0200
Paul van der Walt <address@hidden> wrote:

> * 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
Two spaces between sentences                     ^^^
> +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)))
       ^^^ Only need this line once :)
> +
>  (define-public ghc-streaming-commons
>    (package
>      (name "ghc-streaming-commons")



-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: pgp0cj7AnHWdV.pgp
Description: OpenPGP digital signature


reply via email to

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