@@ -3898,3 +3898,37 @@ gist (https://gist.github.com/kballard/272720)")
(synopsis "A Go library for maildir")
(description "A Go library for maildir.")
(license license:expat))))
+
+
+(define-public go-github-com-emersion-go-message
+ (let ((url "https://github.com/emersion/go-message"))
+ (package
+ (name "go-github-com-emersion-go-message")
+ (version "0.10.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url url)
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "05s6x6x5k5b4qmfam716b5wi47rrvj702lfkc6gr681z64g2hirb"))
+ (file-name (git-file-name name version))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/emersion/go-message"))
+ (propagated-inputs
+ `(("go-github-com-emersion-go-textwrapper"
+ ,go-github-com-emersion-go-textwrapper)
+ ("go-github-com-martinlindhe-base36"
+ ,go-github-com-martinlindhe-base36)))
+ (home-page url)
+ (synopsis "A Go library for the Internet Message Format")
+ (description "A Go library for the Internet Message Format. It implements:
+@itemize
+@item RFC 5322: Internet Message Format
+@item RFC 2045, RFC 2046 and RFC 2047: Multipurpose Internet Mail Extensions
+@item RFC 2183: Content-Disposition Header Field
+@end itemize")
+ (license license:expat))))