From e72420f24fa770a81b495c6ef607e2fc05f4f54f Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 2 Jun 2025 14:12:32 +0200 Subject: [PATCH] gnu: Add go-github-com-distribution-reference. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang-xyz.scm (go-github-com-distribution-reference): New variable. Co-authored-by: Ludovic Courtès Change-Id: I3c4b5f216e09c469590f61cb4bfe8ea25bfe2337 --- gnu/packages/golang-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index d0fa911e2eb..90b3ed6a683 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -5060,6 +5060,32 @@ on throughput and hit ratio performance.") Mark} detection.") (license license:asl2.0))) +(define-public go-github-com-distribution-reference + (package + (name "go-github-com-distribution-reference") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/distribution/reference") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zj2lmmznlrxdrrfmdsx7fgrmi64bj1jqz6r0ar35qmkx8pjvgl2")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/distribution/reference")) + (propagated-inputs (list go-github-com-opencontainers-go-digest)) + (home-page "https://github.com/distribution/reference") + (synopsis "Handle references to container images held in registries") + (description + "Package reference provides a general type to represent any way of referencing +images within the registry. Its main purpose is to abstract tags and digests +(content-addressable hash).") + (license license:asl2.0))) + (define-public go-github-com-disintegration-imaging (package (name "go-github-com-disintegration-imaging")