-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathevdev.cabal
More file actions
73 lines (69 loc) · 1.75 KB
/
Copy pathevdev.cabal
File metadata and controls
73 lines (69 loc) · 1.75 KB
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
cabal-version: 3.0
name: evdev
version: 2.3.1.1
author: George Thomas
maintainer: George Thomas
description: Provides access to the Linux event device interface.
synopsis: Bindings to libevdev
homepage: https://github.com/georgefst/evdev
license: BSD-3-Clause
license-file: LICENSE
category: System
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: git://github.com/georgefst/evdev.git
common common
build-depends:
base >= 4.11 && < 5,
bytestring ^>= {0.10, 0.11, 0.12},
containers ^>= {0.6.2, 0.7},
directory ^>= {1.3.8},
extra ^>= {1.6.18, 1.7},
filepath ^>= {1.4.100},
monad-loops ^>= 0.4.3,
mtl ^>= {2.2, 2.3},
time ^>= {1.9.3, 1.10, 1.11, 1.12, 1.13, 1.14},
unix ^>= 2.8,
default-language: GHC2021
default-extensions:
BlockArguments
LambdaCase
NamedFieldPuns
OverloadedStrings
PatternSynonyms
RecordWildCards
TypeFamilies
ViewPatterns
ghc-options:
-Wall
library
import: common
exposed-modules:
Evdev
Evdev.Codes
Evdev.Uinput
other-modules:
Evdev.LowLevel
Util
hs-source-dirs: src
c-sources:
src-c/evdev-hs.c
pkgconfig-depends:
libevdev
build-tool-depends:
c2hs:c2hs
test-suite test
import: common
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: test
build-depends:
evdev,
tasty ^>= {1.4.1, 1.5},
tasty-hunit ^>= 0.10.0.3,
tasty-quickcheck ^>= {0.10.1.1, 0.11},
ghc-options:
-threaded