diff options
Diffstat (limited to 'gnu/packages/golang-crypto.scm')
-rw-r--r-- | gnu/packages/golang-crypto.scm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index edfe26b454..fa8c5e9529 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -24,6 +24,8 @@ ;;; Copyright © 2024 Troy Figiel <[email protected]> ;;; Copyright © 2024 Jean Simard <[email protected]> ;;; Copyright © 2024 Superfly Johnson <[email protected]> +;;; Copyright © 2025 Roman Scherer <[email protected]> +;;; Copyright © 2025 Sharlatan Hellseher <[email protected]> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1259,6 +1261,33 @@ Stealing encryption and decryption methods.") "A Golang library to verify Minisign signatures.") (license license:expat))) +(define-public go-github-com-jphastings-jwker + (package + (name "go-github-com-jphastings-jwker") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jphastings/jwker") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0nb487c2cfazxwqghq5a8iz8gyi0hhajc39c260f0n6d3ib1798g")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/jphastings/jwker")) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://github.com/jphastings/jwker") + (synopsis "PEM -> JWK conversion tool") + (description + "This package implements a functionality to convert keys between the +@acronym{PEM, Privacy-Enhanced Mail} and @acronym{JWK, JSON Web Key} file +formats.") + (license license:expat))) + (define-public go-github-com-jzelinskie-whirlpool (package (name "go-github-com-jzelinskie-whirlpool") @@ -2565,6 +2594,19 @@ Go.") #:unpack-path "filippo.io/age" #:install-source? #f)))) +(define-public go-jwker + (package/inherit go-github-com-jphastings-jwker + (name "go-jwker") + (arguments + (list + #:tests? #f + #:install-source? #f + #:build-flags + #~(list (string-append "-ldflags=-X main.version=" + #$(package-version this-package))) + #:unpack-path "github.com/jphastings/jwker" + #:import-path "github.com/jphastings/jwker/cmd/jwker")))) + (define-public go-keyring (package (inherit go-github-com-99designs-keyring) |