From e249fca6eb47f8f7d9081ddef2beca945370e3db Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Sun, 26 Oct 2025 19:22:09 +0000 Subject: [PATCH] gnu: Add go-oras-land-oras-go-v2. * gnu/packages/golang-xyz.scm (go-oras-land-oras-go-v2): New variable. Change-Id: Ie7637e925db68a740ff09ace2bd02e5b4a1b3357 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 6886ae7b90204c9bd93ce4cb3ce8abd6f340b2f5..062298f52f04f745274e7c895631d36a0039f8ec 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -25820,6 +25820,39 @@ package.") ;; License type does latterly says it' "UNLICENSE". (license license:unlicense))) +(define-public go-oras-land-oras-go-v2 + (package + (name "go-oras-land-oras-go-v2") + (version "2.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/oras-project/oras-go") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0y2cdpy13gfmjfdpqlcq4ss36avzvfjmmfadc82bawg8jwi0j2jk")))) + (build-system go-build-system) + (arguments + (list + #:import-path "oras.land/oras-go/v2")) + (propagated-inputs + (list go-github-com-opencontainers-go-digest + go-github-com-opencontainers-image-spec + go-golang-org-x-sync)) + (home-page "https://oras.land/oras-go") + (synopsis "OCI artifacts management library for Golang") + (description + "@code{oras-go} is a Go library for managing OCI artifacts, compliant +with the @url{https://github.com/opencontainers/image-spec, OCI Image Format +Specification} and the +@url{https://github.com/opencontainers/distribution-spec, OCI Distribution +Specification}. It provides unified APIs for pushing, pulling, and managing +artifacts across OCI-compliant registries, local file systems, and in-memory +stores.") + (license license:asl2.0))) + (define-public go-resenje-org-singleflight (package (name "go-resenje-org-singleflight")