summary refs log tree commit diff
diff options
context:
space:
mode:
author(unmatched-parenthesis <paren@disroot.org>2022-10-21 22:11:17 +0100
committerRaghav Gururajan <rg@raghavgururajan.name>2022-11-27 10:21:01 -0500
commitc4618ca13f1cefeb1dbfe619ca09f32925b84732 (patch)
tree8714a64e9471bb07c04e92361d8b660afcaff7a4
parent394a33f74cdc3f7660c6a51ca54aa06dd9cbfdd1 (diff)
downloadguix-c4618ca13f1cefeb1dbfe619ca09f32925b84732.tar.gz
gnu: Add go-github-com-emersion-go-imap-sortthread.
* gnu/packages/golang.scm (go-github-com-emersion-go-imap-sortthread):
  New variable.

Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
-rw-r--r--gnu/packages/golang.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1823096610..7df9c34828 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6612,6 +6612,32 @@ fnmatch gist (https://gist.github.com/kballard/272720).")
 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 "Sorting and threading of messages for the imap package")
+    (description
+     "The sortthread package implements message sorting and threading for
+@code{go-github-com-emersion-go-imap}.")
+    (license license:expat)))
+
 (define-public go-github-com-emersion-go-sasl
   (let ((commit "0b9dcfb154ac3d7515b08bc2691a0332800edfe9")
         (revision "1"))