-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.yaml
53 lines (50 loc) · 1.02 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
name: nfc
synopsis: libnfc bindings
version: '0.1.1'
license: PublicDomain
author: John Galt <[email protected]>
maintainer: John Galt <[email protected]>
category: Bindings
description: nfc is a set of bindings to libnfc
extra-source-files:
- CHANGELOG.md
- package.yaml
- README.md
- stack.yaml
- flake.lock
- flake.nix
- nix/nfc.nix
ghc-options: -Wall
github: centromere/nfc
flags:
build-examples:
description: "Build examples"
default: False
manual: False
library:
dependencies:
- base <5
- bytestring
source-dirs: src
build-tools: c2hs
exposed-modules:
- Bindings.NFC
pkg-config-dependencies:
- libnfc
c-sources: cbits/*
executables:
print-mifare-uid-forever:
dependencies:
- base <5
- base16-bytestring
- bytestring
- nfc
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts=-N
main: print-mifare-uid-forever.hs
source-dirs: examples
when:
- condition: "!flag(build-examples)"
buildable: False