]> Git — Sourcephile - haskell/symantic-plaintext.git/blob - symantic-document.cabal
iface: rename `Symantic.Document.{Lang => Class}`
[haskell/symantic-plaintext.git] / symantic-document.cabal
1 cabal-version: 3.0
2 name: symantic-document
3 maintainer: mailto:~julm/symantic-document@todo.hut.sourcephile.fr
4 bug-reports: https://todo.hut.sourcephile.fr/~julm/symantic-document
5 homepage: https://git.hut.sourcephile.fr/~julm/symantic-document
6 author: Julien Moutinho <julm+symantic-document@sourcephile.fr>
7 copyright: Julien Moutinho <julm+symantic-document@sourcephile.fr>
8 license: AGPL-3.0-or-later
9 license-file: LICENSES/AGPL-3.0-or-later.txt
10 -- PVP: +-+------- breaking API changes
11 -- | | +----- non-breaking API additions
12 -- | | | +--- code changes with no API change
13 version: 1.5.3.20200320
14 stability: experimental
15 category: Text
16 synopsis: Symantics combinators for generating documents.
17 description:
18 Only generating plain text documents is supported for now,
19 those can however include ANSI escape sequences to use a 16 colors pallet.
20 .
21 Alternative: <ansi-wl-pprint https://hackage.haskell.org/package/ansi-wl-pprint>.
22 build-type: Simple
23 tested-with: GHC==8.10.4
24 extra-doc-files:
25 extra-source-files:
26 cabal.project
27 default.nix
28 .envrc
29 flake.lock
30 flake.nix
31 shell.nix
32 extra-tmp-files:
33
34 source-repository head
35 type: git
36 location: https://git.hut.sourcephile.fr/~julm/symantic-document
37
38 library
39 hs-source-dirs: src
40 exposed-modules:
41 Symantic.Document
42 Symantic.Document.Class
43 Symantic.Document.Plain
44 default-language: Haskell2010
45 default-extensions:
46 DataKinds
47 DefaultSignatures
48 FlexibleContexts
49 FlexibleInstances
50 LambdaCase
51 MultiParamTypeClasses
52 NamedFieldPuns
53 NoImplicitPrelude
54 OverloadedStrings
55 RecordWildCards
56 ScopedTypeVariables
57 StandaloneDeriving
58 TupleSections
59 TypeApplications
60 TypeFamilies
61 TypeOperators
62 ghc-options:
63 -Wall
64 -Wincomplete-uni-patterns
65 -Wincomplete-record-updates
66 -fno-warn-tabs
67 -fhide-source-paths
68 build-depends:
69 ansi-terminal >= 0.7,
70 base >= 4.6 && < 5,
71 text >= 1.2,
72 transformers >= 0.5
73
74 test-suite symantic-document-tests
75 type: exitcode-stdio-1.0
76 hs-source-dirs: tests
77 main-is: Main.hs
78 other-modules:
79 HUnit
80 default-language: Haskell2010
81 default-extensions:
82 DataKinds
83 FlexibleContexts
84 FlexibleInstances
85 LambdaCase
86 MultiParamTypeClasses
87 NoImplicitPrelude
88 NoMonomorphismRestriction
89 OverloadedStrings
90 RecordWildCards
91 ScopedTypeVariables
92 TupleSections
93 TypeApplications
94 TypeFamilies
95 TypeOperators
96 ghc-options:
97 -Wall
98 -Wincomplete-uni-patterns
99 -Wincomplete-record-updates
100 -fno-warn-tabs
101 -fhide-source-paths
102 -fprint-explicit-kinds
103 -- -O0
104 -- -fmax-simplifier-iterations=0
105 -- -dshow-passes
106 build-depends:
107 symantic-document,
108 base >= 4.6 && < 5,
109 containers >= 0.5,
110 tasty >= 0.11,
111 tasty-hunit >= 0.9,
112 text >= 1.2,
113 transformers >= 0.5