]> Git — Sourcephile - haskell/symantic-plaintext.git/blob - symantic-document.cabal
impl: cleanup tabs
[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 -fhide-source-paths
67 build-depends:
68 ansi-terminal >= 0.7,
69 base >= 4.6 && < 5,
70 text >= 1.2,
71 transformers >= 0.5
72
73 test-suite symantic-document-tests
74 type: exitcode-stdio-1.0
75 hs-source-dirs: tests
76 main-is: Main.hs
77 other-modules:
78 HUnit
79 default-language: Haskell2010
80 default-extensions:
81 DataKinds
82 FlexibleContexts
83 FlexibleInstances
84 LambdaCase
85 MultiParamTypeClasses
86 NoImplicitPrelude
87 NoMonomorphismRestriction
88 OverloadedStrings
89 RecordWildCards
90 ScopedTypeVariables
91 TupleSections
92 TypeApplications
93 TypeFamilies
94 TypeOperators
95 ghc-options:
96 -Wall
97 -Wincomplete-uni-patterns
98 -Wincomplete-record-updates
99 -fhide-source-paths
100 -fprint-explicit-kinds
101 -- -O0
102 -- -fmax-simplifier-iterations=0
103 -- -dshow-passes
104 build-depends:
105 symantic-document,
106 base >= 4.6 && < 5,
107 containers >= 0.5,
108 tasty >= 0.11,
109 tasty-hunit >= 0.9,
110 text >= 1.2,
111 transformers >= 0.5