-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.yaml
More file actions
141 lines (128 loc) · 3.09 KB
/
Copy pathpackage.yaml
File metadata and controls
141 lines (128 loc) · 3.09 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
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
136
137
138
139
140
141
name: ble
version: 0.4.2
synopsis: Bluetooth Low Energy (BLE) peripherals
description: >
This package provides a Haskell API for writing Bluetooth Low Energy
peripherals.
homepage: http://github.com/plow-technologies/ble#readme
license: BSD3
license-file: LICENSE
author: Julian K. Arni
maintainer: jkarni@turingjump.com
copyright: 2016 Julian K. Arni
github: plow-technologies/ble
stability: alpha
tested-with: GHC == 7.10.3, GHC == 8.0.1
ghc-options: -Wall
flags:
bluez543:
description: Bluez version 5.43 or greater
manual: True
default: False
hasBluez:
description: Whether to run tests that require Bluez
manual: True
default: True
hasDBus:
description: Whether to run tests that require DBus mocking
manual: True
default: False
extra-source-files:
- README.md
- package.yaml
- LICENSE
- test/Mock/requirements.txt
data-files:
- test/Mock/start_mock.sh
when:
- condition: flag(bluez543)
cpp-options: -DBluezGEQ543
when:
- condition: flag(hasBluez)
cpp-options: -DBluez
when:
- condition: flag(hasDBus)
cpp-options: -DDBusMock
dependencies:
- base >= 4.8 && < 4.10
- bytestring >= 0.10 && < 0.11
- text >= 1 && < 2
- d-bus >= 0.1.5 && < 0.2
- uuid >= 1 && < 2
- mtl >= 2.2 && < 2.3
- transformers >= 0.4 && < 0.6
- containers >= 0.5 && < 0.6
- random >= 1 && < 2
- microlens >= 0.4 && < 0.5
- microlens-ghc >= 0.4 && < 0.5
- cereal >= 0.4 && < 0.6
- data-default-class >= 0.0 && < 0.2
default-extensions:
- AutoDeriveTypeable
- ConstraintKinds
- DataKinds
- DefaultSignatures
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveTraversable
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- KindSignatures
- MultiParamTypeClasses
- OverloadedStrings
- RankNTypes
- ScopedTypeVariables
- TypeFamilies
- TypeOperators
library:
source-dirs: src
other-modules: []
tests:
spec:
main: Main.hs
source-dirs: test
dependencies:
- ble
- hspec > 2 && < 3
- QuickCheck >= 2.8 && < 2.10
- quickcheck-instances >= 0.3 && < 0.4
- process >= 1.2 && < 1.5
- hslogger
# doctest:
# main: Doctest.hs
# source-dirs: test
# dependencies:
# - doctest >= 0.9 && < 0.12
# - Glob >= 0.7 && < 0.8
# - yaml == 0.8.*
executables:
readme:
main: README.lhs
source-dirs: examples
ghc-options: -pgmL markdown-unlit
dependencies:
- ble
- stm
- markdown-unlit
hrs:
main: HeartRate.hs
source-dirs: examples
ghc-options: -threaded
dependencies:
- ble
- hslogger
- optparse-applicative >= 0.12 && < 0.14
auth:
main: Auth.hs
source-dirs: examples
dependencies:
- ble
hrs-client:
main: HeartRateClient.hs
source-dirs: examples
ghc-options: -threaded
dependencies:
- ble