File: language-glsl.cabal

package info (click to toggle)
haskell-language-glsl 0.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 148 kB
  • sloc: haskell: 1,593; makefile: 6
file content (53 lines) | stat: -rw-r--r-- 1,558 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name:                language-glsl
version:             0.3.0
Cabal-Version:       >= 1.8
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.

category:            Language, Graphics
license:             BSD3
license-file:        LICENSE
author:              Vo Minh Thu
maintainer:          noteed@gmail.com
build-type:          Simple

extra-source-files:  glsl/sample-01.glsl

source-repository head
  type: git
  location: https://github.com/noteed/language-glsl

library
  build-depends:       base < 5,
                       parsec,
                       prettyclass
  ghc-options:         -Wall
  exposed-modules:     Language.GLSL,
                       Language.GLSL.Parser,
                       Language.GLSL.Pretty,
                       Language.GLSL.Syntax

executable glsl-pprint
  main-is:             glsl-pprint.hs
  hs-source-dirs:      bin/
  build-depends:       base < 5,
                       language-glsl,
                       parsec,
                       prettyclass
  ghc-options:         -Wall

Test-Suite tests
  Type:            exitcode-stdio-1.0
  build-depends:   base < 5,
                   HUnit,
                   language-glsl,
                   parsec,
                   prettyclass,
                   test-framework,
                   test-framework-hunit
  ghc-options:     -Wall
  Hs-Source-Dirs:  tests
  main-is:         Tests.hs