From 3463158205a0caff4656a5bc796675c93bd89d27 Mon Sep 17 00:00:00 2001 From: Troy Figiel Date: Sun, 11 Feb 2024 12:32:03 +0100 Subject: gnu: go-github-com-cespare-xxhash: Remove benchmarks. * gnu/packages/golang-crypto.scm (go-github-com-cespare-xxhash) [source]: Remove benchmarks. Signed-off-by: Sharlatan Hellseher Change-Id: Iabfcb76235206ffc2a9afb8d3cf185ebba99b59c --- gnu/packages/golang-crypto.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/golang-crypto.scm') diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 58fd9cb250..0dd43e0e03 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -272,7 +272,9 @@ (define-public go-github-com-cespare-xxhash (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 -- cgit v1.2.3 From 971b7b01c145535ea3da3cbe16622160e360140d Mon Sep 17 00:00:00 2001 From: Troy Figiel Date: Tue, 13 Feb 2024 23:37:58 +0100 Subject: gnu: Add go-github-com-golang-jwt-jwt-v4. * gnu/packages/golang-crypto.scm (go-github-com-golang-jwt-jwt-v4): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: If96f032f404c4aaf80c7bd8a3e231336a8c6dbfb --- gnu/packages/golang-crypto.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/golang-crypto.scm') diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 0dd43e0e03..e7dc939c6f 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2023 Clément Lassieur ;;; Copyright © 2023 Felix Lechner ;;; Copyright © 2023 Jack Hill +;;; Copyright © 2024 Troy Figiel ;;; ;;; This file is part of GNU Guix. ;;; @@ -426,6 +427,33 @@ (define-public go-github-com-gaukas-godicttls 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-gxed-hashland-keccakpg (let ((commit "d9f6b97f8db22dd1e090fd0bbbe98f09cc7dd0a8") (revision "0")) -- cgit v1.2.3 From 773d469a0eaa783d584fc9d2060df386fdc7aad8 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 19 Feb 2024 23:15:43 +0000 Subject: gnu: Add go-github-com-golang-jwt-jwt-v5. * gnu/packages/golang-crypto.scm (go-github-com-golang-jwt-jwt-v5): New variable. Change-Id: Ic4dae5e59495c5316586034c5ddbd5bcb70cdf95 --- gnu/packages/golang-crypto.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/golang-crypto.scm') diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index e7dc939c6f..53ae308219 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -454,6 +454,25 @@ (define-public go-github-com-golang-jwt-jwt-v4 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")) -- cgit v1.2.3