aboutsummaryrefslogtreecommitdiff
path: root/battering/packages
diff options
context:
space:
mode:
Diffstat (limited to 'battering/packages')
-rw-r--r--battering/packages/golang-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/battering/packages/golang-xyz.scm b/battering/packages/golang-xyz.scm
index ccc601f..e803add 100644
--- a/battering/packages/golang-xyz.scm
+++ b/battering/packages/golang-xyz.scm
@@ -39,3 +39,31 @@
(synopsis "Go nftables API")
(description "This package manipulates Linux nftables.")
(license license:asl2.0)))
+
+(define-public go-github-com-iovisor-gobpf
+ (package
+ (name "go-github-com-iovisor-gobpf")
+ (version "0.2.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/iovisor/gobpf")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1w144apka9f7zjz3d77fysxi1mbik6nrf16ig4bzjgjimiiwhl4i"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ ;; Tests fail because a function signature changed in bcc/module.go.
+ #:tests? #f
+ #:import-path "github.com/iovisor/gobpf"))
+ (native-inputs (list bcc))
+ (home-page "https://github.com/iovisor/gobpf")
+ (synopsis "BCC Go bindings")
+ (description
+ "This repository provides go bindings for the
+@@url{https://github.com/iovisor/bcc,bcc framework} as well as low-level
+routines to load and use @code{eBPF} programs from .elf files.")
+ (license license:asl2.0)))