sharlatan pushed a commit to branch go-team in repository guix. commit 2afe94e37ba2cc5d3f8edb05b735e0a4f6b3d700 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Tue Feb 18 12:49:02 2025 +0000
gnu: Add go-github-com-elithrar-simple-scrypt. * gnu/packages/golang-crypto.scm (go-github-com-elithrar-simple-scrypt): New variable. Change-Id: Ia1cfb476a5c8c059e4e495a1b9f427f215e5cb15 --- gnu/packages/golang-crypto.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index b7533dccac..13785780b4 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -884,6 +884,35 @@ and encrypting JSON Web Tokens (JWT). It relies only on the standard library.") (license license:expat))) +(define-public go-github-com-elithrar-simple-scrypt + (package + (name "go-github-com-elithrar-simple-scrypt") + (version "1.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elithrar/simple-scrypt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xkyw6gdy9cxj7l20cmd97axcsbf0jmcfw94c4gyy1hnd4drszzf")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/elithrar/simple-scrypt")) + (propagated-inputs + (list go-golang-org-x-crypto)) + (home-page "https://github.com/elithrar/simple-scrypt") + (synopsis "Generating, comparing and inspecting password hashes library") + (description + "Package scrypt provides a convenience wrapper around Go's existing +@code{crypto/scrypt} package that makes it easier to securely derive strong +keys from weak inputs (i.e. user passwords). The package provides password +generation, constant-time comparison and parameter upgrading for scrypt +derived keys.") + (license license:expat))) + (define-public go-github-com-emersion-go-bcrypt (package (name "go-github-com-emersion-go-bcrypt")