-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgraphwiz.cabal
More file actions
138 lines (125 loc) · 3.24 KB
/
Copy pathgraphwiz.cabal
File metadata and controls
138 lines (125 loc) · 3.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
cabal-version: 3.4
name: graphwiz
synopsis: Monadic DOT graph builder DSL
version: 3.0.0
category: Data, Text
license: BSD-3-Clause
license-file: LICENSE
copyright: Copyright (C) 2025 Antoine Leblanc
maintainer: nicuveo@gmail.com
author: Antoine Leblanc
homepage: https://github.com/nicuveo/graphwiz#readme
bug-reports: https://github.com/nicuveo/graphwiz/issues
tested-with: GHC ==9.8 || ==9.10 || ==9.12
description: Small monadic DSL to build Graphviz DOT files.
extra-source-files:
.gitignore
.stylish-haskell.yaml
README.md
extra-doc-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/nicuveo/graphwiz.git
flag export-internals-for-coverage
description:
Whether internal modules should be exported so that coverage can be analyzed.
default: False
manual: True
common setup
default-language: GHC2021
default-extensions:
AllowAmbiguousTypes
ApplicativeDo
BlockArguments
DataKinds
DefaultSignatures
DerivingVia
FunctionalDependencies
GADTs
LambdaCase
MultiWayIf
NoImplicitPrelude
OverloadedStrings
PackageImports
RecordWildCards
RoleAnnotations
StrictData
TypeFamilies
ViewPatterns
ghc-options:
-Wall -Wcompat -Widentities -Wincomplete-uni-patterns
-Winvalid-haddock -Wpartial-fields -Wredundant-constraints -Wtabs
-Wunused-packages -Wno-unused-do-bind -fhide-source-paths
-foptimal-applicative-do -funbox-small-strict-fields
-fwrite-ide-info
library
import: setup
if flag(export-internals-for-coverage)
other-modules: Prelude
exposed-modules:
Text.Dot
Text.Dot.Attributes
Text.Dot.Build
Text.Dot.Monad
Text.Dot.Render
Text.Dot.Types
else
exposed-modules: Text.Dot
other-modules:
Prelude
Text.Dot.Attributes
Text.Dot.Build
Text.Dot.Monad
Text.Dot.Render
Text.Dot.Types
hs-source-dirs: common src
build-depends:
, base >=4.16 && <5
, containers <1
, hashable >=1 && <2
, lens >=5 && <6
, mtl >=2 && <3
, text >=2 && <3
, text-builder >=1 && <2
, transformers <1
, unordered-containers <1
test-suite tests
import: setup
type: exitcode-stdio-1.0
main-is: Tests.hs
other-modules:
Golden
Prelude
Reporter
hs-source-dirs: common test
ghc-options: -F -pgmF=tasty-autocollect
build-tool-depends: tasty-autocollect:tasty-autocollect
build-depends:
, base >=4.16 && <5
, containers
, directory
, filepath
, graphwiz
, hashable
, lens
, mtl
, stm
, tagged
, tasty
, tasty-autocollect
, tasty-golden
, text
, text-builder
, transformers
, unordered-containers
executable example
import: setup
main-is: Main.hs
hs-source-dirs: example
default-extensions: ImplicitPrelude
build-depends:
, base
, graphwiz
, lens
, text
, text-builder