Subject: [bug#51989] [PATCH 05/12] gnu: Add go-jose2go

From: "Collin J. Doering" <[email-masked]>
Date: Fri, 19 Nov 2021 18:18:21 -0500

---
 gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e9f90043d6..8c91cec335 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8954,3 +8954,29 @@ (define-public go-github-com-aws-aws-sdk-go
     (home-page "https://github.com/aws/aws-sdk-go")
     (license license:asl2.0)))
 
+(define-public go-github-com-dvsekhvalnov-jose2go
+  (package
+    (name "go-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
+     `(("go-gopkg-in-check-v1" ,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
+     "Pure Golang (GO) library for generating, decoding and encrypting JSON Web
+Tokens.  Zero dependency, relies only on standard library.")
+    (home-page "https://github.com/dvsekhvalnov/jose2go")
+    (license license:expat)))
+
-- 
2.33.1

-- 
Collin J. Doering

http://rekahsoft.ca
http://blog.rekahsoft.ca
http://git.rekahsoft.ca