diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-03 09:24:36 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-21 23:41:48 +0000 |
| commit | 26310a2e11ffbc577abb395404e9a13e4c884afc (patch) | |
| tree | 23c3ce86aa0ab96d5c218b8a008df0eb3bbaaa78 /gnu | |
| parent | a2682b84442a1c32fbdbd369258364d1ed3a650c (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/docker.scm | 1 | ||||
| -rw-r--r-- | gnu/packages/golang-web.scm | 37 | ||||
| -rw-r--r-- | gnu/packages/linux.scm | 36 |
3 files changed, 38 insertions, 36 deletions
diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index bfc1898220c..e00f1cbb8a0 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm | |||
| @@ -45,6 +45,7 @@ | |||
| 45 | #:use-module (gnu packages glib) | 45 | #:use-module (gnu packages glib) |
| 46 | #:use-module (gnu packages golang) | 46 | #:use-module (gnu packages golang) |
| 47 | #:use-module (gnu packages golang-build) | 47 | #:use-module (gnu packages golang-build) |
| 48 | #:use-module (gnu packages golang-web) | ||
| 48 | #:use-module (gnu packages linux) | 49 | #:use-module (gnu packages linux) |
| 49 | #:use-module (gnu packages networking) | 50 | #:use-module (gnu packages networking) |
| 50 | #:use-module (gnu packages pkg-config) | 51 | #:use-module (gnu packages pkg-config) |
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index a445f0d3c43..e10d07a57aa 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | ;;; Copyright © 2017, 2019, 2020, 2021 Leo Famulari <leo@famulari.name> | 2 | ;;; Copyright © 2017, 2019, 2020, 2021 Leo Famulari <leo@famulari.name> |
| 3 | ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz> | 3 | ;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz> |
| 4 | ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr> | 4 | ;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr> |
| 5 | ;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com> | ||
| 5 | ;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org> | 6 | ;;; Copyright © 2019 Vagrant Cascadian <vagrant@debian.org> |
| 6 | ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net> | 7 | ;;; Copyright © 2019, 2020 Martin Becze <mjbecze@riseup.net> |
| 7 | ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us> | 8 | ;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us> |
| @@ -5872,6 +5873,42 @@ encoding library for the MessagePack, CBOR, JSON and the Binc formats.") | |||
| 5872 | replacement for native @code{net/http} module.") | 5873 | replacement for native @code{net/http} module.") |
| 5873 | (license license:expat))) | 5874 | (license license:expat))) |
| 5874 | 5875 | ||
| 5876 | (define-public go-github-com-vishvananda-netlink | ||
| 5877 | (package | ||
| 5878 | (name "go-github-com-vishvananda-netlink") | ||
| 5879 | (version "1.3.0") | ||
| 5880 | (source | ||
| 5881 | (origin | ||
| 5882 | (method git-fetch) | ||
| 5883 | (uri (git-reference | ||
| 5884 | (url "https://github.com/vishvananda/netlink") | ||
| 5885 | (commit (string-append "v" version)))) | ||
| 5886 | (file-name (git-file-name name version)) | ||
| 5887 | (sha256 | ||
| 5888 | (base32 "1ckwb1ml7i2ccdd7kzc04s839naf4arlxav2ip5kf4rm4xhba9g7")))) | ||
| 5889 | (build-system go-build-system) | ||
| 5890 | (arguments | ||
| 5891 | (list | ||
| 5892 | ;; The tests are unsupported on all architectures except x86_64-linux: | ||
| 5893 | ;; cannot use 0xabcdef99 (untyped int constant 2882400153) as int value | ||
| 5894 | ;; in struct literal (overflows) | ||
| 5895 | #:tests? (and (not (%current-target-system)) (target-x86-64?)) | ||
| 5896 | #:test-flags | ||
| 5897 | ;; One test fails with error: operation not permitted. | ||
| 5898 | #~(list "-skip" "TestSocketXDPGetInfo") | ||
| 5899 | #:import-path "github.com/vishvananda/netlink")) | ||
| 5900 | (propagated-inputs | ||
| 5901 | (list go-github-com-vishvananda-netns | ||
| 5902 | go-golang-org-x-sys)) | ||
| 5903 | (home-page "https://github.com/vishvananda/netlink") | ||
| 5904 | (synopsis "Simple netlink library for Go") | ||
| 5905 | (description | ||
| 5906 | "The netlink package provides a simple netlink library for Go. Netlink | ||
| 5907 | is the interface a user-space program in Linux uses to communicate with the | ||
| 5908 | kernel. It can be used to add and remove interfaces, set IP addresses and | ||
| 5909 | routes, and configure IPsec.") | ||
| 5910 | (license license:asl2.0))) | ||
| 5911 | |||
| 5875 | (define-public go-github-com-whyrusleeping-cbor | 5912 | (define-public go-github-com-whyrusleeping-cbor |
| 5876 | (package | 5913 | (package |
| 5877 | (name "go-github-com-whyrusleeping-cbor") | 5914 | (name "go-github-com-whyrusleeping-cbor") |
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index d88fdfe36fd..33576e9721d 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm | |||
| @@ -9528,42 +9528,6 @@ nfnetlink_queue, nfnetlink_conntrack) and their respective users and/or | |||
| 9528 | management tools in userspace.") | 9528 | management tools in userspace.") |
| 9529 | (license license:gpl2))) | 9529 | (license license:gpl2))) |
| 9530 | 9530 | ||
| 9531 | (define-public go-github-com-vishvananda-netlink | ||
| 9532 | (package | ||
| 9533 | (name "go-github-com-vishvananda-netlink") | ||
| 9534 | (version "1.3.0") | ||
| 9535 | (source | ||
| 9536 | (origin | ||
| 9537 | (method git-fetch) | ||
| 9538 | (uri (git-reference | ||
| 9539 | (url "https://github.com/vishvananda/netlink") | ||
| 9540 | (commit (string-append "v" version)))) | ||
| 9541 | (file-name (git-file-name name version)) | ||
| 9542 | (sha256 | ||
| 9543 | (base32 "1ckwb1ml7i2ccdd7kzc04s839naf4arlxav2ip5kf4rm4xhba9g7")))) | ||
| 9544 | (build-system go-build-system) | ||
| 9545 | (arguments | ||
| 9546 | (list | ||
| 9547 | ;; The tests are unsupported on all architectures except x86_64-linux: | ||
| 9548 | ;; cannot use 0xabcdef99 (untyped int constant 2882400153) as int value | ||
| 9549 | ;; in struct literal (overflows) | ||
| 9550 | #:tests? (and (not (%current-target-system)) (target-x86-64?)) | ||
| 9551 | #:test-flags | ||
| 9552 | ;; One test fails with error: operation not permitted. | ||
| 9553 | #~(list "-skip" "TestSocketXDPGetInfo") | ||
| 9554 | #:import-path "github.com/vishvananda/netlink")) | ||
| 9555 | (propagated-inputs | ||
| 9556 | (list go-github-com-vishvananda-netns | ||
| 9557 | go-golang-org-x-sys)) | ||
| 9558 | (home-page "https://github.com/vishvananda/netlink") | ||
| 9559 | (synopsis "Simple netlink library for Go") | ||
| 9560 | (description | ||
| 9561 | "The netlink package provides a simple netlink library for Go. Netlink | ||
| 9562 | is the interface a user-space program in Linux uses to communicate with the | ||
| 9563 | kernel. It can be used to add and remove interfaces, set IP addresses and | ||
| 9564 | routes, and configure IPsec.") | ||
| 9565 | (license license:asl2.0))) | ||
| 9566 | |||
| 9567 | (define-public libinih | 9531 | (define-public libinih |
| 9568 | (package | 9532 | (package |
| 9569 | (name "libinih") | 9533 | (name "libinih") |
