aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin J. Doering <collin@rekahsoft.ca>2021-11-19 17:56:39 -0500
committerLudovic Courtès <ludo@gnu.org>2022-01-01 15:10:12 +0100
commitbf87faff3c61de97040bcef6ef77e507f400032a (patch)
treeabd0bb7dcef002f9ef4fcfdd9f93a8a3a5ff5df6
parente556e97f90c41697e42ee0914496569646d2af5c (diff)
downloadguix-bf87faff3c61de97040bcef6ef77e507f400032a.tar
guix-bf87faff3c61de97040bcef6ef77e507f400032a.tar.gz
gnu: Add go-github-com-dvsekhvalnov-jose2go
* gnu/packages/golang.scm (go-github-com-dvsekhvalnov-jose2go): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/golang.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d64f14c453..22569828f2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8869,3 +8869,29 @@ be useful for other network applications.")
"Package percent escapes strings using percent-encoding.")
(home-page "https://github.com/mtibben/percent")
(license license:expat)))
+
+(define-public go-github-com-dvsekhvalnov-jose2go
+ (package
+ (name "go-github-com-dvsekhvalnov-jose2go")
+ (version "1.5.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dvsekhvalnov/jose2go")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pzfmv2dxb3m455bi1ks4q3i0dcw1sazxk8k96wrgpkwgglyxj3n"))))
+ (build-system go-build-system)
+ (native-inputs
+ (list go-gopkg-in-check-v1))
+ (arguments
+ '(#:import-path "github.com/dvsekhvalnov/jose2go"
+ #:phases %standard-phases))
+ (synopsis "Go implementation of Javascript Object Signing and Encryption spec")
+ (description
+ "This package provides a Go library for generating, decoding, and
+encrypting JSON Web Tokens (JWT). It relies only on the standard library.")
+ (home-page "https://github.com/dvsekhvalnov/jose2go")
+ (license license:expat)))