gnu: Add go-github-com-containerd-errdefs.

* gnu/packages/golang-xyz.scm (go-github-com-containerd-errdefs): New variable.

Change-Id: I65dfdf3a4165983be9edadaa97cb810d7f844c18
This commit is contained in:
Sharlatan Hellseher 2025-09-07 12:37:36 +01:00
parent df81748146
commit 5a8abec052
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4624,6 +4624,37 @@ dependencies and a simple API.")
"This package provides a transport-agnostic, filesystem metadata manifest system.")
(license license:asl2.0)))
(define-public go-github-com-containerd-errdefs
(package
(name "go-github-com-containerd-errdefs")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/containerd/errdefs")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0afaljkkd388f6igr3f2vjnd14yr8h20fcfzglw8j5q1q7a1cvik"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Submodules with their own go.mod files and packaged separately:
;;
;; - github.com/containerd/errdefs/pkg
(delete-file-recursively "pkg")))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/containerd/errdefs"))
(home-page "https://github.com/containerd/errdefs")
(synopsis "Common definition and library of errors used by containerd")
(description
"Package errdefs defines the common errors used throughout containerd
packages.")
(license license:asl2.0)))
(define-public go-github-com-containerd-fifo
(package
(name "go-github-com-containerd-fifo")