guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 98e1563d8aaddc32e24f64fa2f1c07e082d6e62a
Author: Patrick Norton <[email protected]>
AuthorDate: Mon Nov 24 14:53:53 2025 -0500
gnu: Add go-github-com-protonmail-go-srp.
* gnu/packages/golang-web.scm (go-github-com-protonmail-go-srp): New
variable.
Change-Id: Ica1f8323a2d0f1abf9e886320c2c5218a958e679
Modified-by: Sharlatan Hellseher <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang-web.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index c65ad7fd48..ee4b48f051 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -11456,6 +11456,43 @@ changes.")
(description "This package provides a parser for MIME messages.")
(license license:expat)))
+(define-public go-github-com-protonmail-go-srp
+ (package
+ (name "go-github-com-protonmail-go-srp")
+ (version "0.0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ProtonMail/go-srp")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0bzpq1yqfrrzyrmmwc9kf84k35567hdrs4zagxakpi7hia847l1z"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/ProtonMail/go-srp"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'delete-windows-files
+ (lambda* (#:key import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (delete-file-recursively "dist/windows")))))))
+ (propagated-inputs
+ (list go-github-com-cronokirby-saferith
+ go-github-com-pkg-errors
+ go-github-com-protonmail-bcrypt
+ go-github-com-protonmail-go-crypto
+ go-golang-org-x-crypto))
+ (home-page "https://github.com/ProtonMail/go-srp")
+ (synopsis "SRP protocol implementation in Golang")
+ (description
+ "This package provides a Golang implementation of the
+@url{https://datatracker.ietf.org/doc/html/rfc5054, SRP protocol}, used for
+authentication of ProtonMail users.")
+ (license license:expat)))
+
(define-public go-github-com-protonmail-gopenpgp-v2
(package
(name "go-github-com-protonmail-gopenpgp-v2")