summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-07-21 11:17:58 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-07-21 11:17:58 +0300
commit83dd7825187fc533aeadc2113b70c704e1968e56 (patch)
tree87aae2fdec2119945890cdaee4614a3e5c9b0962
parent3f795cf8f7cf942f0d8756f8b6c06bc016c567cb (diff)
gnu: Add python-authheaders.
* gnu/packages/mail.scm (python-authheaders): New variable.
-rw-r--r--gnu/packages/mail.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 56aba93479..e0aea51afb 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -3279,3 +3279,31 @@ helper scripts for command line signing and verification. It supports DKIM
signing/verifying of ed25519-sha256 signatures (RFC 8463). It also supports
the RFC 8617 Authenticated Received Chain (ARC) protocol.")
(license license:bsd-3)))
+
+(define-public python-authheaders
+ (package
+ (name "python-authheaders")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "authheaders" version))
+ (sha256
+ (base32
+ "14k6i72k5f8dyvps8vc0aq0cczc8lvqpgjfjzsy6qqychjvjcmwk"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-authres" ,python-authres)
+ ("python-dkimpy" ,python-dkimpy)
+ ("python-dnspython" ,python-dnspython)
+ ("python-publicsuffix2" ,python-publicsuffix2)))
+ (home-page "https://github.com/ValiMail/authentication-headers")
+ (synopsis "Library wrapping email authentication header verification and generation")
+ (description
+ "This is a Python library for the generation of email authentication
+headers. The library can perform DKIM, SPF, and DMARC validation, and the
+results are packaged into the Authentication-Results header. The library can
+DKIM and ARC sign messages and output the corresponding signature headers.")
+ ;; The package's metadata claims it were MIT licensed, but the source file
+ ;; headers disagree. MPL-2 for the public suffix list.
+ (license (list license:zpl2.1 license:zlib license:mpl2.0))))