-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathasciidiagram.cabal
133 lines (121 loc) · 6.65 KB
/
asciidiagram.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
-- Initial hitaa.cabal generated by cabal init. For further documentation,
-- see http://haskell.org/cabal/users-guide/
name: asciidiagram
version: 1.3.3.3
synopsis: Pretty rendering of Ascii diagram into svg or png.
description:
Transform Ascii art diagram like this:
.
@
, \/---------+
+---------+ | |
| ASCII +----\>| Diagram |
+---------+ | |
| | +--+------\/
\\---*-----\/\<=======\/
@
.
Into this:
.
<<data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAR0AAABnCAQAAACXrV7jAAAH+UlEQVR4Xu3cbZCVZRkH8N++srssirgqqIKKGK4WphWQMjJjilCUaASklgCZKr6RpgphlRWK0kiZVqmmY5ImyppbZiU1lglqUCqb4bsk5oq87sKyu3dfmWGneFzZPQ9evw87c87HM//538+e67qPnSyEEEIIIYQQQgghhBBCCCGEEEIIodguqMjOFIbudsmWUS3Vg159foC8Kequ6IQe1XdWjbms58n2kT/V/zcbpXaOUF79h08eeVNVufzqluiEqu+MGPLTKlI8wGUS9mubfkNPmUXrhNNOaesryShaJ+wx/rNVsovWCeuPHCrJLFontJX2kl20Tthrt82pQmbROmG3yq2yi9YJNm8pSbKLGVYgrZFvfSiKAyt06YGVolE7J71vo2OjfKsWuik6SXYhWgftdh0hWidaJ6ITIjphgekas7dORCdMcJxJFsssohP6etQ8szQD0ToyCDOMMU5DZ6KzxAO+qvf785/zla7S240A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McpUGI6GSnwVHmeZdCGOkNSXYhqLHALiqEEEIIIYQQQgghhBBCCCGE8F9DWMtlMskJNQAAAABJRU5ErkJggg==>>
.
See the documentation of the Text.AsciiDiagram module for the
description of the input format.
license: BSD3
--license-file:
author: Vincent Berthoux
maintainer: [email protected]
-- copyright:
category: Text, Diagram
build-type: Simple
extra-source-files: changelog.md
extra-doc-files: docimages/*.svg
cabal-version: >=1.18
Source-Repository head
Type: git
Location: git://github.com/Twinside/asciidiagram.git
Source-Repository this
Type: git
Location: git://github.com/Twinside/asciidiagram.git
Tag: v1.3.3.3
library
ghc-options: -O2 -Wall
exposed-modules: Text.AsciiDiagram
other-modules: Text.AsciiDiagram.DiagramCleaner
, Text.AsciiDiagram.DefaultContext
, Text.AsciiDiagram.Geometry
, Text.AsciiDiagram.Graph
, Text.AsciiDiagram.Parser
, Text.AsciiDiagram.Reconstructor
, Text.AsciiDiagram.BoundingBoxEstimation
, Text.AsciiDiagram.SvgRender
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
else
-- provide/emulate `Control.Monad.Fail` and `Data.Semigroups` API for pre-GHC8
build-depends: fail == 4.9.*, semigroups == 0.18.*
-- containers >= 0.5.2.1 for Set.elemAt
build-depends: base >=4.6 && < 6
, vector >= 0.10
, bytestring
, text >= 1.2 && < 1.3
, linear >= 1.16
, containers >= 0.5
, mtl >= 2.1 && < 2.3
, lens >= 4.6
, svg-tree >= 0.6.2.4 && < 0.7
, rasterific-svg >= 0.3.1.2 && < 0.4
, FontyFruity >= 0.5 && < 0.6
, JuicyPixels >= 3.2
, pandoc-types
hs-source-dirs: src
default-language: Haskell2010
Executable asciidiagram
Main-Is: asciidiagram.hs
default-language: Haskell2010
ghc-options: -O2 -Wall
Hs-Source-Dirs: exec-src
Build-Depends: base >= 4.6
, directory >= 1.0
, bytestring
, optparse-applicative
, rasterific-svg
, JuicyPixels
, filepath
, asciidiagram
, svg-tree
, text
, FontyFruity
Test-suite docgen
type: exitcode-stdio-1.0
default-language: Haskell2010
Main-Is: docgen.hs
ghc-options: -Wall
Hs-Source-Dirs: exec-src
Build-Depends: base >= 4.6
, asciidiagram
, text
, containers
, svg-tree
, directory
, filepath
, rasterific-svg
, JuicyPixels
Test-Suite test
type: exitcode-stdio-1.0
default-language: Haskell2010
Main-Is: hitaa_test.hs
ghc-options: -Wall -O2
ghc-prof-options: -rtsopts -Wall -prof -auto-all
Hs-Source-Dirs: exec-src
Build-Depends: base >= 4.6
, asciidiagram
, text
, containers
--, groom
, svg-tree
, blaze-html
, directory
, filepath
, rasterific-svg
, JuicyPixels