diff options
author | Hanketsu <hanketsu@egregore.fun> | 2025-01-31 22:37:40 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-02-01 17:47:16 +0100 |
commit | d9984de3f24f68e4b186d790499d210cc772b9cc (patch) | |
tree | 285aa4a8664a690c8fef13f8c340978356801905 /battering/packages/golang-xyz.scm | |
parent | e3313884c2f3e845851fb45ee88cf6c3754a8a2f (diff) |
battering: Add go-github-com-iovisor-gobpf.
* battering/packages/golang-xyz.scm (go-github-com-iovisor-gobpf): New variable.
Diffstat (limited to 'battering/packages/golang-xyz.scm')
-rw-r--r-- | battering/packages/golang-xyz.scm | 28 |
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))) |