[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36663] [PATCH 07/14] gnu: Add ghc-language-glsl
From: |
Robert Vollmert |
Subject: |
[bug#36663] [PATCH 07/14] gnu: Add ghc-language-glsl |
Date: |
Mon, 15 Jul 2019 13:14:05 +0200 |
* gnu/packages/haskell-xyz.scm: New module.
* gnu/local.mk: Add it.
* gnu/packages/haskell-xyz.scm (ghc-language-glsl): New package.
---
gnu/local.mk | 1 +
gnu/packages/haskell-xyz.scm | 59 ++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
create mode 100644 gnu/packages/haskell-xyz.scm
diff --git a/gnu/local.mk b/gnu/local.mk
index 67d9eb703a..af76145225 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -238,6 +238,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/haskell-check.scm \
%D%/packages/haskell-crypto.scm \
%D%/packages/haskell-web.scm \
+ %D%/packages/haskell-xyz.scm \
%D%/packages/ham-radio.scm \
%D%/packages/hexedit.scm \
%D%/packages/hugs.scm \
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
new file mode 100644
index 0000000000..9cfab15381
--- /dev/null
+++ b/gnu/packages/haskell-xyz.scm
@@ -0,0 +1,59 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 Robert Vollmert <address@hidden>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages haskell-xyz)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages haskell)
+ #:use-module (gnu packages haskell-check)
+ #:use-module (gnu packages haskell-crypto)
+ #:use-module (gnu packages haskell-web)
+ #:use-module (guix build-system haskell)
+ #:use-module (guix download)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages))
+
+(define-public ghc-language-glsl
+ (package
+ (name "ghc-language-glsl")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/language-glsl/language-glsl-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-prettyclass" ,ghc-prettyclass)))
+ (arguments
+ `(#:tests?
+ #f
+ #:cabal-revision
+ ("1"
+ "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5")))
+ (home-page
+ "http://hackage.haskell.org/package/language-glsl")
+ (synopsis
+ "GLSL abstract syntax tree, parser, and pretty-printer")
+ (description
+ "The package language-glsl is a Haskell library for the representation,
+the parsing, and the pretty-printing of GLSL 1.50 code.")
+ (license license:bsd-3)))
--
2.20.1 (Apple Git-117)
- [bug#36663] [PATCH 00/14] Add elm compiler dependencies, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 01/14] gnu: Add ghc-snap-core, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 02/14] gnu: add ghc-snap-server, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 06/14] gnu: Add ghc-openssl-streams, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 05/14] gnu: Add ghc-hsopenssl, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 04/14] gnu: Add ghc-http-common, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 09/14] gnu: Add ghc-io-streams-haproxy, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 03/14] gnu: Add ghc-http-streams, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 07/14] gnu: Add ghc-language-glsl,
Robert Vollmert <=
- [bug#36663] [PATCH 11/14] gnu: Add ghc-io-streams, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 10/14] gnu: Add ghc-zlib-bindings, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 12/14] gnu: Add ghc-prettyclass, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 13/14] gnu: Add ghc-threads, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 08/14] gnu: Add ghc-readable, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 14/14] gnu: Add ghc-concurrent-extra, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 01/14 v2] gnu: Add ghc-snap-core, Robert Vollmert, 2019/07/15
- [bug#36663] [PATCH 05/14 v2] gnu: Add ghc-hsopenssl, Robert Vollmert, 2019/07/15