-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathciteproc.cabal
174 lines (156 loc) · 5.54 KB
/
citeproc.cabal
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
cabal-version: 2.2
name: citeproc
version: 0.8.1.2
synopsis: Generates citations and bibliography from CSL styles.
description: citeproc parses CSL style files and uses them to
generate a list of formatted citations and bibliography
entries. For more information about CSL, see
<https://citationstyles.org/>.
license: BSD-2-Clause
license-file: LICENSE
author: John MacFarlane
maintainer: [email protected]
copyright: 2020 John MacFarlane
category: Text
build-type: Simple
extra-doc-files: README.md
, CHANGELOG.md
extra-source-files: stack.yaml
cabal.project
locales/*.xml
locales/locales.json
man/citeproc.1.md
man/citeproc.1
test/NOTES.md
test/csl/*.txt
test/extra/*.txt
test/overrides/*.txt
tested-with: GHC == 8.0.2, GHC == 8.2.2,
GHC == 8.4.4, GHC == 8.6.5,
GHC == 8.8.4, GHC == 8.10.7,
GHC == 9.0.2, GHC == 9.2.2
source-repository head
type: git
location: https://github.com/jgm/citeproc.git
flag icu
description: Use Haskell bindings to the ICU library
default: False
flag executable
description: Build citeproc executable
default: False
common hie-options
if impl(ghc >= 8.8)
ghc-options: -fwrite-ide-info -hiedir=.hie
library
import: hie-options
hs-source-dirs: src
exposed-modules: Citeproc
Citeproc.Types
Citeproc.Locale
Citeproc.Style
Citeproc.CslJson
Citeproc.Pandoc
Citeproc.Eval
Citeproc.CaseTransform
other-modules: Citeproc.Element
Citeproc.Data
Citeproc.Unicode
build-depends: base >= 4.8 && < 5
, safe
, bytestring
, text
, containers >= 0.6.0.1 && < 0.8
, transformers >= 0.5.6 && < 0.7
, case-insensitive >= 1.2 && < 1.3
, vector
, scientific
, uniplate
, xml-conduit
, attoparsec
, data-default >= 0.5.2
, aeson
, filepath
, file-embed
, pandoc-types >= 1.22 && < 1.24
, unicode-collation >= 0.1.3 && < 0.2
-- , pretty-show
if flag(icu)
build-depends: text-icu >= 0.7.1.0
ghc-options: -Wall
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -Wcpp-undef
if impl(ghc >= 8.4)
ghc-options: -Wincomplete-uni-patterns
-Widentities
-Werror=missing-home-modules
-fhide-source-paths
if impl(ghc < 8.8)
build-depends: base-compat >= 0.10
hs-source-dirs: prelude
other-modules: Prelude
default-language: Haskell2010
executable citeproc
import: hie-options
hs-source-dirs: app
main-is: Main.hs
build-depends: base >= 4.8 && < 5
, citeproc
, bytestring
, text
, aeson
, aeson-pretty
ghc-options: -Wall
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
-optP-Wno-nonportable-include-path
if impl(ghc >= 8.2)
ghc-options: -Wcpp-undef
if impl(ghc >= 8.4)
ghc-options: -Wincomplete-uni-patterns
-Widentities
-fhide-source-paths
default-language: Haskell2010
if flag(executable)
buildable: True
else
buildable: False
test-suite spec
import: hie-options
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends: base >= 4.8 && < 5
, citeproc
, bytestring
, text
, containers
, directory
, transformers
, mtl
, timeit
, Diff >= 1.0
, pretty
, filepath
, aeson
ghc-options: -Wall
-threaded
-rtsopts
-with-rtsopts=-N
-Wincomplete-record-updates
-Wcompat
-Widentities
-Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -Wcpp-undef
if impl(ghc >= 8.4)
ghc-options: -Wincomplete-uni-patterns
-Widentities
-Werror=missing-home-modules
-fhide-source-paths
default-language: Haskell2010