From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Jordan Subject: [PATCH 2/2] Feed2maildir: Add feed2maildir Date: Sun, 21 Aug 2016 12:13:45 -0400 Message-ID: <87zio6f6bq.fsf@guixsd-mailerver.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbVNf-00040M-FA for guix-devel@gnu.org; Sun, 21 Aug 2016 12:13:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbVNc-0000v3-7m for guix-devel@gnu.org; Sun, 21 Aug 2016 12:13:51 -0400 Received: from mail-ua0-x242.google.com ([2607:f8b0:400c:c08::242]:35127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbVNc-0000uz-2f for guix-devel@gnu.org; Sun, 21 Aug 2016 12:13:48 -0400 Received: by mail-ua0-x242.google.com with SMTP id 109so9008791uat.2 for ; Sun, 21 Aug 2016 09:13:48 -0700 (PDT) Received: from localhost ([204.212.245.29]) by smtp.gmail.com with ESMTPSA id c25sm3287587uaa.24.2016.08.21.09.13.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Aug 2016 09:13:46 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel --=-=-= Content-Type: text/plain Good Day, This a patch to add feed2maildir. Let me know if I need to change anything. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0002-gnu-Add-feed2maildir.patch Content-Transfer-Encoding: 8bit Content-Description: patch to add feed2maildir. >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 --=-=-= Content-Type: text/plain Sincerely, Matthew Jordan --=-=-=--