From 6cb8480d5b2f82b143f5653176b7539173f4fcb4 Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 14:48:42 -0500 Subject: [PATCH] gnu: Add go-github-com-protonmail-bcrypt. * gnu/packages/golang-crypto.scm (go-github-com-protonmail-bcrypt): New variable. Change-Id: I518523fb6405501a207f8036d43167179c403317 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-crypto.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 009358ce2e6f6946d834f036d5e7c6497e8c5aec..29af760ce2334a9efd4cdc99f40a5a2e8f0da0ab 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -2281,6 +2281,30 @@ done by Marc Stevens and Dan Shumow, and can be found at: @@url{https://github.com/cr-marcstevens/sha1collisiondetection,https://github.com/cr-marcstevens/sha1collisiondetection}.") (license license:asl2.0))) +(define-public go-github-com-protonmail-bcrypt + (package + (name "go-github-com-protonmail-bcrypt") + (version "0.0.0-20211005172633-e235017c1baf") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ProtonMail/bcrypt") + (commit (go-version->git-ref version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0znxsia69c2p4vgj9qckqq3p06rg2b5qzdm7p7svs3x46bp28s3s")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/ProtonMail/bcrypt")) + (home-page "https://github.com/ProtonMail/bcrypt") + (synopsis "Bcrypt hash algorithm in Golang") + (description + "This package provides a Golang implementation of the bcrypt hash +algorithm. It is a fork of github.com/jameskeane/bcrypt.") + (license license:bsd-3))) + (define-public go-github-com-protonmail-go-crypto (package (name "go-github-com-protonmail-go-crypto")