]> Git — Sourcephile - haskell/symantic-plaintext.git/blob - symantic-document.cabal
build: fix Nix package
[haskell/symantic-plaintext.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 symantic-base >= 0.3,
72 text >= 1.2,
73 transformers >= 0.5
74
75 test-suite symantic-document-tests
76 type: exitcode-stdio-1.0
77 hs-source-dirs: tests
78 main-is: Main.hs
79 other-modules:
80 HUnit
81 default-language: Haskell2010
82 default-extensions:
83 DataKinds
84 FlexibleContexts
85 FlexibleInstances
86 LambdaCase
87 MultiParamTypeClasses
88 NoImplicitPrelude
89 NoMonomorphismRestriction
90 OverloadedStrings
91 RecordWildCards
92 ScopedTypeVariables
93 TupleSections
94 TypeApplications
95 TypeFamilies
96 TypeOperators
97 ghc-options:
98 -Wall
99 -Wincomplete-uni-patterns
100 -Wincomplete-record-updates
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 symantic-base >= 0.3,
109 base >= 4.6 && < 5,
110 containers >= 0.5,
111 tasty >= 0.11,
112 tasty-hunit >= 0.9,
113 text >= 1.2,
114 transformers >= 0.5