1
1
cabal-version : 1.18
2
2
name : network
3
- version : 3.1.4 .0
3
+ version : 3.2 .0
4
4
license : BSD3
5
5
license-file : LICENSE
6
- maintainer : Kazu Yamamoto, Evan Borden
7
-
8
- tested-with :
9
- GHC == 9.6.1
10
- GHC == 9.4.4
11
- GHC == 9.2.7
12
- GHC == 9.0.2
13
- GHC == 8.10.7
14
- GHC == 8.8.4
15
- GHC == 8.6.5
16
- GHC == 8.4.4
17
- GHC == 8.2.2
18
- GHC == 8.0.2
19
-
6
+ maintainer : Kazu Yamamoto, Tamar Christina
7
+ tested-with : ghc == 9.6.2 ghc == 9.4.5 ghc == 9.2.7 ghc == 9.0.2
20
8
homepage : https://github.com/haskell/network
21
9
bug-reports : https://github.com/haskell/network/issues
22
10
synopsis : Low-level networking interface
@@ -50,11 +38,6 @@ description:
50
38
51
39
category : Network
52
40
build-type : Configure
53
-
54
- extra-doc-files :
55
- README.md
56
- CHANGELOG.md
57
-
58
41
extra-source-files :
59
42
examples/*.hs
60
43
tests/*.hs
@@ -79,6 +62,10 @@ extra-tmp-files:
79
62
network.buildinfo
80
63
include/HsNetworkConfig.h
81
64
65
+ extra-doc-files :
66
+ README.md
67
+ CHANGELOG.md
68
+
82
69
source-repository head
83
70
type : git
84
71
location : https://github.com/haskell/network.git
@@ -124,17 +111,17 @@ library
124
111
include-dirs : include
125
112
includes : HsNet.h HsNetDef.h alignment.h win32defs.h
126
113
install-includes : HsNet.h HsNetDef.h alignment.h win32defs.h
127
- if os(windows)
128
- includes : afunix_compat.h
129
- install-includes : afunix_compat.h
130
-
131
114
ghc-options : -Wall -fwarn-tabs
132
115
build-depends :
133
116
base >= 4.9 && < 5 ,
134
117
bytestring >= 0.10 && < 0.12 ,
135
118
deepseq,
136
119
directory
137
120
121
+ if os(windows)
122
+ includes : afunix_compat.h
123
+ install-includes : afunix_compat.h
124
+
138
125
if !os(windows)
139
126
other-modules :
140
127
Network.Socket.ByteString.Lazy.Posix
@@ -168,12 +155,16 @@ library
168
155
iphlpapi
169
156
mswsock
170
157
171
- if impl(ghc >= 7.10 )
158
+ build-depends : temporary
159
+
160
+ if impl(ghc >= 7.10 && < 9.0 )
172
161
cpp-options : -D_WIN32_WINNT= 0 x0600
173
162
cc-options : -D_WIN32_WINNT= 0 x0600
174
163
175
- build-depends :
176
- temporary
164
+ if impl(ghc >= 9.0 )
165
+ cpp-options : -D_WIN32_WINNT= 0 x0601
166
+ cc-options : -D_WIN32_WINNT= 0 x0601
167
+ build-depends : Win32 >= 2.12.0.1
177
168
178
169
test-suite spec
179
170
type : exitcode-stdio-1.0
@@ -198,5 +189,8 @@ test-suite spec
198
189
hspec >= 2.6 ,
199
190
QuickCheck
200
191
192
+ if os(windows) && impl(ghc >= 9.0 )
193
+ ghc-options : -with-rtsopts=--io-manager=native
194
+
201
195
if flag(devel)
202
196
cpp-options : -DDEVELOPMENT
0 commit comments