File: hinotify.cabal

package info (click to toggle)
haskell-hinotify 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 112 kB
  • sloc: haskell: 245; makefile: 2
file content (92 lines) | stat: -rw-r--r-- 2,725 bytes parent folder | download
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
name:               hinotify
version:            0.4.2
build-type:         Simple
synopsis:           Haskell binding to inotify
description:
    This library provides a wrapper to the Linux Kernel's inotify feature,
    allowing applications to subscribe to notifications when a file is
    accessed or modified.
category:           System
homepage:           https://github.com/kolmodin/hinotify
bug-reports:        https://github.com/kolmodin/hinotify/issues
license:            BSD3
license-file:       LICENSE
author:             Lennart Kolmodin
maintainer:         Tom McLaughlin <tom@codedown.io>
extra-source-files: README.md, CHANGELOG.md
cabal-version:      >= 1.10

source-repository head
  type: git
  location: git://github.com/kolmodin/hinotify.git

library
    default-language: Haskell2010
    build-depends:  base >= 4.5.0.0 && < 5, bytestring, containers, unix,
                    async == 2.*

    exposed-modules:
        System.INotify
    other-modules:
        System.INotify.Masks

    ghc-options: -Wall
    includes: sys/inotify.h
    hs-source-dirs: src

    if os(freebsd) || os(netbsd) || os(openbsd)
      extra-libraries: inotify

test-suite test001
    type: exitcode-stdio-1.0
    default-language: Haskell2010
    build-depends: base, bytestring, directory, hinotify, unix
    hs-source-dirs: src tests
    main-is: test001-list-dir-contents.hs
    other-modules: Utils
    ghc-options: -Wall

test-suite test002
    type: exitcode-stdio-1.0
    default-language: Haskell2010
    build-depends: base, bytestring, directory, hinotify, unix
    hs-source-dirs: src tests
    main-is: test002-writefile.hs
    other-modules: Utils
    ghc-options: -Wall

test-suite test003
    type: exitcode-stdio-1.0
    default-language: Haskell2010
    build-depends: base, bytestring, directory, hinotify, unix
    hs-source-dirs: src tests
    main-is: test003-removefile.hs
    other-modules: Utils
    ghc-options: -Wall

test-suite test004
    type: exitcode-stdio-1.0
    default-language: Haskell2010
    build-depends: base, bytestring, directory, hinotify, unix
    hs-source-dirs: src tests
    main-is: test004-modify-file.hs
    other-modules: Utils
    ghc-options: -Wall

test-suite test005
    type: exitcode-stdio-1.0
    build-depends: base, bytestring, directory, hinotify, unix
    default-language: Haskell2010
    hs-source-dirs: src tests
    main-is: test005-move-file.hs
    other-modules: Utils
    ghc-options: -Wall

test-suite test006
    type: exitcode-stdio-1.0
    build-depends: base, bytestring, directory, hinotify, unix
    default-language: Haskell2010
    hs-source-dirs: src tests
    main-is: test006-callbackHang.hs
    other-modules: Utils
    ghc-options: -Wall