diff mbox series

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

Message ID 20220706101830.12269-34-paren@disroot.org
State New
Headers show
Series [bug#55903,v4,01/41] 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

\( July 6, 2022, 10:18 a.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 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)))