diff mbox series

[bug#37444,v4,05/24] added go package go-github-com-emersion-go-imap

Message ID 20191001213726.21676-5-mjbecze@riseup.net
State Accepted
Headers show
Series [bug#37444,v4,01/24] added go package go-golang-org-x-oauth2 | expand

Commit Message

Martin Becze Oct. 1, 2019, 9:37 p.m. UTC
* gnu/packages/golang.scm (go-github-com-emersion-go-imap): added pacakge
---
 gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0ea99e40ab..ee4856c469 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3793,3 +3793,30 @@  gist (https://gist.github.com/kballard/272720)")
      (description "This is a personal fork for use with aerc. Breaking changes
  will come unannounced.")
      (license license:expat))))
+
+(define-public go-github-com-emersion-go-imap
+  (let ((url "https://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 url)
+             (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-encoding" ,go-golang-org-x-text-encoding)
+        ("go-golang-org-x-text-transform" ,go-golang-org-x-text-transform)))
+     (home-page url)
+     (synopsis "An IMAP4rev1 library written in Go")
+     (description "An IMAP4rev1 library written in Go. It can be used to build
+ a client and/or a server.")
+     (license license:expat))))