]> Git — Sourcephile - haskell/symantic-document.git/blob - symantic-document.cabal
move from stack to flake.nix and cabal
[haskell/symantic-document.git] / symantic-document.cabal
1 name: symantic-document
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 1.5.2.20200320
6 category: Text
7 synopsis: Symantics combinators for generating documents.
8 description:
9 Only generating plain text documents is supported for now,
10 those can however include ANSI escape sequences to use a 16 colors pallet.
11 .
12 Alternative: <ansi-wl-pprint https://hackage.haskell.org/package/ansi-wl-pprint>.
13 extra-doc-files:
14 license: GPL-3
15 license-file: COPYING
16 stability: experimental
17 author: Julien Moutinho <julm+symantic-document@sourcephile.fr>
18 maintainer: Julien Moutinho <julm+symantic-document@sourcephile.fr>
19 bug-reports: https://mails.sourcephile.fr/inbox/symantic-document
20 -- homepage:
21
22 build-type: Simple
23 cabal-version: 1.24
24 tested-with: GHC==8.10.4
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 location: git://git.sourcephile.fr/haskell/symantic-document
36 type: git
37
38 Library
39 exposed-modules:
40 Symantic.Document
41 Symantic.Document.API
42 Symantic.Document.Plain
43 default-language: Haskell2010
44 default-extensions:
45 DataKinds
46 DefaultSignatures
47 FlexibleContexts
48 FlexibleInstances
49 LambdaCase
50 MultiParamTypeClasses
51 NamedFieldPuns
52 NoImplicitPrelude
53 OverloadedStrings
54 RecordWildCards
55 ScopedTypeVariables
56 StandaloneDeriving
57 TupleSections
58 TypeApplications
59 TypeFamilies
60 TypeOperators
61 ghc-options:
62 -Wall
63 -Wincomplete-uni-patterns
64 -Wincomplete-record-updates
65 -fno-warn-tabs
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-test
74 type: exitcode-stdio-1.0
75 hs-source-dirs: test
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 -fno-warn-tabs
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