summaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-01-26 20:55:06 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-26 20:55:06 +0000
commit75437dbb7695bf336e349796f075df06662b130c (patch)
treef9be05fb167d6405297f9f5db1196c73b9795edc /gnu/packages/linux.scm
parent55859a28cc1deeddb2d7e46c3a4579290029501b (diff)
parent9e2de68cf8aa5ac590ae3fca4fe90ac1b91bfa8a (diff)
Merge remote-tracking branch 'origin/go-team'
Change-Id: I3672a7dc248a41b1a83e4c488523f62cf1806710
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm42
1 files changed, 0 insertions, 42 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 77a53e48050..5873b4db2ee 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -141,7 +141,6 @@
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang)
- #:use-module (gnu packages golang-build)
#:use-module (gnu packages gperf)
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gstreamer)
@@ -9539,47 +9538,6 @@ nfnetlink_queue, nfnetlink_conntrack) and their respective users and/or
management tools in userspace.")
(license license:gpl2)))
-(define-public go-github-com-vishvananda-netlink
- (package
- (name "go-github-com-vishvananda-netlink")
- (version "1.1.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/vishvananda/netlink")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1vhl30p1gx636a088ls4h6a0l8jjyfvz79fr5w0qzdrg4qg9h08h"))))
- (build-system go-build-system)
- (arguments
- (list
- ;; The tests are unsupported on all architectures except x86_64-linux:
- ;; cannot use 0xabcdef99 (untyped int constant 2882400153) as int value
- ;; in struct literal (overflows)
- #:tests? (and (not (%current-target-system)) (target-x86-64?))
- #:import-path "github.com/vishvananda/netlink"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'disable-failing-tests
- (lambda* (#:key tests? unpack-path #:allow-other-keys)
- (with-directory-excursion (string-append "src/" unpack-path)
- (substitute* (find-files "." "\\_test.go$")
- ;; Disable tests requiring root access.
- (("TestNetNsIdByFd") "OffTestNetNsIdByFd")
- (("TestNetNsIdByPid") "OffTestNetNsIdByPid"))))))))
- (propagated-inputs
- (list go-golang-org-x-sys go-github-com-vishvananda-netns))
- (home-page "https://github.com/vishvananda/netlink")
- (synopsis "Simple netlink library for Go")
- (description
- "The netlink package provides a simple netlink library for Go. Netlink
-is the interface a user-space program in Linux uses to communicate with the
-kernel. It can be used to add and remove interfaces, set IP addresses and
-routes, and configure IPsec.")
- (license license:asl2.0)))
-
(define-public libinih
(package
(name "libinih")