summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Rodrigues <arthurhdrodrigues@proton.me>2025-10-26 19:22:09 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-09 09:10:05 +0000
commite249fca6eb47f8f7d9081ddef2beca945370e3db (patch)
tree18ef66de629b2f76c4a7f5c51ceb188dd523f0fd
parent5cf298a20063d7a55ca34f08f1ae1b056247f1d5 (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 6886ae7b902..062298f52f0 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")