gnu: cni-plugins: Update to 1.7.1.

* gnu/packages/containers.scm (cni-plugins)[version]: Update to 1.7.1.
[arguments]<#:go>: Set to go-1.24.

Change-Id: I0c28e224501ea0e67cde8104d8bfa573751f4c9b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Tomas Volf 2025-04-27 14:35:00 +02:00 committed by Sharlatan Hellseher
parent 636020b618
commit c8788ba8d8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -342,7 +342,7 @@ Layer-4 sockets.")
(define-public cni-plugins (define-public cni-plugins
(package (package
(name "cni-plugins") (name "cni-plugins")
(version "1.6.1") (version "1.7.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -350,12 +350,13 @@ Layer-4 sockets.")
(url "https://github.com/containernetworking/plugins") (url "https://github.com/containernetworking/plugins")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(sha256 (sha256
(base32 "164savm1iic5ax2xi4zgy9lm7wk8kjy22n4is463lj9rkbp4s6xn")) (base32 "04acfjkc3z2yf85z0v1mlgj0fqy032dsklzik2g1cnz6ncw6jl2b"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
`(#:unpack-path "github.com/containernetworking/plugins" `(#:unpack-path "github.com/containernetworking/plugins"
#:tests? #f ; XXX: see stat /var/run below #:tests? #f ; XXX: see stat /var/run below
#:go ,go-1.24
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
(replace 'build (replace 'build
(lambda _ (lambda _
@ -364,7 +365,7 @@ Layer-4 sockets.")
(invoke "./build_linux.sh")))) (invoke "./build_linux.sh"))))
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
; only pkg/ns tests run without root ;; Only pkg/ns tests run without root.
(when tests? (when tests?
(with-directory-excursion (with-directory-excursion
"src/github.com/containernetworking/plugins/pkg/ns" "src/github.com/containernetworking/plugins/pkg/ns"