-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
79 lines (70 loc) · 1.51 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
name: pipes-cacophony
synopsis: Pipes for Noise-secured network connections.
version: 0.5.0
license: PublicDomain
license-file: LICENSE
maintainer: John Galt <[email protected]>
category: Cryptography
github: centromere/pipes-cacophony
ghc-options: -Wall
description: |
A set of pipes to secure network connections with the
<https://github.com/trevp/noise/blob/master/noise.md Noise> protocol.
extra-source-files:
- .travis.yml
- README.md
- changelog.md
- LICENSE
- stack.yaml
- package.yaml
- tests/.hlint
flags:
build-examples:
description: Build examples
default: False
manual: True
library:
source-dirs: src
dependencies:
- base >= 4.9 && < 4.10
- bytestring
- cacophony >= 0.10
- pipes
exposed-modules:
- Pipes.Noise
default-extensions:
- OverloadedStrings
tests:
hlint:
main: hlint.hs
source-dirs: tests/hlint
dependencies:
- base >= 4.9 && < 4.10
- hlint
ghc-options:
- -O2
- -rtsopts
- -threaded
- -with-rtsopts=-N
executables:
loopback:
source-dirs: examples/loopback
main: Main.hs
when:
- condition: 'flag(build-examples)'
then:
dependencies:
- base >= 4.9 && < 4.10
- bytestring
- cacophony >= 0.10
- pipes
- pipes-cacophony
else:
buildable: False
ghc-options:
- -O2
- -rtsopts
- -threaded
- -with-rtsopts=-N
default-extensions:
- OverloadedStrings