-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathpackage.yaml
135 lines (123 loc) · 2.87 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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
name: fsnotify
version: 0.4.1.0
license: BSD3
license-file: LICENSE
author: Mark Dittmer <mark.s.dittmer@gmail.com>, Niklas Broberg
maintainer: Tom McLaughlin <tom@codedown.io>
category: Filesystem
homepage: https://github.com/haskell-fswatch/hfsnotify
synopsis: Cross platform library for file change notification.
description: Cross platform library for file creation, modification, and deletion notification. This library builds upon existing libraries for platform-specific Windows, Mac, and Linux filesystem event notification.
extra-source-files:
- README.md
- CHANGELOG.md
- test/Main.hs
when:
- condition: os(linux)
cpp-options: -DOS_Linux
- condition: os(windows)
cpp-options: -DOS_Win32
- condition: os(darwin)
cpp-options: -DOS_Mac
- condition: os(freebsd) || os(netbsd) || os(openbsd)
cpp-options: -DOS_BSD
default-extensions:
- ScopedTypeVariables
library:
source-dirs: src
other-modules:
- System.FSNotify.Find
- System.FSNotify.Listener
- System.FSNotify.Path
- System.FSNotify.Polling
- System.FSNotify.Types
when:
- condition: os(linux)
other-modules:
- System.FSNotify.Linux
- System.FSNotify.Linux.Util
dependencies:
- hinotify >= 0.3.7
- unix >= 2.7.1.0
- condition: os(windows)
source-dirs: win-src
other-modules:
- System.FSNotify.Win32
- System.Win32.FileNotify
- System.Win32.Notify
dependencies: Win32
- condition: os(darwin)
other-modules:
- System.FSNotify.OSX
dependencies: hfsevents >= 0.1.3
dependencies:
- async >= 2.0.0.0
- base >= 4.8 && < 5
- bytestring >= 0.10.2
- containers >= 0.4
- directory >= 1.3.0.0
- filepath >= 1.3.0.0
- monad-control >= 1.0.0.0
- safe-exceptions >= 0.1.0.0
- text >= 0.11.0
- time >= 1.1
- unix-compat >= 0.2
ghc-options:
- -Wall
exposed-modules:
- System.FSNotify
- System.FSNotify.Devel
executables:
example:
main: Main.hs
source-dirs:
- example
ghc-options:
- -threaded
- -Wall
dependencies:
- base
- directory
- exceptions
- filepath
- fsnotify
- monad-logger
- random
- retry
- safe-exceptions
- string-interpolate
- temporary
- unix-compat
- unliftio
tests:
tests:
main: Main.hs
source-dirs:
- test
ghc-options:
- -threaded
- -Wall
dependencies:
- async >= 2
- base >= 4.3.1.0
- directory
- exceptions
- filepath
- fsnotify
- monad-logger
- random
- retry
- safe-exceptions
- string-interpolate
- temporary
- unix-compat
- unliftio >= 0.2.20
when:
- condition: os(windows)
then:
dependencies:
- Win32
- sandwich >= 0.1.1.1 # Earliest version to support windows
else:
dependencies:
- sandwich