summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorDavid Thompson <davet@gnu.org>2025-06-02 14:03:29 +0200
committerLudovic Courtès <ludo@gnu.org>2025-06-17 15:17:18 +0200
commit6dc2329345a46e64a3654d0effad6d24dea73a08 (patch)
treecd9f4eb35dcdcf7bae1f0c27a7e0a327c6d89cf2 /gnu/packages/golang-xyz.scm
parent4cef0cbd263edf6b91e2e84a36bf6de76d1c02dd (diff)
gnu: Add go-github-com-containerd-containerd.
* gnu/packages/golang-xyz.scm (go-github-com-containerd-containerd): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I62398d0d697c683eca7cf3b3f6ca692758aec4da
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm124
1 files changed, 124 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4b162a2990..10f214d421 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3664,6 +3664,130 @@ cgroup uses the OCI runtime-spec found
go-golang-org-x-sys
go-google-golang-org-protobuf))))
+(define-public go-github-com-containerd-containerd
+ (package
+ (name "go-github-com-containerd-containerd")
+ (version "1.7.12")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/containerd/containerd")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jwrdiglhqxccmmiq33li3myrb409mvskvcghli411fs9r46lxm3"))
+ (snippet
+ #~(begin
+ (use-modules (guix build utils))
+ (delete-file-recursively "vendor")))))
+ (build-system go-build-system)
+
+ ;; For the forgejo-runner build, we only need the pkg/userns module which
+ ;; doesn't require the massive dependency tree for all of containerd, so
+ ;; we cheat and skip the build and avoid having to package a large number
+ ;; of additional dependencies.
+ (arguments
+ (list
+ #:import-path "github.com/containerd/containerd"
+ #:skip-build? #t
+ #:tests? #f))
+ ;; (propagated-inputs
+ ;; (list go-tags-cncf-io-container-device-interface
+ ;; go-k8s-io-utils
+ ;; go-k8s-io-klog-v2
+ ;; go-k8s-io-cri-api
+ ;; go-k8s-io-component-base
+ ;; go-k8s-io-client-go
+ ;; go-k8s-io-apiserver
+ ;; go-k8s-io-apimachinery
+ ;; go-k8s-io-api
+ ;; go-google-golang-org-protobuf
+ ;; go-google-golang-org-grpc
+ ;; go-google-golang-org-genproto-googleapis-rpc
+ ;; go-google-golang-org-genproto
+ ;; go-golang-org-x-sys
+ ;; go-golang-org-x-sync
+ ;; go-golang-org-x-net
+ ;; go-go-opentelemetry-io-otel-trace
+ ;; go-go-opentelemetry-io-otel-sdk
+ ;; go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracehttp
+ ;; go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc
+ ;; go-go-opentelemetry-io-otel-exporters-otlp-otlptrace
+ ;; go-go-opentelemetry-io-otel
+ ;; go-go-opentelemetry-io-contrib-instrumentation-net-http-otelhttp
+ ;; go-go-opentelemetry-io-contrib-instrumentation-google-golang-org-grpc-otelgrpc
+ ;; go-go-etcd-io-bbolt
+ ;; go-github-com-vishvananda-netlink
+ ;; go-github-com-urfave-cli
+ ;; go-github-com-tchap-go-patricia-v2
+ ;; go-github-com-stretchr-testify
+ ;; go-github-com-sirupsen-logrus
+ ;; go-github-com-prometheus-client-golang
+ ;; go-github-com-pelletier-go-toml
+ ;; go-github-com-opencontainers-selinux
+ ;; go-github-com-opencontainers-runtime-tools
+ ;; go-github-com-opencontainers-runtime-spec
+ ;; go-github-com-opencontainers-image-spec
+ ;; go-github-com-opencontainers-go-digest
+ ;; go-github-com-moby-sys-userns
+ ;; go-github-com-moby-sys-user
+ ;; go-github-com-moby-sys-symlink
+ ;; go-github-com-moby-sys-signal
+ ;; go-github-com-moby-sys-sequential
+ ;; go-github-com-moby-sys-mountinfo
+ ;; go-github-com-moby-locker
+ ;; go-github-com-minio-sha256-simd
+ ;; go-github-com-klauspost-compress
+ ;; go-github-com-intel-goresctrl
+ ;; go-github-com-grpc-ecosystem-go-grpc-prometheus
+ ;; go-github-com-grpc-ecosystem-go-grpc-middleware
+ ;; go-github-com-google-uuid
+ ;; go-github-com-google-go-cmp
+ ;; go-github-com-fsnotify-fsnotify
+ ;; go-github-com-emicklei-go-restful-v3
+ ;; go-github-com-docker-go-units
+ ;; go-github-com-docker-go-metrics
+ ;; go-github-com-docker-go-events
+ ;; go-github-com-distribution-reference
+ ;; go-github-com-davecgh-go-spew
+ ;; go-github-com-coreos-go-systemd-v22
+ ;; go-github-com-containernetworking-plugins
+ ;; go-github-com-containernetworking-cni
+ ;; go-github-com-containerd-zfs
+ ;; go-github-com-containerd-typeurl-v2
+ ;; go-github-com-containerd-ttrpc
+ ;; go-github-com-containerd-platforms
+ ;; go-github-com-containerd-nri
+ ;; go-github-com-containerd-log
+ ;; go-github-com-containerd-imgcrypt
+ ;; go-github-com-containerd-go-runc
+ ;; go-github-com-containerd-go-cni
+ ;; go-github-com-containerd-fifo
+ ;; go-github-com-containerd-errdefs
+ ;; go-github-com-containerd-continuity
+ ;; go-github-com-containerd-containerd-api
+ ;; go-github-com-containerd-console
+ ;; go-github-com-containerd-cgroups-v3
+ ;; go-github-com-containerd-btrfs-v2
+ ;; go-github-com-containerd-aufs
+ ;; go-github-com-microsoft-hcsshim
+ ;; go-github-com-microsoft-go-winio
+ ;; go-github-com-adamkorcz-go-118-fuzz-build
+ ;; go-github-com-adalogics-go-fuzz-headers
+ ;; go-dario-cat-mergo))
+ (home-page "https://github.com/containerd/containerd")
+ (synopsis "Container runtime support daemon")
+ (description
+ "containerd is a container runtime with an emphasis on simplicity,
+robustness, and portability. It is available as a daemon, which can manage
+the complete container lifecycle of its host system: image transfer and
+storage, container execution and supervision, low-level storage and network
+attachments, etc.")
+ (license license:asl2.0)
+ ;; Don't expose since it's a partial package.
+ (properties '((hidden? . #t)))))
+
(define-public go-github-com-containerd-console
(package
(name "go-github-com-containerd-console")