From 2bc27ff76ae53f9e7556d55a3dc2b4ffde6f72f7 Mon Sep 17 00:00:00 2001 From: "Matthew O'N.S Jordan" Date: Sun, 21 Aug 2016 11:47:17 -0400 Subject: [PATCH 2/2] gnu: Add feed2maildir * gnu/packages/mail.scm (python-feed2maildir): New variable. --- gnu/packages/mail.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 49bf8f7..d37557c 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2016 Alex Kost ;;; Copyright © 2016 Troy Sankey ;;; Copyright © 2016 ng0 +;;; Copyright © 2016 Matthew Jordan ;;; ;;; This file is part of GNU Guix. ;;; @@ -1305,3 +1306,29 @@ Khard can also be used from within the email client @command{mutt}.") (description "Mail::SPF is the Sender Policy Framework implemented in Perl.") (license bsd-3))) + +(define-public python-feed2maildir + (package + (name "feed2maildir") + (version "0.3.5.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/5f/e7/d6d7235f13aced7aaa08bbd0d5bb95c87f2945c29e290caa399a014eaeae/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "18g3v99s6703wgc90cgrdz6i3viqk857liy05ndvfjsidnikym44")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-feedparser" ,python-feedparser) + ("python-dateutil" ,python-dateutil-2))) + (home-page "https://github.com/sulami/feed2maildir") + (synopsis "Convert feeds to maildirs") + (description "Convert feeds to maildirs") + (license + (non-copyleft "https://github.com/sulami/feed2maildir/blob/master/LICENSE")))) -- 2.9.0