@@ -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))))