forked from dmwit/encoding
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathencoding.cabal
149 lines (141 loc) · 4.04 KB
/
encoding.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
Name: encoding
Version: 0.8.2
Author: Henning Günther
Maintainer: [email protected]
License: BSD3
License-File: LICENSE
Synopsis: A library for various character encodings
Description:
Haskell has excellect handling of unicode, the Char type covers all unicode chars. Unfortunately, there's no possibility to read or write something to the outer world in an encoding other than ascii due to the lack of support for encodings. This library should help with that.
Category: Codec
Homepage: http://code.haskell.org/encoding/
Cabal-Version: >=1.8
Build-Type: Custom
Extra-Source-Files:
CHANGELOG
Data/Encoding/Preprocessor/Mapping.hs
Data/Encoding/Preprocessor/XMLMapping.hs
Data/Encoding/Preprocessor/XMLMappingBuilder.hs
Data/CharMap/Builder.hs
Data/Array/Static/Builder.hs
Data/Map/Static/Builder.hs
system_encoding.h
system_encoding.c
Flag systemEncoding
description: Provide the getSystemEncoding action to query the locale.
Source-Repository head
Type: git
Location: http://github.com/dmwit/encoding
Source-Repository this
Type: git
Location: http://github.com/dmwit/encoding
Tag: 0.8.2
Custom-Setup
Setup-Depends: base >=3 && <5,
Cabal >=2 && <3.0,
containers,
filepath,
ghc-prim,
HaXml >=1.22 && <1.27
Library
Build-Depends: array >=0.4 && <0.6,
base >=4 && <5,
binary >=0.7 && <0.10,
bytestring >=0.9 && <0.11,
containers >=0.4 && <0.7,
extensible-exceptions >=0.1 && <0.2,
ghc-prim >=0.3 && <0.6,
mtl >=2.0 && <2.3,
regex-compat >=0.71 && <0.96
Extensions: CPP
Exposed-Modules:
Data.Encoding
Data.Encoding.ByteSource
Data.Encoding.ByteSink
Data.Encoding.Exception
Control.Throws
Data.Encoding.ASCII
Data.Encoding.UTF8
Data.Encoding.UTF16
Data.Encoding.UTF32
Data.Encoding.KOI8R
Data.Encoding.KOI8U
Data.Encoding.ISO88591
Data.Encoding.ISO88592
Data.Encoding.ISO88593
Data.Encoding.ISO88594
Data.Encoding.ISO88595
Data.Encoding.ISO88596
Data.Encoding.ISO88597
Data.Encoding.ISO88598
Data.Encoding.ISO88599
Data.Encoding.ISO885910
Data.Encoding.ISO885911
Data.Encoding.ISO885913
Data.Encoding.ISO885914
Data.Encoding.ISO885915
Data.Encoding.ISO885916
Data.Encoding.CP1250
Data.Encoding.CP1251
Data.Encoding.CP1252
Data.Encoding.CP1253
Data.Encoding.CP1254
Data.Encoding.CP1255
Data.Encoding.CP1256
Data.Encoding.CP1257
Data.Encoding.CP1258
Data.Encoding.GB18030
Data.Encoding.BootString
Data.Encoding.MacOSRoman
Data.Encoding.JISX0201
Data.Encoding.JISX0208
Data.Encoding.JISX0212
Data.Encoding.ISO2022
Data.Encoding.ISO2022JP
Data.Encoding.ShiftJIS
Data.Encoding.CP437
Data.Encoding.CP737
Data.Encoding.CP775
Data.Encoding.CP850
Data.Encoding.CP852
Data.Encoding.CP855
Data.Encoding.CP857
Data.Encoding.CP860
Data.Encoding.CP861
Data.Encoding.CP862
Data.Encoding.CP863
Data.Encoding.CP864
Data.Encoding.CP865
Data.Encoding.CP866
Data.Encoding.CP869
Data.Encoding.CP874
Data.Encoding.CP932
System.IO.Encoding
Other-Modules:
Data.Encoding.Base
Data.Array.Static
Data.Map.Static
Data.Static
Data.CharMap
if impl(ghc >= 7.10)
GHC-Options: -fno-warn-tabs
if flag(systemEncoding)
Includes:
system_encoding.h
Install-Includes:
system_encoding.h
C-Sources:
system_encoding.c
CPP-Options: -DSYSTEM_ENCODING
test-suite encoding-test
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Main.hs
other-modules: Test.Tester
, Test.Tests
build-depends: base
, bytestring
, encoding
, HUnit
, QuickCheck
ghc-options: -threaded -rtsopts -with-rtsopts=-N