Subject: [PATCH v4 34/41] gnu: Add go-github-com-emersion-go-msgauth.

From: "(" <[email-masked]>
Date: Wed, 6 Jul 2022 11:18:23 +0100

From: "(unmatched-parenthesis" <[email-masked]>

* gnu/packages/golang.scm (go-github-com-emersion-go-msgauth): New
  variable.
---
 gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index af4c44c2b5..94091370af 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10771,3 +10771,33 @@ (define-public go-github-com-emersion-go-milter
      "The milter package provides an interface to implement milter mail
 filters in Go.")
     (license license:bsd-2)))
+
+(define-public go-github-com-emersion-go-msgauth
+  (package
+    (name "go-github-com-emersion-go-msgauth")
+    (version "0.6.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/emersion/go-msgauth")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0ds8yr4cm9wigcxg1sxc2m0wmy4z9n6gws3mj50dmf2ayij69z9j"))))
+    (build-system go-build-system)
+    (arguments
+      (list #:import-path "github.com/emersion/go-msgauth"
+            #:tests? #f ; Source-only package.
+            #:phases
+            #~(modify-phases %standard-phases
+                ;; Source-only package.
+                (delete 'build))))
+    (propagated-inputs (list go-golang-org-x-crypto
+                             go-github-com-emersion-go-milter
+                             go-github-com-emersion-go-message))
+    (home-page "https://github.com/emersion/go-msgauth")
+    (synopsis "Email authentication for Go")
+    (description
+     "The msgauth package provides a Go library for authenticating emails.")
+    (license license:expat)))
-- 
2.36.1