guix_mirror_bot pushed a commit to branch master in repository guix. commit 723b1b9416bf6726fe17f552fa597d424e335e61 Author: Arthur Rodrigues <arthurhdrodrig...@proton.me> AuthorDate: Sun Aug 17 18:28:54 2025 -0300
gnu: Add go-github-com-veraison-go-cose. * gnu/packages/golang-crypto.scm (go-github-com-veraison-go-cose): New variable. Change-Id: I509367fc19e8e99eed1061eb8e6448ea4b8f1480 Modified-by: Sharlatan Hellseher <sharlata...@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlata...@gmail.com> --- gnu/packages/golang-crypto.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 21aede3238..813c83257e 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2024 Troy Figiel <t...@troyfigiel.com> ;;; Copyright © 2025 Roman Scherer <ro...@burningswell.com> ;;; Copyright © 2025 Sharlatan Hellseher <sharlata...@gmail.com> +;;; Copyright © 2025 Arthur Rodrigues <arthurhdrodrig...@proton.me> ;;; ;;; This file is part of GNU Guix. ;;; @@ -2513,6 +2514,38 @@ support the streaming mode required by Go's standard Hash interface.") (list #:import-path "github.com/twpayne/go-pinentry/v4")))) +(define-public go-github-com-veraison-go-cose + ;; XXX: The latest commits provides test fixtures, see: + ;; <https://github.com/veraison/go-cose/pull/214/>. Revert back to git tag + ;; when a fresh release is available. + (let ((commit "a633822d54e270749baecce653c5ba4f07ccbb46") + (revision "0")) + (package + (name "go-github-com-veraison-go-cose") + (version (git-version "1.3.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/veraison/go-cose") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0nni0pv8s6mn1jpk6pxpi464qdji0s0pq587y2mnsa4zkp9pp09z")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/veraison/go-cose")) + (propagated-inputs + (list go-github-com-fxamacker-cbor-v2)) + (home-page "https://github.com/veraison/go-cose") + (synopsis "COSE specification for Go") + (description + "This package provides a Go library for the Concise Binary Object +Representation (CBOR) Object Signing and Encryption +@url{https://datatracker.ietf.org/doc/rfc9052/, (COSE) specification}.") + (license license:mpl2.0)))) + (define-public go-github-com-xanzy-ssh-agent (package (name "go-github-com-xanzy-ssh-agent")