~ruther/guix-local

5a8abec05262d69b037ef979211f38feff8f9479 — Sharlatan Hellseher 6 months ago df81748
gnu: Add go-github-com-containerd-errdefs.

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

Change-Id: I65dfdf3a4165983be9edadaa97cb810d7f844c18
1 files changed, 31 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +31 -0
@@ 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")