-
Notifications
You must be signed in to change notification settings - Fork 0
/
haskell-src-meta-0.8.5.cabal
96 lines (80 loc) · 2.59 KB
/
haskell-src-meta-0.8.5.cabal
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name: haskell-src-meta
version: 0.8.5
x-revision: 1
cabal-version: >= 1.8
build-type: Simple
license: BSD3
license-file: LICENSE
category: Language, Template Haskell
author: Matt Morrow
copyright: (c) Matt Morrow
maintainer: danburton.email@gmail.com
bug-reports: https://github.com/DanBurton/haskell-src-meta/issues
tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.1
synopsis: Parse source to template-haskell abstract syntax.
description: The translation from haskell-src-exts abstract syntax
to template-haskell abstract syntax isn't 100% complete yet.
extra-source-files: ChangeLog README.md
library
build-depends: base >= 4.8 && < 5,
haskell-src-exts >= 1.18 && < 1.24,
pretty >= 1.0 && < 1.2,
syb >= 0.1 && < 0.8,
template-haskell >= 2.10 && < 2.17,
th-orphans >= 0.12 && < 0.14
if impl(ghc < 7.8)
build-depends: safe <= 0.3.9
hs-source-dirs: src
exposed-modules: Language.Haskell.Meta
Language.Haskell.Meta.Parse
Language.Haskell.Meta.Syntax.Translate
Language.Haskell.Meta.Utils
test-suite unit
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Main.hs
build-depends:
HUnit >= 1.2,
base >= 4.5,
haskell-src-exts >= 1.17,
haskell-src-meta,
pretty >= 1.0,
template-haskell >= 2.10,
tasty,
tasty-hunit
-- this is needed to access Control.Monad.Fail on GHCs before 8.0
if !impl(ghc >= 8.0)
Build-Depends:
fail == 4.9.*
test-suite splices
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Splices.hs
build-depends:
base,
haskell-src-exts,
haskell-src-meta,
template-haskell
test-suite examples
type: exitcode-stdio-1.0
hs-source-dirs: examples, tests
main-is: TestExamples.hs
build-depends:
base,
containers,
haskell-src-meta,
pretty,
syb,
template-haskell
-- this is needed to access Control.Monad.Fail on GHCs before 8.0
if !impl(ghc >= 8.0)
Build-Depends:
fail == 4.9.*
other-modules:
BF,
Hs,
HsHere,
SKI
source-repository head
type: git
location: git://github.com/danburton/haskell-src-meta.git