-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsocket.cabal
105 lines (100 loc) · 3.22 KB
/
socket.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
name: socket
version: 0.8.3.0
synopsis: An extensible socket library.
description:
This library is a minimal cross-platform interface for
BSD style networking.
license: MIT
license-file: LICENSE
author: Lars Petersen
maintainer: [email protected]
category: System, Network
build-type: Simple
cabal-version: >=1.10
homepage: https://github.com/lpeterse/haskell-socket
bug-reports: https://github.com/lpeterse/haskell-socket/issues
tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.3, GHC==8.8.3
extra-source-files: README.md
CHANGELOG.md
CONTRIBUTORS.txt
platform/linux/src/System/Socket/Internal/Platform.hsc
platform/linux/include/hs_socket.h
platform/linux/cbits/hs_socket.c
platform/win32/src/System/Socket/Internal/Platform.hsc
platform/win32/include/hs_socket.h
platform/win32/cbits/hs_socket.c
library
exposed-modules: System.Socket
, System.Socket.Family.Inet
, System.Socket.Family.Inet6
, System.Socket.Type.Raw
, System.Socket.Type.Datagram
, System.Socket.Type.Stream
, System.Socket.Type.SequentialPacket
, System.Socket.Protocol.UDP
, System.Socket.Protocol.TCP
, System.Socket.Protocol.Default
, System.Socket.Unsafe
other-modules: System.Socket.Internal.Socket
, System.Socket.Internal.SocketOption
, System.Socket.Internal.Exception
, System.Socket.Internal.Message
, System.Socket.Internal.AddressInfo
, System.Socket.Internal.Platform
build-depends: base >= 4.7 && < 5
, bytestring < 0.11
hs-source-dirs: src
build-tools: hsc2hs
default-language: Haskell2010
install-includes: hs_socket.h
ghc-options: -Wall
if os(windows)
include-dirs: platform/win32/include
hs-source-dirs: platform/win32/src
c-sources: platform/win32/cbits/hs_socket.c
extra-libraries: ws2_32
else
include-dirs: platform/linux/include
hs-source-dirs: platform/linux/src
c-sources: platform/linux/cbits/hs_socket.c
test-suite default
default-language:
Haskell2010
type:
exitcode-stdio-1.0
hs-source-dirs:
test
main-is:
test.hs
build-depends:
base >= 4.7 && < 5
, tasty
, tasty-hunit
, tasty-quickcheck
, QuickCheck >= 2.9
, async
, bytestring
, socket
test-suite threaded
default-language:
Haskell2010
type:
exitcode-stdio-1.0
hs-source-dirs:
test
main-is:
test.hs
ghc-options:
-threaded
build-depends:
base >= 4.7 && < 5
, tasty
, tasty-hunit
, tasty-quickcheck
, QuickCheck >= 2.9
, async
, bytestring
, socket
source-repository head
type: git
location: git://github.com/lpeterse/haskell-socket.git