11cabal-version : 1.18
22name : network
3- version : 3.1.4 .0
3+ version : 3.2 .0
44license : BSD3
55license-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
208homepage : https://github.com/haskell/network
219bug-reports : https://github.com/haskell/network/issues
2210synopsis : Low-level networking interface
@@ -50,11 +38,6 @@ description:
5038
5139category : Network
5240build-type : Configure
53-
54- extra-doc-files :
55- README.md
56- CHANGELOG.md
57-
5841extra-source-files :
5942 examples/*.hs
6043 tests/*.hs
@@ -79,6 +62,10 @@ extra-tmp-files:
7962 network.buildinfo
8063 include/HsNetworkConfig.h
8164
65+ extra-doc-files :
66+ README.md
67+ CHANGELOG.md
68+
8269source-repository head
8370 type : git
8471 location : https://github.com/haskell/network.git
@@ -124,17 +111,17 @@ library
124111 include-dirs : include
125112 includes : HsNet.h HsNetDef.h alignment.h win32defs.h
126113 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-
131114 ghc-options : -Wall -fwarn-tabs
132115 build-depends :
133116 base >= 4.9 && < 5 ,
134117 bytestring >= 0.10 && < 0.12 ,
135118 deepseq,
136119 directory
137120
121+ if os(windows)
122+ includes : afunix_compat.h
123+ install-includes : afunix_compat.h
124+
138125 if !os(windows)
139126 other-modules :
140127 Network.Socket.ByteString.Lazy.Posix
@@ -168,12 +155,16 @@ library
168155 iphlpapi
169156 mswsock
170157
171- if impl(ghc >= 7.10 )
158+ build-depends : temporary
159+
160+ if impl(ghc >= 7.10 && < 9.0 )
172161 cpp-options : -D_WIN32_WINNT= 0 x0600
173162 cc-options : -D_WIN32_WINNT= 0 x0600
174163
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
177168
178169 if impl(ghc >= 8 )
179170 default-extensions : Strict StrictData
@@ -201,6 +192,9 @@ test-suite spec
201192 hspec >= 2.6 ,
202193 QuickCheck
203194
195+ if os(windows) && impl(ghc >= 9.0 )
196+ ghc-options : -with-rtsopts=--io-manager=native
197+
204198 if flag(devel)
205199 cpp-options : -DDEVELOPMENT
206200
0 commit comments