Subject: [PATCH 24/41] gnu: Add go-github-com-emersion-go-imap-sortthread.

From: "(unmatched-parenthesis" <[email-masked]>
Date: Sat, 11 Jun 2022 20:16:36 +0100

* gnu/packages/golang.scm (go-github-com-emersion-go-imap-sortthread):
  New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index f579b63fb0..b66ded6f61 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10411,3 +10411,27 @@ (define-public go-github-com-emersion-go-imap
     (description "This package provides an IMAP4rev1 library written in
 Go.  It can be used to build IMAP clients and servers.")
     (license license:expat)))
+
+(define-public go-github-com-emersion-go-imap-sortthread
+  (package
+    (name "go-github-com-emersion-go-imap-sortthread")
+    (version "1.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/emersion/go-imap-sortthread")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1cfbgz1l5angnj52v9pxwggai2shx0h78ffcp7j4r4lr7lzflnwz"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/emersion/go-imap-sortthread"))
+    (propagated-inputs (list go-golang-org-x-text
+                             go-github-com-emersion-go-sasl
+                             go-github-com-emersion-go-imap))
+    (home-page "https://github.com/emersion/go-imap-sortthread")
+    (synopsis "SORT and THREAD for go-imap")
+    (description "Package sortthread implements SORT and THREAD for go-imap.")
+    (license license:expat)))
-- 
2.36.1