-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathebpf-tools.cabal
79 lines (68 loc) · 1.93 KB
/
ebpf-tools.cabal
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
cabal-version: 3.4
name: ebpf-tools
version: 0.2.0.0
license: MIT
license-file: LICENSE
copyright: 2022-2024 Ken Friis Larsen
maintainer: [email protected]
author: Ken Friis Larsen
homepage: https://github.com/kfl/ebpf-tools
bug-reports: https://github.com/kfl/ebpf-tools/issues
synopsis: Assembler and disassembler for eBPF bytecode
tested-with: GHC == {9.4.7, 9.6.3, 9.8.1}
extra-doc-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/kfl/ebpf-tools.git
common common-deps
build-depends:
base >= 4.14.3.0 && < 5,
binary >= 0.8.7 && < 0.9,
bytestring >= 0.12 && < 0.13,
text >= 2.0.2 && < 3,
text-display >= 0.0.5 && < 0.1
default-language: Haskell2010
library
import: common-deps
exposed-modules:
Ebpf.Asm
Ebpf.AsmParser
Ebpf.Decode
Ebpf.Encode
Ebpf.Helpers
Ebpf.Display
Ebpf.Quote
hs-source-dirs: src
default-language: Haskell2010
build-depends:
containers >= 0.6.8 && < 0.7,
parsec >= 3.1 && < 3.2,
syb >= 0.7 && < 8,
template-haskell >= 2.19 && < 3
executable ebpf-tools
import: common-deps
main-is: Main.hs
hs-source-dirs: app
default-language: Haskell2010
build-depends:
ebpf-tools,
optparse-applicative >= 0.17 && < 0.19,
pretty-simple >= 4.0 && < 4.2
test-suite ebpf-tools-test
import: common-deps
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
other-modules:
EbpfTest
AsmParserTest
QuoteTest
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
tasty,
tasty-hunit,
raw-strings-qq,
ebpf-tools