-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.yaml
56 lines (54 loc) · 1.23 KB
/
package.yaml
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
name: async-timer
version: '0.2.0.0'
synopsis: Provides API for timer based execution of IO actions
description: ! 'This is a lightweight package built on top of the async package
providing easy to use periodic timers. This can be used for executing
IO actions periodically.'
category: Concurrency
author: Moritz Clasmeier
maintainer: mtesseract@silverratio.net
copyright: (c) 2016-2018 Moritz Clasmeier
license: BSD3
github: mtesseract/async-timer
flags:
devel:
manual: true
default: false
when:
- condition: flag(devel)
then:
ghc-options:
- -Wall
- -fno-warn-type-defaults
- -Werror
else:
ghc-options:
- -Wall
- -fno-warn-type-defaults
extra-source-files:
- README.md
library:
source-dirs: src
exposed-modules:
- Control.Concurrent.Async.Timer
dependencies:
- base >= 4.9.1.0 && < 5
- safe-exceptions >= 0.1.5.0 && < 0.2
- unliftio >= 0.2.4.0 && < 0.3
- unliftio-core >= 0.1.1.0 && < 0.2
- safe-exceptions >= 0.1.7.0 && < 0.2
- async >= 2.2.1 && < 2.3
tests:
async-timer-test:
main: Spec.hs
source-dirs: test
default-extensions:
- OverloadedStrings
dependencies:
- tasty
- tasty-hunit
- base
- async-timer
- containers
- criterion
- async