From bf87faff3c61de97040bcef6ef77e507f400032a Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Fri, 19 Nov 2021 17:56:39 -0500 Subject: [PATCH] gnu: Add go-github-com-dvsekhvalnov-jose2go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/golang.scm (go-github-com-dvsekhvalnov-jose2go): New variable. Co-authored-by: Ludovic Courtès --- gnu/packages/golang.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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 @@ (define-public go-github-com-percent "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)))