1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-18 00:00:32 +02:00

gnu: Add go-tags-cncf-io-container-device-interface.

* gnu/packages/golang-xyz.scm (go-tags-cncf-io-container-device-interface): New variable.

Change-Id: I3e7d7fa1709444c484b5d16bfb74f3e9d48a6c7e
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
This commit is contained in:
Sharlatan Hellseher
2025-10-22 15:55:41 +01:00
parent ccf7b57b0e
commit 4ef89c00cb

View File

@@ -25561,6 +25561,58 @@ system calls.
It allows one to safely call Unveil / Pledge on non-OpenBSD operating systems.")
(license license:isc)))
(define-public go-tags-cncf-io-container-device-interface
(package
(name "go-tags-cncf-io-container-device-interface")
(version "1.0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cncf-tags/container-device-interface")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1wpp8fsrfjmgfkwwanakbigf68khwycdxbmr82k309fawfpbz7fj"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodules with their own go.mod files and packaged separately:
;;
;; - tags.cncf.io/container-device-interface/cmd/cdi
;; - tags.cncf.io/container-device-interface/specs-go
;; - tags.cncf.io/container-device-interface/schema
;; - tags.cncf.io/container-device-interface/cmd/validate
(for-each delete-file-recursively
(list"cmd" "schema"))))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "tags.cncf.io/container-device-interface"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-fsnotify-fsnotify
go-github-com-opencontainers-runtime-spec
go-github-com-opencontainers-runtime-tools
go-golang-org-x-mod
go-golang-org-x-sys
go-gopkg-in-yaml-v3
go-sigs-k8s-io-yaml))
(home-page "https://tags.cncf.io/container-device-interface")
(synopsis "CNCF's Container Device Interface")
(description
"This package provides @acronym{Cloud Native Computing Foundation, CNCF}'s
@acronym{CDI, Container Device Interface} specification, for
container-runtimes, to support third-party devices. It also includes
@code{tags.cncf.io/container-device-interface/specs-go} submodule.")
(license license:asl2.0)))
;; To make importer happy.
(define-public go-tags-cncf-io-container-device-interface-specs-go
go-tags-cncf-io-container-device-interface)
(define-public go-zgo-at-jfmt
(package
(name "go-zgo-at-jfmt")