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