gnu: Add go-github-com-opencontainers-image-spec.

* gnu/packages/golang-xyz.scm (go-github-com-opencontainers-image-spec): New variable.

Change-Id: I1c9a22c2bb242e20e3e065132e8aecb87a2905fc
This commit is contained in:
Sharlatan Hellseher 2024-12-27 15:23:34 +00:00
parent e3a429b412
commit 05b7e779c6
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -8945,6 +8945,36 @@ (define-public go-github-com-opencontainers-go-digest
digests with little effort.")
(license (list license:asl2.0 license:cc-by-sa4.0))))
(define-public go-github-com-opencontainers-image-spec
(package
(name "go-github-com-opencontainers-image-spec")
(version "1.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/opencontainers/image-spec")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "108jws0i4kbawcihprj3wxp3yqv7nrynkwzwmbz42sx8dmbfq0kc"))))
(build-system go-build-system)
(arguments
(list
#:skip-build? #t
#:import-path "github.com/opencontainers/image-spec"))
(propagated-inputs
(list go-github-com-opencontainers-go-digest
go-github-com-russross-blackfriday
go-github-com-xeipuuv-gojsonreference
go-github-com-xeipuuv-gojsonschema))
(home-page "https://github.com/opencontainers/image-spec")
(synopsis "OCI Image Format Specification")
(description
"The OCI Image Format project creates and maintains the software shipping
container image format spec (OCI Image Format).")
(license license:asl2.0)))
;; XXX: Find a way to source from specification-runtime-spec.
(define-public go-github-com-opencontainers-runtime-spec
(package