Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 112 lines (93 sloc) 2.2 kb
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
1 name: event
2 version: 0.1
3 synopsis: Scalable event notification
1f2d341 @tibbe Initial import
tibbe authored
4 description:
5 Scalable event notification for file handles, sockets, timers, etc.
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
6 license: BSD3
7 license-file: LICENSE
8 author: Bryan O'Sullivan <bos@serpentine.com>
9 Johan Tibell <johan.tibell@gmail.com>
10 maintainer: Johan Tibell <johan.tibell@gmail.com>
11 category: System
12
78788da @bsl Added Array.hs tests
bsl authored
13 build-type: Custom
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
14 cabal-version: >= 1.6
7292f91 @tibbe Added a read-me file with instructions for contributing
tibbe authored
15 extra-source-files: README.md
1f2d341 @tibbe Initial import
tibbe authored
16
6173ac9 @gregorycollins Migrate tests to test-framework, add shell script to run hpc test covera...
authored
17 flag test
18 description: Build test program.
19 default: False
20
1f2d341 @tibbe Initial import
tibbe authored
21 library
22 exposed-modules:
69709dc @tibbe Added a Cabal file
tibbe authored
23 System.Event
24
25 other-modules:
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
26 System.Event.Array
27 System.Event.Internal
69709dc @tibbe Added a Cabal file
tibbe authored
28 System.Event.Vector
b4e785a @gregorycollins Added a data structure for tracking timeouts
authored
29 System.Event.TimeoutTable
30 System.Event.TimeoutTable.Internal
1f2d341 @tibbe Initial import
tibbe authored
31
32 build-depends:
69709dc @tibbe Added a Cabal file
tibbe authored
33 array,
34 base < 4.1,
5ba2f35 @tibbe Use IntMap instead of Vector for callbacks
tibbe authored
35 containers == 0.2.*,
69709dc @tibbe Added a Cabal file
tibbe authored
36 ghc-prim,
8fb9d81 @gregorycollins First draft of timeout support
authored
37 old-locale,
38 time < 1.2,
69709dc @tibbe Added a Cabal file
tibbe authored
39 unix
1f2d341 @tibbe Initial import
tibbe authored
40
9c3a288 @tibbe Added conditional compilation of backends
tibbe authored
41 if os(darwin)
42 other-modules:
43 System.Event.KQueue
44 cpp-options: -DBACKEND_KQUEUE
20912d7 @bsl Added more epoll basics
bsl authored
45 else
46 if os(linux)
47 other-modules:
48 System.Event.EPoll
49 cpp-options: -DBACKEND_EPOLL
9c3a288 @tibbe Added conditional compilation of backends
tibbe authored
50
51 extensions:
52 CPP,
53 ExistentialQuantification,
54 ForeignFunctionInterface,
55 MagicHash,
56 UnboxedTuples
57
69709dc @tibbe Added a Cabal file
tibbe authored
58 ghc-options: -Wall -funbox-strict-fields
1f2d341 @tibbe Initial import
tibbe authored
59 if impl(ghc >= 6.8)
60 ghc-options: -fwarn-tabs
61
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
62 hs-source-dirs:
63 src
64
6173ac9 @gregorycollins Migrate tests to test-framework, add shell script to run hpc test covera...
authored
65
66 Executable test
67 hs-source-dirs: src, tests
68 main-is: RunTests.hs
69
70 build-depends:
71 array,
72 base < 4.1,
73 containers == 0.2.*,
74 ghc-prim,
75 HUnit < 1.3,
76 old-locale,
77 QuickCheck == 1.2.0.0,
78 test-framework < 0.3,
79 test-framework-hunit < 0.3,
80 test-framework-quickcheck < 0.3,
81 time < 1.2,
82 unix
83
84 if os(darwin)
85 other-modules:
86 System.Event.KQueue
87 cpp-options: -DBACKEND_KQUEUE
88 else
89 if os(linux)
90 other-modules:
91 System.Event.EPoll
92 cpp-options: -DBACKEND_EPOLL
93
94 extensions:
95 CPP,
96 ExistentialQuantification,
97 ForeignFunctionInterface,
98 MagicHash,
99 UnboxedTuples
100
101 ghc-options: -Wall -funbox-strict-fields -fhpc
102 if impl(ghc >= 6.8)
103 ghc-options: -fwarn-tabs
104
105 if !flag(test)
106 buildable: False
107
108
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
109 source-repository head
110 type: git
111 location: git://github.com/tibbe/event.git
Something went wrong with that request. Please try again.