From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH] gnu: Add perl-mailtools. Date: Wed, 27 Jul 2016 00:07:15 +0200 Message-ID: <20160727000715.054f6d85@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSAVY-0003hl-UB for guix-devel@gnu.org; Tue, 26 Jul 2016 18:07:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSAVV-0005AD-ON for guix-devel@gnu.org; Tue, 26 Jul 2016 18:07:24 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:34275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSAVV-0005A8-Hk for guix-devel@gnu.org; Tue, 26 Jul 2016 18:07:21 -0400 Received: from localhost (77.116.159.65.wireless.dyn.drei.com [77.116.159.65]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 505701CA06E3 for ; Wed, 27 Jul 2016 00:07:17 +0200 (CEST) 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@gnu.org * gnu/packages/mail.scm (perl-mailtools): New variable. --- gnu/packages/mail.scm | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 5a3ebf0..a6e2279 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -15,6 +15,7 @@ ;;; Copyright =C2=A9 2016 Lukas Gradl ;;; Copyright =C2=A9 2016 Alex Kost ;;; Copyright =C2=A9 2016 Troy Sankey +;;; Copyright =C2=A9 2016 Danny Milosavljevic ;;; ;;; This file is part of GNU Guix. ;;; @@ -70,11 +71,13 @@ #:use-module (gnu packages gdb) #:use-module (gnu packages samba) #:use-module (gnu packages tls) + #:use-module (gnu packages networking) + #:use-module (gnu packages web) ; lots of perl packages misclassified th= ere #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module ((guix licenses) - #:select (gpl2 gpl2+ gpl3 gpl3+ lgpl2.1 lgpl2.1+ lgpl3+ - non-copyleft (expat . license:expat))) + #:select (gpl2 gpl2+ gpl3 gpl3+ lgpl2.1 lgpl2.1+ lgpl3+ as= l2.0 + non-copyleft bsd-3 (expat . license:expat))) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) @@ -1260,3 +1263,25 @@ synchronizing with a remote address book, @command{v= dirsyncer} is recommended. Khard can also be used from within the email client @command{mutt}.") (home-page "https://github.com/scheibler/khard") (license gpl3+))) + +(define-public perl-mailtools + (package + (name "perl-mailtools") + (version "2.18") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/M/MA/MARKOV/MailTools-" + version + ".tar.gz")) + (sha256 + (base32 + "09xm6ymyqwawb21v15wyy721ps2rfxiqx5qdy8912dsp09vrxvnz")))) + (build-system perl-build-system) + (inputs `(("perl-timedate" ,perl-timedate))) + (home-page + "http://search.cpan.org/dist/MailTools") + (synopsis "Various e-mail related modules for Perl") + (description "MailTools contains E-Mail related modules for Perl.") + (license (package-license perl))))