]> Git — Sourcephile - haskell/symantic-document.git/blob - symantic-document.cabal
build: add `git-chglog`
[haskell/symantic-document.git] / symantic-document.cabal
1 cabal-version: 3.0
2 name: symantic-document
3 maintainer: mailto:~julm/symantic-document@todo.code.sourcephile.fr
4 bug-reports: https://todo.code.sourcephile.fr/~julm/symantic-document
5 homepage: https://git.code.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 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-document
38
39 library
40 hs-source-dirs: src
41 exposed-modules:
42 Symantic.Document
43 Symantic.Document.Class
44 Symantic.Document.Plain
45 default-language: Haskell2010
46 default-extensions:
47 DataKinds
48 DefaultSignatures
49 FlexibleContexts
50 FlexibleInstances
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 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 -fhide-source-paths
101 -fprint-explicit-kinds
102 -- -O0
103 -- -fmax-simplifier-iterations=0
104 -- -dshow-passes
105 build-depends:
106 symantic-document,
107 base >= 4.6 && < 5,
108 containers >= 0.5,
109 tasty >= 0.11,
110 tasty-hunit >= 0.9,
111 text >= 1.2,
112 transformers >= 0.5