From 4cf3bcd1e8487ed2860d9aa86a148f37c0009853 Mon Sep 17 00:00:00 2001 From: Patrick Norton Date: Mon, 24 Nov 2025 14:57:26 -0500 Subject: [PATCH] gnu: Add go-github-com-protonmail-gluon. * gnu/packages/golang-web.scm (go-github-com-protonmail-gluon): New variable. Change-Id: I52578a1be1326b838c36c5afe9e7983c51422e12 Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-web.scm | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index ee4b48f051180a4f72b4b18d3eb21bc7a8cc74d5..a41626db5e3d1529bd9684d3ef0c6486f5a50640 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -11432,6 +11432,52 @@ serialization and are generally 2 to 3 times faster. In cases where changes.") (license license:asl2.0))) +(define-public go-github-com-protonmail-gluon + (package + (name "go-github-com-protonmail-gluon") + ;; The latest commit from dev branch, 0.17.0 was placed in 2023. + (properties '((commit . "17b9426ae8f792e9eaa4309cb7dceb193d31cb66") + (revision . "0"))) + (version (git-version "0.17.0" + (assoc-ref properties 'revision) + (assoc-ref properties 'commit))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ProtonMail/gluon") + (commit (assoc-ref properties 'commit)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1bbbn3777947ffls5ngdfh5r1miqws1l9lq7g2379843admsszc8")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/ProtonMail/gluon")) + (native-inputs + (list go-github-com-stretchr-testify + go-go-uber-org-goleak)) + (propagated-inputs + (list go-github-com-bradenaw-juniper + go-github-com-emersion-go-imap + go-github-com-emersion-go-imap-uidplus + go-github-com-golang-mock + go-github-com-google-uuid + go-github-com-mattn-go-sqlite3 + go-github-com-pierrec-lz4-v4 + go-github-com-pkg-profile + go-github-com-protonmail-go-mbox + go-github-com-sirupsen-logrus + go-golang-org-x-exp + go-golang-org-x-sys + go-golang-org-x-text + go-gopkg-in-yaml-v3)) + (home-page "https://github.com/ProtonMail/gluon") + (synopsis "IMAP server library") + (description + "This package implements an IMAP4rev1 (+extensions) mailserver.") + (license license:expat))) + (define-public go-github-com-protonmail-go-mime (package (name "go-github-com-protonmail-go-mime")