-
Notifications
You must be signed in to change notification settings - Fork 42
/
text-icu.cabal
177 lines (166 loc) · 4.71 KB
/
text-icu.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
174
175
176
177
cabal-version: 1.18
-- 1.18 introduced extra-doc-files
name: text-icu
version: 0.8.0.5
synopsis: Bindings to the ICU library
homepage: https://github.com/haskell/text-icu
bug-reports: https://github.com/haskell/text-icu/issues
description:
Haskell bindings to the International Components for Unicode (ICU)
libraries. These libraries provide robust and full-featured Unicode
services on a wide variety of platforms.
.
Features include:
.
* Both pure and impure bindings, to allow for fine control over efficiency
and ease of use.
.
* Breaking of strings on character, word, sentence, and line boundaries.
.
* Access to the Unicode Character Database (UCD) of character metadata.
.
* String collation functions, for locales where the conventions for
lexicographic ordering differ from the simple numeric ordering of
character codes.
.
* Character set conversion functions, allowing conversion between
Unicode and over 220 character encodings.
.
* Unicode normalization. (When implementations keep strings in a
normalized form, they can be assured that equivalent strings have a
unique binary representation.)
.
* Regular expression search and replace.
.
* Security checks for visually confusable (spoofable) strings.
.
* Bidirectional Unicode algorithm
.
* Calendar objects holding dates and times.
.
* Number and calendar formatting.
maintainer: Vladimir Shabanov <[email protected]>
copyright: 2009-2015 Bryan O'Sullivan
category: Data, Text
license: BSD3
license-file: LICENSE
build-type: Simple
extra-doc-files:
README.markdown
changelog.md
extra-source-files:
benchmarks/Breaker.hs
include/hs_text_icu.h
tested-with:
GHC == 9.10.1
GHC == 9.8.2
GHC == 9.6.6
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
flag homebrew
Description: Assume homebrew on macOS. Automatically add /usr/local/opt/ and /opt/homebrew/opt/ paths to extra-lib-dirs and include-dirs.
Default: True
Manual: True
library
default-language: Haskell98
build-depends:
base >= 4.9 && < 5,
bytestring >= 0.9 && < 0.13,
deepseq >= 1.4.2.0 && < 1.6,
text >= 0.9.1.0 && < 1.3 || >= 2.0 && < 2.2,
time >= 1.5 && < 1.15
pkgconfig-depends:
icu-i18n >= 62.1
exposed-modules:
Data.Text.ICU
Data.Text.ICU.BiDi
Data.Text.ICU.Calendar
Data.Text.ICU.Break
Data.Text.ICU.Char
Data.Text.ICU.CharsetDetection
Data.Text.ICU.Collate
Data.Text.ICU.Convert
Data.Text.ICU.DateFormatter
Data.Text.ICU.Error
Data.Text.ICU.Locale
Data.Text.ICU.Normalize
Data.Text.ICU.Number
Data.Text.ICU.Normalize2
Data.Text.ICU.NumberFormatter
Data.Text.ICU.Regex
Data.Text.ICU.Shape
Data.Text.ICU.Spoof
Data.Text.ICU.Types
other-modules:
Data.Text.ICU.BiDi.Internal
Data.Text.ICU.BitMask
Data.Text.ICU.Break.Pure
Data.Text.ICU.Break.Types
Data.Text.ICU.CharsetDetection.Internal
Data.Text.ICU.Collate.Internal
Data.Text.ICU.Collate.Pure
Data.Text.ICU.Number.Internal
Data.Text.ICU.Convert.Internal
Data.Text.ICU.Enumerator
Data.Text.ICU.Error.Internal
Data.Text.ICU.Internal
Data.Text.ICU.Iterator
Data.Text.ICU.Normalize.Internal
Data.Text.ICU.Regex.Internal
Data.Text.ICU.Regex.Pure
Data.Text.ICU.Spoof.Internal
Data.Text.ICU.Spoof.Pure
Data.Text.ICU.Text
c-sources: cbits/text_icu.c
cc-options: -Wall -Wextra -pedantic -Wno-deprecated
include-dirs: include
if os(darwin) && flag(homebrew)
extra-lib-dirs:
/usr/local/opt/icu4c/lib
/opt/homebrew/opt/icu4c/lib
include-dirs:
/usr/local/opt/icu4c/include
/opt/homebrew/opt/icu4c/include
extra-libraries: icuuc
if os(mingw32)
extra-libraries: icuin icudt icuio
else
extra-libraries: icui18n icudata
ghc-options: -Wall
if impl(ghc >= 8.0)
ghc-options: -Wcompat
test-suite tests
default-language: Haskell98
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Tests.hs
other-modules: Properties QuickCheckUtils
ghc-options:
-Wall -threaded -rtsopts
build-depends:
HUnit >= 1.2,
QuickCheck >= 2.4,
array,
base,
bytestring,
deepseq,
directory,
ghc-prim,
random,
test-framework >= 0.4,
test-framework-hunit >= 0.2,
test-framework-quickcheck2 >= 0.2,
text,
text-icu
if impl(ghc <= 8.2)
build-depends: semigroups
source-repository head
type: git
location: https://github.com/haskell/text-icu