]> Git — Sourcephile - haskell/symantic-plaintext.git/blob - symantic-formatter.cabal
impl: cleanup
[haskell/symantic-plaintext.git] / symantic-formatter.cabal
1 cabal-version: 3.0
2 name: symantic-formatter
3 maintainer: mailto:~julm/symantic-formatter@todo.code.sourcephile.fr
4 bug-reports: https://todo.code.sourcephile.fr/~julm/symantic-formatter
5 homepage: https://git.code.sourcephile.fr/~julm/symantic-formatter
6 author: Julien Moutinho <julm+symantic-formatter@sourcephile.fr>
7 copyright: Julien Moutinho <julm+symantic-formatter@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: 2.0.0.20211020
14 stability: experimental
15 category: Text
16 synopsis: Symantics combinators to output formatted data.
17 description:
18 Only a plain text formatter is implemented 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 ChangeLog.md
26 extra-source-files:
27 cabal.project
28 default.nix
29 .envrc
30 flake.lock
31 flake.nix
32 shell.nix
33 extra-tmp-files:
34
35 source-repository head
36 type: git
37 location: https://git.code.sourcephile.fr/~julm/symantic-formatter
38
39 library
40 hs-source-dirs: src
41 exposed-modules:
42 Symantic.Formatter
43 Symantic.Formatter.Class
44 Symantic.Formatter.Debug
45 Symantic.Formatter.Output
46 Symantic.Formatter.Plain
47 default-language: Haskell2010
48 default-extensions:
49 DataKinds
50 DefaultSignatures
51 FlexibleContexts
52 FlexibleInstances
53 LambdaCase
54 MultiParamTypeClasses
55 NamedFieldPuns
56 NoImplicitPrelude
57 OverloadedStrings
58 RecordWildCards
59 ScopedTypeVariables
60 StandaloneDeriving
61 TupleSections
62 TypeApplications
63 TypeFamilies
64 TypeOperators
65 ghc-options:
66 -Wall
67 -Wincomplete-uni-patterns
68 -Wincomplete-record-updates
69 -fhide-source-paths
70 build-depends:
71 ansi-terminal >= 0.7,
72 base >= 4.6 && < 5,
73 symantic-base >= 0.3,
74 text >= 1.2,
75 transformers >= 0.5
76
77 test-suite symantic-formatter-tests
78 type: exitcode-stdio-1.0
79 hs-source-dirs: tests
80 main-is: Main.hs
81 other-modules:
82 HUnit
83 default-language: Haskell2010
84 default-extensions:
85 DataKinds
86 FlexibleContexts
87 FlexibleInstances
88 LambdaCase
89 MultiParamTypeClasses
90 NoImplicitPrelude
91 NoMonomorphismRestriction
92 OverloadedStrings
93 RecordWildCards
94 ScopedTypeVariables
95 TupleSections
96 TypeApplications
97 TypeFamilies
98 TypeOperators
99 ghc-options:
100 -Wall
101 -Wincomplete-uni-patterns
102 -Wincomplete-record-updates
103 -fhide-source-paths
104 -fprint-explicit-kinds
105 -- -O0
106 -- -fmax-simplifier-iterations=0
107 -- -dshow-passes
108 build-depends:
109 symantic-formatter,
110 symantic-base >= 0.3,
111 base >= 4.6 && < 5,
112 containers >= 0.5,
113 tasty >= 0.11,
114 tasty-hunit >= 0.9,
115 text >= 1.2,
116 transformers >= 0.5