gnu: Add go-jose-util.

* gnu/packages/golang-web.scm (go-jose-util): New variable.

Change-Id: I452a6a339e0c6728707f3c1c8abc5041f2eb773a
This commit is contained in:
Sharlatan Hellseher 2024-12-26 15:24:21 +00:00
parent f75f38057e
commit 782b25d1b9
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -7384,6 +7384,37 @@ (define-public go-nhooyr-io-websocket
;;; Executables:
;;;
(define-public go-jose-util
(package
(name "go-jose-util")
(version "0.0.0-20240226165647-31202557b449")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-jose/go-jose")
(commit (go-version->git-ref version
#:subdir "jose-util"))))
(file-name (git-file-name name version))
(sha256
(base32 "19kr2r9nnrnixpmpp37p5adnxc92bc3gzqz7rpybgaly2wfssz0q"))))
(build-system go-build-system)
(arguments
(list
#:install-source? #f
#:import-path "github.com/go-jose/go-jose/jose-util"
#:unpack-path "github.com/go-jose/go-jose"))
(native-inputs
(list go-github-com-go-jose-go-jose-v3
go-gopkg-in-alecthomas-kingpin-v2))
(home-page "https://github.com/go-jose/go-jose")
(synopsis "JOSE CLI")
(description
"The @code{jose-util} command line utility allows for encryption,
decryption,signing and verification of JOSE messages. Its main purpose is to
facilitate dealing with JOSE messages when testing or debugging.")
(license license:asl2.0)))
(define-public go-gojay
(package
(inherit go-github-com-francoispqt-gojay)