gnu: Add go-github-com-emersion-go-imap.
authorMartin Becze <mjbecze@riseup.net>
Tue, 1 Oct 2019 21:37:07 +0000 (17:37 -0400)
committerEfraim Flashner <efraim@flashner.co.il>
Tue, 23 Jun 2020 12:11:08 +0000 (15:11 +0300)
* gnu/packages/golang.scm (go-github-com-emersion-go-imap): New
variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
gnu/packages/golang.scm

index f092066..51851a4 100644 (file)
@@ -3667,6 +3667,31 @@ fnmatch gist (https://gist.github.com/kballard/272720).")
        "This is a fork of another go-libvterm library for use with aerc.")
       (license license:expat))))
 
+(define-public go-github-com-emersion-go-imap
+  (package
+    (name "go-github-com-emersion-go-imap")
+    (version "1.0.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+              (url "https://github.com/emersion/go-imap")
+              (commit (string-append "v" version))))
+        (sha256
+         (base32
+          "1id8j2d0rn9sj8y62xhyygqpk5ygrcl9jlfx92sm1jsvxsm3kywq"))
+        (file-name (git-file-name name version))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/emersion/go-imap"))
+    (native-inputs
+     `(("go-golang-org-x-text" ,go-golang-org-x-text)))
+    (home-page "https://github.com/emersion/go-imap")
+    (synopsis "IMAP4rev1 library written in Go")
+    (description "This package provides an IMAP4rev1 library written in Go.  It
+can be used to build a client and/or a server.")
+    (license license:expat)))
+
 (define-public go-github-com-fatih-color
   (package
     (name "go-github-com-fatih-color")