summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-19 21:18:13 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-19 21:40:29 +0100
commit522b24adaa84b35a152f72ede1771ea86a991cb7 (patch)
tree52bd163e1ed422b76843c50272b6ec933fedffb8 /gnu
parent4b5708c9cb6a6b73e54e3792e6a71587d4934dc5 (diff)
gnu: Add go-github-com-lestrrat-go-jwx-v2.
* gnu/packages/golang-web.scm (go-github-com-lestrrat-go-jwx-v2): New variable. Change-Id: If618e8adc69d07a8d9e159bb1f52a78db784c820
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-web.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 71982d460bc..3476b06461a 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -5926,6 +5926,51 @@ Javascript Object Signing and Encryption/JOSE} (JWA/JWE/JWK/JWS/JWT, otherwise
5926known as JOSE) technologies.") 5926known as JOSE) technologies.")
5927 (license license:expat))) 5927 (license license:expat)))
5928 5928
5929(define-public go-github-com-lestrrat-go-jwx-v2
5930 (package
5931 (inherit go-github-com-lestrrat-go-jwx)
5932 (name "go-github-com-lestrrat-go-jwx-v2")
5933 (version "2.1.6")
5934 (source
5935 (origin
5936 (method git-fetch)
5937 (uri (git-reference
5938 (url "https://github.com/lestrrat-go/jwx")
5939 (commit (string-append "v" version))))
5940 (file-name (git-file-name name version))
5941 (sha256
5942 (base32 "1qvi2z45pc2y97paw55vyb5q2ngrwczvxlkp0ccgxvpd73fbwmx9"))
5943 (modules '((guix build utils)))
5944 (snippet
5945 #~(begin
5946 ;; Submodules with their own go.mod files and packaged separately:
5947 ;;
5948 ;; - github.com/lestrrat-go/jwx/cmd/jwx
5949 ;; - github.com/lestrrat-go/jwx/tools/cmd/genjwa
5950 ;; - github.com/lestrrat-go/jwx/tools/cmd/genjwe
5951 ;; - github.com/lestrrat-go/jwx/tools/cmd/genjwk
5952 ;; - github.com/lestrrat-go/jwx/tools/cmd/genjws
5953 ;; - github.com/lestrrat-go/jwx/tools/cmd/genjwt
5954 ;; - github.com/lestrrat-go/jwx/tools/cmd/genoptions
5955 ;; - github.com/lestrrat-go/jwx/tools/cmd/genreadfile
5956 (for-each delete-file-recursively
5957 (list "cmd/jwx"
5958 "tools/cmd"))))))
5959 (build-system go-build-system)
5960 (arguments
5961 (substitute-keyword-arguments
5962 (package-arguments go-github-com-lestrrat-go-jwx)
5963 ((#:import-path _) "github.com/lestrrat-go/jwx/v2")))
5964 (propagated-inputs
5965 (list go-github-com-decred-dcrd-dcrec-secp256k1-v4
5966 go-github-com-goccy-go-json
5967 go-github-com-lestrrat-go-blackmagic
5968 go-github-com-lestrrat-go-httprc
5969 go-github-com-lestrrat-go-iter
5970 go-github-com-lestrrat-go-option
5971 go-github-com-segmentio-asm
5972 go-golang-org-x-crypto))))
5973
5929(define-public go-github-com-lestrrat-go-jwx-v3 5974(define-public go-github-com-lestrrat-go-jwx-v3
5930 (package 5975 (package
5931 (inherit go-github-com-lestrrat-go-jwx) 5976 (inherit go-github-com-lestrrat-go-jwx)