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 <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Patrick Norton 2025-11-24 14:53:53 -05:00 committed by Sharlatan Hellseher
parent 6cb8480d5b
commit 98e1563d8a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")