From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 13/21] gnu: Add ghc-openglraw. Date: Fri, 16 Oct 2015 15:11:57 +0200 Message-ID: <1445001125-20534-13-git-send-email-paul@denknerd.org> References: <1445001125-20534-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn4o7-0004dC-Aw for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn4o2-0002XA-Ie for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:27 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:53751 helo=mx-out02.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn4o2-0002Wn-C1 for guix-devel@gnu.org; Fri, 16 Oct 2015 09:12:22 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out02.mykolab.com (Postfix) with ESMTPS id 98598636E2 for ; Fri, 16 Oct 2015 15:12:20 +0200 (CEST) In-Reply-To: <1445001125-20534-1-git-send-email-paul@denknerd.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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 +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))) + (define-public ghc-streaming-commons (package (name "ghc-streaming-commons") -- 2.6.1