-
Notifications
You must be signed in to change notification settings - Fork 0
/
puzzle-draw.cabal
166 lines (160 loc) · 3.91 KB
/
puzzle-draw.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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
cabal-version: >=1.8
name: puzzle-draw
version: 0.3.4.3
license: MIT
license-file: LICENSE
maintainer: [email protected]
author: Robert Vollmert
synopsis: Creating graphics for pencil puzzles.
description:
puzzle-draw is a library and tool for drawing pencil
puzzles using Diagrams. It aims to provide a utility
layer on top of Diagrams to help with drawing arbitrary
puzzles, and to support several specific puzzles types
In addition, it includes functionality for parsing
puzzle data from a YAML file format.
category: Graphics
build-type: Simple
data-files:
data/fonts/*.svg
extra-source-files:
README.md
CHANGES.md
source-repository head
type: git
location: http://github.com/robx/puzzle-draw.git
library
exposed-modules:
Data.Lib
Data.Grid
Data.GridShape
Data.Util
Data.Elements
Data.Pyramid
Data.Sudoku
Data.Compose
Data.Component
Data.PuzzleTypes
Data.Code
Parse.Util
Parse.Parsec
Parse.Puzzle
Parse.PuzzleTypes
Parse.Code
Parse.Component
Draw.Generic
Draw.Style
Draw.GridShape
Draw.Render
Draw.Grid
Draw.Font
Draw.Lib
Draw.Elements
Draw.Widths
Draw.Pyramid
Draw.PuzzleGrids
Draw.PuzzleTypes
Draw.Draw
Draw.Code
Draw.CmdLine
Draw.Component
hs-source-dirs: src
ghc-options: -Wall
build-depends:
base >=4.8 && <5,
diagrams-lib >=1.4.2.3 && <1.5,
parsec >=3.1,
yaml >=0.8.4,
aeson >=0.7,
unordered-containers >=0.2,
containers >=0.5,
hashable >=1.2,
bytestring >=0.10,
text >=1.1,
svg-builder >=0.1,
SVGFonts >=1.7,
vector-space >=0.8,
mtl >=2.1,
optparse-applicative >=0.13,
filepath >=1.3,
linear >=1.20.8,
JuicyPixels,
Rasterific >=0.7.4.2,
diagrams-rasterific >=1.4.2,
diagrams-svg >=1.4.2,
file-embed >=0.0.10,
data-default-class >=0.1.2
executable drawpuzzle
main-is: drawpuzzle.hs
hs-source-dirs: src/tools
ghc-options: -Wall
build-depends:
base >=4.8 && <5,
puzzle-draw -any,
diagrams-lib >=1.4.2.3 && <1.5,
yaml >=0.8.4,
optparse-applicative >=0.12,
aeson >=0.7,
filepath >=1.3,
bytestring >=0.10,
diagrams-rasterific >=1.4.2,
diagrams-svg >=1.4.2
executable checkpuzzle
main-is: checkpuzzle.hs
hs-source-dirs: src/tools
ghc-options: -Wall
build-depends:
base >=4.8 && <5,
puzzle-draw -any,
yaml >=0.8.4,
containers >=0.5,
optparse-applicative >=0.12,
aeson >=0.7,
bytestring >=0.10,
filepath >=1.3
executable servepuzzle
main-is: Main.hs
hs-source-dirs: src/serve
ghc-options: -Wall
build-depends:
base >=4.2 && <5,
bytestring >=0.9.1,
mtl >=2,
snap-core >=0.9,
snap-server >=0.9,
diagrams-lib >=1.2,
aeson >=0.7,
yaml >=0.8.4,
filepath >=1.3,
directory >=1.2,
transformers >=0.3,
safe >= 0.3,
puzzle-draw -any
test-suite test
type: exitcode-stdio-1.0
main-is: tests.hs
hs-source-dirs: tests
other-modules:
Data
Util
Data.GridSpec
Data.GridShapeSpec
Draw.GridSpec
Draw.PuzzleTypesSpec
Parse.PuzzleTypesSpec
Parse.UtilSpec
ghc-options: -Wall
build-depends:
base >=4.8 && <5,
tasty >=0.8,
tasty-hspec >=1.1.5,
tasty-hunit >=0.8,
hspec >=2.5.4,
yaml >=0.8.4,
text >=1.1,
deepseq >=1.3,
containers >=0.5,
blaze-svg >=0.3,
diagrams-lib >=1.4.2.3 && <1.5,
bytestring >=0.10,
puzzle-draw -any