diff options
| author | Arthur Rodrigues <arthurhdrodrigues@proton.me> | 2026-05-10 14:18:39 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-15 13:05:23 +0100 |
| commit | cb22d95e3acd093a956521f1a2ebae15c7876808 (patch) | |
| tree | 1b180968783203b9e113c63f1563e71035009776 /gnu/packages/containers.scm | |
| parent | 53e58387360533584ece3f82422fdfda7d97ef80 (diff) | |
gnu: Add go-github-com-containerd-containerd-v2.
* gnu/packages/containers.scm (go-github-com-containerd-containerd-v2): New variable.
Change-Id: I9dffb5d98a0d8e73e524a10b2c7f8043841eb080
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/containers.scm')
| -rw-r--r-- | gnu/packages/containers.scm | 223 |
1 files changed, 223 insertions, 0 deletions
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm index 080a5cf808e..95e67ccc2de 100644 --- a/gnu/packages/containers.scm +++ b/gnu/packages/containers.scm | |||
| @@ -50,6 +50,7 @@ | |||
| 50 | #:use-module (gnu packages bash) | 50 | #:use-module (gnu packages bash) |
| 51 | #:use-module (gnu packages check) | 51 | #:use-module (gnu packages check) |
| 52 | #:use-module (gnu packages compression) | 52 | #:use-module (gnu packages compression) |
| 53 | #:use-module (gnu packages docker) | ||
| 53 | #:use-module (gnu packages glib) | 54 | #:use-module (gnu packages glib) |
| 54 | #:use-module (gnu packages gcc) | 55 | #:use-module (gnu packages gcc) |
| 55 | #:use-module (gnu packages gettext) | 56 | #:use-module (gnu packages gettext) |
| @@ -70,6 +71,7 @@ | |||
| 70 | #:use-module (gnu packages networking) | 71 | #:use-module (gnu packages networking) |
| 71 | #:use-module (gnu packages package-management) | 72 | #:use-module (gnu packages package-management) |
| 72 | #:use-module (gnu packages pkg-config) | 73 | #:use-module (gnu packages pkg-config) |
| 74 | #:use-module (gnu packages prometheus) | ||
| 73 | #:use-module (gnu packages python-xyz) | 75 | #:use-module (gnu packages python-xyz) |
| 74 | #:use-module (gnu packages python-build) | 76 | #:use-module (gnu packages python-build) |
| 75 | #:use-module (gnu packages python-check) | 77 | #:use-module (gnu packages python-check) |
| @@ -122,6 +124,227 @@ | |||
| 122 | archives as created by Podman, CRI-O and containerd.") | 124 | archives as created by Podman, CRI-O and containerd.") |
| 123 | (license license:asl2.0))) | 125 | (license license:asl2.0))) |
| 124 | 126 | ||
| 127 | (define-public go-github-com-containerd-containerd-v2 | ||
| 128 | (package | ||
| 129 | (name "go-github-com-containerd-containerd-v2") | ||
| 130 | (version "2.2.3") | ||
| 131 | (source | ||
| 132 | (origin | ||
| 133 | (method git-fetch) | ||
| 134 | (uri (git-reference | ||
| 135 | (url "https://github.com/containerd/containerd") | ||
| 136 | (commit (string-append "v" version)))) | ||
| 137 | (file-name (git-file-name name version)) | ||
| 138 | (sha256 | ||
| 139 | (base32 "0wxy5np689571s6lw77mx63nw75fx85w5svi0jplksmqzmjqp8wd")) | ||
| 140 | (snippet | ||
| 141 | #~(begin (use-modules (guix build utils)) | ||
| 142 | (delete-file-recursively "vendor") | ||
| 143 | ;; Submodules with their own go.mod files and packaged separately: | ||
| 144 | ;; | ||
| 145 | ;; - github.com/containerd/containerd/api | ||
| 146 | (delete-file-recursively "api"))))) | ||
| 147 | (build-system go-build-system) | ||
| 148 | (arguments | ||
| 149 | (list | ||
| 150 | #:skip-build? #t | ||
| 151 | #:import-path "github.com/containerd/containerd/v2" | ||
| 152 | #:test-subdirs | ||
| 153 | #~(list "cmd/protoc-gen-go-fieldpath/..." | ||
| 154 | "core/containers/..." | ||
| 155 | "core/content/..." | ||
| 156 | "core/diff" | ||
| 157 | "core/diff/apply" | ||
| 158 | "core/events/..." | ||
| 159 | "core/images/..." | ||
| 160 | "core/introspection/..." | ||
| 161 | "core/leases/..." | ||
| 162 | "core/metrics/..." | ||
| 163 | "core/remotes/..." | ||
| 164 | "core/sandbox/..." | ||
| 165 | "core/streaming/..." | ||
| 166 | "core/transfer" | ||
| 167 | "core/transfer/archive/..." | ||
| 168 | "core/transfer/image/..." | ||
| 169 | "core/transfer/local/..." | ||
| 170 | "core/transfer/plugins/..." | ||
| 171 | "core/transfer/streaming/..." | ||
| 172 | "core/unpack/..." | ||
| 173 | "internal/cleanup/..." | ||
| 174 | "internal/erofsutils/..." | ||
| 175 | "internal/eventq/..." | ||
| 176 | "internal/failpoint/..." | ||
| 177 | "internal/fsverity/..." | ||
| 178 | "internal/kmutex/..." | ||
| 179 | "internal/lazyregexp/..." | ||
| 180 | "internal/pprof/..." | ||
| 181 | "internal/randutil/..." | ||
| 182 | "internal/registrar/..." | ||
| 183 | "internal/tomlext/..." | ||
| 184 | "internal/truncindex/..." | ||
| 185 | "internal/userns/..." | ||
| 186 | "internal/wintls/..." | ||
| 187 | "pkg/apparmor/..." | ||
| 188 | "pkg/archive/..." | ||
| 189 | "pkg/atomicfile/..." | ||
| 190 | "pkg/blockio/..." | ||
| 191 | "pkg/cap/..." | ||
| 192 | "pkg/cio..." | ||
| 193 | "pkg/deprecation/..." | ||
| 194 | "pkg/dialer/..." | ||
| 195 | "pkg/display/..." | ||
| 196 | "pkg/epoch/..." | ||
| 197 | "pkg/fifosync/..." | ||
| 198 | "pkg/filters/..." | ||
| 199 | "pkg/gc/..." | ||
| 200 | "pkg/httpdbg/..." | ||
| 201 | |||
| 202 | ;; TODO: Check why these submodule fail to build. | ||
| 203 | ;; "client/..." | ||
| 204 | ;; "cmd/containerd-shim-runc-v2/..." | ||
| 205 | ;; "cmd/containerd-stress/..." | ||
| 206 | ;; "cmd/containerd/..." | ||
| 207 | ;; "cmd/ctr/..." | ||
| 208 | ;; "cmd/gen-manpages/..." | ||
| 209 | ;; "contrib/..." | ||
| 210 | ;; "core/diff/proxy" | ||
| 211 | ;; "core/metadata/..." | ||
| 212 | ;; "core/mount/..." | ||
| 213 | ;; "core/runtime/..." | ||
| 214 | ;; "core/snapshots/..." | ||
| 215 | ;; "core/transfer/proxy/..." | ||
| 216 | ;; "core/transfer/registry/..." | ||
| 217 | ;; "integration/..." | ||
| 218 | ;; "internal/cri/..." | ||
| 219 | ;; "internal/nri/..." | ||
| 220 | ;; "pkg/cdi/..." | ||
| 221 | #;"plugins/...") | ||
| 222 | #:test-flags | ||
| 223 | #~(list "-skip" (string-join | ||
| 224 | ;; panic: cannot statfs cgroup root [recovered] | ||
| 225 | (list "TestValidateConfig" | ||
| 226 | ;; io_test.go:40: failed to start binary process: | ||
| 227 | ;; fork/exec /bin/echo: no such file or directory | ||
| 228 | "TestNewBinaryIO" | ||
| 229 | ;; expected success: got executable file not found in $PATH | ||
| 230 | "TestExecutorWithArgs" | ||
| 231 | "TestSetEnv" | ||
| 232 | "TestStdIOPipes" | ||
| 233 | ;; panic: cannot statfs cgroup root | ||
| 234 | "TestContainerCapabilities" | ||
| 235 | "TestContainerSpecTty" | ||
| 236 | "TestContainerSpecReadonlyRootfs" | ||
| 237 | "TestContainerSpecWithExtraMounts" | ||
| 238 | "TestContainerAndSandboxPrivileged" | ||
| 239 | "TestPrivilegedBindMount" | ||
| 240 | "TestCgroupNamespace" | ||
| 241 | "TestPidNamespace/node_namespace_mode" | ||
| 242 | ;; failed to apply b: invalid argument | ||
| 243 | "TestDiffTar/IgnoreSockets" | ||
| 244 | "TestBinDirVerifyImage/max_verifiers_=_-1,_with_timeout" | ||
| 245 | "TestContainerSpecDefaultPath" | ||
| 246 | ;; Error: Not equal: | ||
| 247 | ;; expected: 1000 | ||
| 248 | ;; actual : 123 | ||
| 249 | "TestSetPositiveOomScoreAdjustment") | ||
| 250 | "|")))) | ||
| 251 | (native-inputs | ||
| 252 | (list go-github-com-stretchr-testify)) | ||
| 253 | (propagated-inputs | ||
| 254 | (list go-dario-cat-mergo | ||
| 255 | go-github-com-adalogics-go-fuzz-headers | ||
| 256 | go-github-com-checkpoint-restore-checkpointctl | ||
| 257 | go-github-com-checkpoint-restore-go-criu-v7 | ||
| 258 | go-github-com-containerd-btrfs-v2 | ||
| 259 | go-github-com-containerd-cgroups-v3 | ||
| 260 | go-github-com-containerd-console | ||
| 261 | go-github-com-containerd-containerd-api | ||
| 262 | go-github-com-containerd-continuity | ||
| 263 | go-github-com-containerd-errdefs | ||
| 264 | go-github-com-containerd-errdefs-pkg | ||
| 265 | go-github-com-containerd-fifo | ||
| 266 | go-github-com-containerd-go-cni | ||
| 267 | go-github-com-containerd-go-runc | ||
| 268 | go-github-com-containerd-imgcrypt-v2 | ||
| 269 | go-github-com-containerd-log | ||
| 270 | go-github-com-containerd-nri | ||
| 271 | go-github-com-containerd-otelttrpc | ||
| 272 | go-github-com-containerd-platforms | ||
| 273 | go-github-com-containerd-plugin | ||
| 274 | go-github-com-containerd-ttrpc | ||
| 275 | go-github-com-containerd-typeurl-v2 | ||
| 276 | go-github-com-containerd-zfs-v2 | ||
| 277 | go-github-com-containernetworking-cni | ||
| 278 | go-github-com-containernetworking-plugins | ||
| 279 | go-github-com-coreos-go-systemd-v22 | ||
| 280 | go-github-com-davecgh-go-spew | ||
| 281 | go-github-com-distribution-reference | ||
| 282 | go-github-com-docker-go-events | ||
| 283 | go-github-com-docker-go-metrics | ||
| 284 | go-github-com-docker-go-units | ||
| 285 | go-github-com-emicklei-go-restful-v3 | ||
| 286 | go-github-com-fsnotify-fsnotify | ||
| 287 | go-github-com-google-certtostore | ||
| 288 | go-github-com-google-go-cmp | ||
| 289 | go-github-com-google-uuid | ||
| 290 | go-github-com-grpc-ecosystem-go-grpc-middleware-providers-prometheus | ||
| 291 | go-github-com-intel-goresctrl | ||
| 292 | go-github-com-klauspost-compress | ||
| 293 | go-github-com-mdlayher-vsock | ||
| 294 | ;;go-github-com-microsoft-go-winio ;Windows only | ||
| 295 | ;;go-github-com-microsoft-hcsshim ;Windows only | ||
| 296 | go-github-com-moby-locker | ||
| 297 | go-github-com-moby-sys-mountinfo | ||
| 298 | go-github-com-moby-sys-sequential | ||
| 299 | go-github-com-moby-sys-signal | ||
| 300 | go-github-com-moby-sys-symlink | ||
| 301 | go-github-com-moby-sys-user | ||
| 302 | go-github-com-moby-sys-userns | ||
| 303 | go-github-com-opencontainers-go-digest | ||
| 304 | go-github-com-opencontainers-image-spec | ||
| 305 | go-github-com-opencontainers-runtime-spec | ||
| 306 | go-github-com-opencontainers-runtime-tools | ||
| 307 | go-github-com-opencontainers-selinux | ||
| 308 | go-github-com-pelletier-go-toml-v2 | ||
| 309 | go-github-com-prometheus-client-golang | ||
| 310 | go-github-com-sirupsen-logrus | ||
| 311 | go-github-com-tchap-go-patricia-v2 | ||
| 312 | go-github-com-urfave-cli-v2 | ||
| 313 | go-github-com-vishvananda-netlink | ||
| 314 | go-github-com-vishvananda-netns | ||
| 315 | go-go-etcd-io-bbolt | ||
| 316 | go-go-opentelemetry-io-contrib-instrumentation-google-golang-org-grpc-otelgrpc | ||
| 317 | go-go-opentelemetry-io-contrib-instrumentation-net-http-otelhttp | ||
| 318 | go-go-opentelemetry-io-otel | ||
| 319 | go-go-opentelemetry-io-otel-exporters-otlp-otlptrace | ||
| 320 | go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracegrpc | ||
| 321 | go-go-opentelemetry-io-otel-exporters-otlp-otlptrace-otlptracehttp | ||
| 322 | go-go-opentelemetry-io-otel-sdk | ||
| 323 | go-go-opentelemetry-io-otel-trace | ||
| 324 | go-go-uber-org-goleak | ||
| 325 | go-golang-org-x-mod | ||
| 326 | go-golang-org-x-sync | ||
| 327 | go-golang-org-x-sys | ||
| 328 | go-golang-org-x-time | ||
| 329 | go-google-golang-org-genproto-googleapis-rpc | ||
| 330 | go-google-golang-org-grpc | ||
| 331 | go-google-golang-org-protobuf | ||
| 332 | go-gopkg-in-inf-v0 | ||
| 333 | go-k8s-io-apimachinery | ||
| 334 | go-k8s-io-client-go | ||
| 335 | go-k8s-io-cri-api | ||
| 336 | go-k8s-io-klog-v2 | ||
| 337 | go-tags-cncf-io-container-device-interface)) | ||
| 338 | (home-page "https://containerd.io/") | ||
| 339 | (synopsis "Container runtime support daemon") | ||
| 340 | (description | ||
| 341 | "Containerd is a container runtime with an emphasis on simplicity, | ||
| 342 | robustness, and portability. It is available as a daemon, which can manage | ||
| 343 | the complete container lifecycle of its host system: image transfer and | ||
| 344 | storage, container execution and supervision, low-level storage and network | ||
| 345 | attachments, etc.") | ||
| 346 | (license license:asl2.0))) | ||
| 347 | |||
| 125 | (define-public go-github-com-containers-gvisor-tap-vsock | 348 | (define-public go-github-com-containers-gvisor-tap-vsock |
| 126 | (package | 349 | (package |
| 127 | (name "go-github-com-containers-gvisor-tap-vsock") | 350 | (name "go-github-com-containers-gvisor-tap-vsock") |
