~ruther/guix-local

4cf3bcd1e8487ed2860d9aa86a148f37c0009853 — Patrick Norton 3 months ago 6540621
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 <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 46 insertions(+), 0 deletions(-)

M gnu/packages/golang-web.scm
M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +46 -0
@@ 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")