~ruther/guix-local

b48bb87ffead5034e9a36eb1c6dcf9538208b07e — Sharlatan Hellseher 5 months ago 9af9fd2
gnu: Add go-github-com-containerd-go-cni.

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

Change-Id: Ib7cdd8234e494fbff281850ebb5d50a821cde158
Reviewed-by: Arthur Rodrigues <arthurhdrodrigues@proton.me>
1 files changed, 36 insertions(+), 0 deletions(-)

M gnu/packages/golang-web.scm
M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +36 -0
@@ 2320,6 2320,42 @@ Wasm}.
     "This Go package provides the gRPC API for containerd.")
    (license license:asl2.0)))

(define-public go-github-com-containerd-go-cni
  (package
    (name "go-github-com-containerd-go-cni")
    (version "1.1.13")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/containerd/go-cni")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "09j4arw5x8qx2blck9g5m6a7bwmfsyjpcmfznilklyypaqn7ri5z"))
       (modules '((guix build utils)))
       (snippet
        #~(begin
            ;; Submodules with their own go.mod files and packaged separately:
            ;;
            ;; - github.com/containerd/go-cni/integration
            (delete-file-recursively "integration")))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/containerd/go-cni"))
    (native-inputs
     (list go-github-com-stretchr-testify))
    (propagated-inputs
     (list go-github-com-containernetworking-cni
           go-github-com-sasha-s-go-deadlock))
    (home-page "https://github.com/containerd/go-cni")
    (synopsis "Generic CNI library to provide APIs for CNI plugin interactions")
    (description
     "This package provides a generic @acronym{Container Network Interface, CNI}
library to provide APIs for CNI plugin interactions.")
    (license license:asl2.0)))

(define-public go-github-com-containerd-ttrpc
  (package
    (name "go-github-com-containerd-ttrpc")