Commit | Line | Data |
---|---|---|
6b34d01c RV |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages haskell-xyz) | |
20 | #:use-module (gnu packages) | |
21 | #:use-module (guix build-system haskell) | |
22 | #:use-module (guix download) | |
23 | #:use-module ((guix licenses) #:prefix license:) | |
24 | #:use-module (guix packages)) | |
25 | ||
79fcc5e5 RV |
26 | (define-public ghc-language-glsl |
27 | (package | |
28 | (name "ghc-language-glsl") | |
29 | (version "0.3.0") | |
30 | (source | |
31 | (origin | |
32 | (method url-fetch) | |
33 | (uri (string-append "https://hackage.haskell.org/package/" | |
34 | "language-glsl/language-glsl-" version ".tar.gz")) | |
35 | (sha256 | |
36 | (base32 | |
37 | "0hdg67ainlqpjjghg3qin6fg4p783m0zmjqh4rd5gyizwiplxkp1")))) | |
38 | (build-system haskell-build-system) | |
39 | (inputs `(("ghc-prettyclass" ,ghc-prettyclass))) | |
40 | (arguments | |
41 | `(#:tests? #f | |
42 | #:cabal-revision | |
43 | ("1" "10ac9pk4jy75k03j1ns4b5136l4kw8krr2d2nw2fdmpm5jzyghc5"))) | |
44 | (home-page "http://hackage.haskell.org/package/language-glsl") | |
45 | (synopsis "GLSL abstract syntax tree, parser, and pretty-printer") | |
46 | (description "This package is a Haskell library for the | |
47 | representation, parsing, and pretty-printing of GLSL 1.50 code.") | |
48 | (license license:bsd-3))) | |
49 | ||
6b34d01c RV |
50 | (define-public ghc-prettyclass |
51 | (package | |
52 | (name "ghc-prettyclass") | |
53 | (version "1.0.0.0") | |
54 | (source | |
55 | (origin | |
56 | (method url-fetch) | |
57 | (uri (string-append "https://hackage.haskell.org/package/" | |
58 | "prettyclass/prettyclass-" version ".tar.gz")) | |
59 | (sha256 | |
60 | (base32 | |
61 | "11l9ajci7nh1r547hx8hgxrhq8mh5gdq30pdf845wvilg9p48dz5")))) | |
62 | (build-system haskell-build-system) | |
63 | (home-page "http://hackage.haskell.org/package/prettyclass") | |
64 | (synopsis "Pretty printing class similar to Show") | |
65 | (description "This package provides a pretty printing class similar | |
66 | to @code{Show}, based on the HughesPJ pretty printing library. It | |
67 | provides the pretty printing class and instances for the Prelude | |
68 | types.") | |
69 | (license license:bsd-3))) |