diff options
author | Hanketsu <hanketsu@egregore.fun> | 2025-01-31 22:23:51 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-02-01 17:47:16 +0100 |
commit | e3313884c2f3e845851fb45ee88cf6c3754a8a2f (patch) | |
tree | 76ddbaa6d7b5bb0c57427a8a86205a3cd04b2c18 /battering/packages/golang-xyz.scm | |
parent | da4f7456b45ff2b4dcba0e788ca023a13e4e2b5a (diff) |
battering: Add go-github-com-google-nftables.
* battering/packages/golang-xyz.scm (go-github-com-google-nftables): New variable.
Diffstat (limited to 'battering/packages/golang-xyz.scm')
-rw-r--r-- | battering/packages/golang-xyz.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/battering/packages/golang-xyz.scm b/battering/packages/golang-xyz.scm new file mode 100644 index 0000000..ccc601f --- /dev/null +++ b/battering/packages/golang-xyz.scm @@ -0,0 +1,41 @@ +(define-module (battering packages golang-xyz) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (guix build-system go) + #:use-module (gnu packages golang) + #:use-module (gnu packages golang-build) + #:use-module (gnu packages golang-check) + #:use-module (gnu packages golang-crypto) + #:use-module (gnu packages golang-web) + #:use-module (gnu packages golang-xyz) + #:use-module (gnu packages linux) + #:use-module (gnu packages protobuf) + #:use-module ((guix licenses) + #:prefix license:)) + +(define-public go-github-com-google-nftables + (package + (name "go-github-com-google-nftables") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/nftables") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "04w08c619aqkh6rkfxxhi4z23nyq0p4bswfhnka9hcsy4r6rk4fm")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/google/nftables")) + (propagated-inputs (list go-golang-org-x-sys + go-github-com-vishvananda-netns + go-github-com-mdlayher-netlink)) + (home-page "https://github.com/google/nftables") + (synopsis "Go nftables API") + (description "This package manipulates Linux nftables.") + (license license:asl2.0))) |