diff options
author | Liliana Marie Prikler <[email protected]> | 2024-02-25 10:28:03 +0100 |
---|---|---|
committer | Liliana Marie Prikler <[email protected]> | 2024-02-25 10:28:03 +0100 |
commit | 7bf4ce4582cd2f9c5b30c547262c1c4a426c0b9b (patch) | |
tree | c6f9cc83feaaf685b7542a98e60bc24ea7c297b1 /gnu/packages/golang-crypto.scm | |
parent | 06d01c610e3bee61e38a177aecda5982d5b338ae (diff) | |
parent | 92d8b4c9598ed32cdb6630433d5914c1ae8b7146 (diff) |
Merge branch 'master' into gnome-team
Diffstat (limited to 'gnu/packages/golang-crypto.scm')
-rw-r--r-- | gnu/packages/golang-crypto.scm | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 58fd9cb250..53ae308219 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2023 Clément Lassieur <[email protected]> ;;; Copyright © 2023 Felix Lechner <[email protected]> ;;; Copyright © 2023 Jack Hill <[email protected]> +;;; Copyright © 2024 Troy Figiel <[email protected]> ;;; ;;; This file is part of GNU Guix. ;;; @@ -272,7 +273,9 @@ needing to use secp256k1 elliptic curve cryptography.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1f3wyr9msnnz94szrkmnfps9wm40s5sp9i4ak0kl92zcrkmpy29a")))) + (base32 "1f3wyr9msnnz94szrkmnfps9wm40s5sp9i4ak0kl92zcrkmpy29a")) + (modules '((guix build utils))) + (snippet '(delete-file-recursively "xxhashbench")))) (build-system go-build-system) (arguments (list @@ -424,6 +427,52 @@ providing bidirectional mapping values to their names, plus enum convenience for values.") (license license:bsd-3))) +(define-public go-github-com-golang-jwt-jwt-v4 + (package + (name "go-github-com-golang-jwt-jwt-v4") + (version "4.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/golang-jwt/jwt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1m7c9lwlmd0lnn0hyby1rb3f4nwn4xcjgca218frj0hi0krqn8kp")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/golang-jwt/jwt/v4")) + (home-page "https://github.com/golang-jwt/jwt") + (synopsis "Go implementation of JSON Web Tokens") + (description + "This package provides a Go implementation of +@url{https://datatracker.ietf.org/doc/html/rfc7519, JSON Web Tokens} and +supports the parsing and verification as well as the generation and signing of +JSON Web Tokens. The currently supported signing algorithms are HMAC SHA, +RSA, RSA-PSS, and ECDSA, though hooks are present for adding your own.") + (license license:expat))) + +(define-public go-github-com-golang-jwt-jwt-v5 + (package + (inherit go-github-com-golang-jwt-jwt-v4) + (name "go-github-com-golang-jwt-jwt-v5") + (version "5.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/golang-jwt/jwt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0px12zhdmzqjj5zlcr136rcsilpmi4chiz6arxv49q372j4nhmia")))) + (arguments + (list + #:go go-1.18 + #:import-path "github.com/golang-jwt/jwt/v5")))) + (define-public go-github-com-gxed-hashland-keccakpg (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8") (revision "0")) |