-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.yaml
More file actions
132 lines (123 loc) · 3.76 KB
/
package.yaml
File metadata and controls
132 lines (123 loc) · 3.76 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
name: pads-haskell
version: 0.1.0.0
github: "padsproj/pads-haskell"
license: MIT
author: "Kathleen Fisher and John Launchbury"
maintainer: "[email protected]"
copyright: "2011 Kathleen Fisher & John Launchbury"
extra-source-files:
- README.md
- ChangeLog.md
- examples/First.hs
- examples/AI.hs
- examples/Binary.hs
- extended/Extensible.hs
- extended/Main.hs
- examples/data/README
- examples/data/test_file
- examples/data/ai.3000
- examples/data/ai.big
- examples/data/binary
- examples/data/a2b.c
- examples/data/calls10.a
- examples/data/calls10.b
- examples/data/genBin.c
- examples/data/binTest.a
- examples/data/binTest.b
- examples/data/maps0
- Documentation/Info/PADS-Index.txt
- Documentation/Info/PackagesUsedInPads.txt
- Documentation/Info/Pads-grammar.tex
# Metadata used when publishing your package
synopsis: PADS data description language for Haskell.
category: Language
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on Github at <https://github.com/padsproj/pads-haskell#readme>
dependencies:
- base >= 4.7 && < 5
- bytestring >= 0.10 && < 0.11 # lts-13.25 = 0.10.8.2
- byteorder >= 1.0.4 && < 1.1 # lts-13.25 = 1.04
- containers >= 0.5.10 && < 0.7 # lts-13.25 = 0.6.0.1
- ghc-prim # lts-13.25 = 0.5.3
- haskell-src-meta >= 0.8 && < 0.9 # lts-13.25 = 0.8.2 Parsing Haskell code inside of a PADS description
- HUnit >= 1.6 && < 1.8 # lts-13.25 = 1.6.0.0
- mainland-pretty >= 0.6.1 && < 0.8 # lts-13.25 = 0.7
- mtl >= 2.2.2 && < 3 # lts-13.25 = 2.2.2
- mwc-random >= 0.13.6.0 && < 0.15 # lts-13.25 = 0.14.0.0
#- old-locale #
- parsec >= 3.1.13 && < 3.2
- random >= 1.1
- regex-posix >= 0.95.2 && < 0.96
- syb >= 0.7 && < 0.8 # Data.Generics
- template-haskell >= 2.14.0.0 && <= 2.15
- time >= 1.7.0 && < 1.8.1 # UTC and timezone in BaseTypes
- th-lift >= 0.7.11 && < 0.8 # Language.Haskell.TH.Lift (Lift(..))
- transformers >= 0.5 && < 0.6
#- th-lift >= 0.7.8 && < 0.7.9 # deriveLift
library:
source-dirs:
- src
exposed-modules:
- Language.Pads.BaseTypes
- Language.Pads.CodeGen
- Language.Pads.CoreBaseTypes
- Language.Pads.Errors
- Language.Pads.Generation
- Language.Pads.Generic
- Language.Pads.GenPretty
- Language.Pads.MetaData
- Language.Pads.Padsc
- Language.Pads.PadsParser
- Language.Pads.PadsPrinter
- Language.Pads.Parser
- Language.Pads.Pretty
- Language.Pads.Quote
- Language.Pads.RegExp
- Language.Pads.Source
- Language.Pads.Syntax
- Language.Pads.Testing
- Language.Pads.TH
- Language.Pads.Library.BigEndian
- Language.Pads.Library.BinaryUtilities
- Language.Pads.Library.LittleEndian
- Language.Pads.Library.Native
tests:
examples:
source-dirs:
- examples
main: Main.hs
ghc-options:
- -threaded
- -rtsopts
# All of the cores:
- -with-rtsopts=-N
dependencies:
- pads-haskell
- test-framework >= 0.8.2
- test-framework-hunit >= 0.3.0
- test-framework-quickcheck2 >= 0.3.0
- QuickCheck >= 2.10.1
- mtl >= 2.2.2
- random >= 1.1
# Add more examples like this one if you want to run tests separately from
# examples/Main.hs: (should your module be named something other than Main,
# the -main-is flag will be necessary):
gen:
main: examples/gen-testing/Main.hs
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- pads-haskell
extended:
main: Main.hs
source-dirs: extended
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- pads-haskell