mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 11:00:36 +02:00
gnu: go-github-com-vishvananda-netlink: Move to golang-web.
* gnu/packages/linux.scm (go-github-com-vishvananda-netlink): Move from here ... * gnu/packages/golang-web.scm: ... to here. * gnu/packages/docker.scm: Add golang-web module. Change-Id: I67bc7128e6ede1c717aefc089dbe3776dd885e40
This commit is contained in:
parent
a2682b8444
commit
26310a2e11
3 changed files with 38 additions and 36 deletions
|
@ -45,6 +45,7 @@
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages golang)
|
#:use-module (gnu packages golang)
|
||||||
#:use-module (gnu packages golang-build)
|
#:use-module (gnu packages golang-build)
|
||||||
|
#:use-module (gnu packages golang-web)
|
||||||
#:use-module (gnu packages linux)
|
#:use-module (gnu packages linux)
|
||||||
#:use-module (gnu packages networking)
|
#:use-module (gnu packages networking)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
;;; Copyright © 2017, 2019, 2020, 2021 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2017, 2019, 2020, 2021 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||||
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
|
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
|
||||||
|
;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org>
|
;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org>
|
||||||
;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
|
;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net>
|
||||||
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
|
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
|
||||||
|
@ -5872,6 +5873,42 @@ encoding library for the MessagePack, CBOR, JSON and the Binc formats.")
|
||||||
replacement for native @code{net/http} module.")
|
replacement for native @code{net/http} module.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-github-com-vishvananda-netlink
|
||||||
|
(package
|
||||||
|
(name "go-github-com-vishvananda-netlink")
|
||||||
|
(version "1.3.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 "1ckwb1ml7i2ccdd7kzc04s839naf4arlxav2ip5kf4rm4xhba9g7"))))
|
||||||
|
(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?))
|
||||||
|
#:test-flags
|
||||||
|
;; One test fails with error: operation not permitted.
|
||||||
|
#~(list "-skip" "TestSocketXDPGetInfo")
|
||||||
|
#:import-path "github.com/vishvananda/netlink"))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-vishvananda-netns
|
||||||
|
go-golang-org-x-sys))
|
||||||
|
(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 go-github-com-whyrusleeping-cbor
|
(define-public go-github-com-whyrusleeping-cbor
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-whyrusleeping-cbor")
|
(name "go-github-com-whyrusleeping-cbor")
|
||||||
|
|
|
@ -9528,42 +9528,6 @@ nfnetlink_queue, nfnetlink_conntrack) and their respective users and/or
|
||||||
management tools in userspace.")
|
management tools in userspace.")
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
||||||
(define-public go-github-com-vishvananda-netlink
|
|
||||||
(package
|
|
||||||
(name "go-github-com-vishvananda-netlink")
|
|
||||||
(version "1.3.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 "1ckwb1ml7i2ccdd7kzc04s839naf4arlxav2ip5kf4rm4xhba9g7"))))
|
|
||||||
(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?))
|
|
||||||
#:test-flags
|
|
||||||
;; One test fails with error: operation not permitted.
|
|
||||||
#~(list "-skip" "TestSocketXDPGetInfo")
|
|
||||||
#:import-path "github.com/vishvananda/netlink"))
|
|
||||||
(propagated-inputs
|
|
||||||
(list go-github-com-vishvananda-netns
|
|
||||||
go-golang-org-x-sys))
|
|
||||||
(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
|
(define-public libinih
|
||||||
(package
|
(package
|
||||||
(name "libinih")
|
(name "libinih")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue