diff mbox series

[bug#55903,v3,34/35] gnu: Add go-github-com-emersion-go-msgauth.

Message ID 20220613194030.3540-34-paren@disroot.org
State New
Headers show
Series [bug#55903,v3,01/35] gnu: Add go-github-com-zenhack-go-notmuch. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

\( June 13, 2022, 7:40 p.m. UTC
From: "(unmatched-parenthesis" <paren@disroot.org>

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

Patch

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 8d1499e85d..5b3f328c89 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10714,3 +10714,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)))