From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk4hl-0001j0-Hv for guix-patches@gnu.org; Mon, 30 Jul 2018 05:43:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fk4hi-0002Vw-EB for guix-patches@gnu.org; Mon, 30 Jul 2018 05:43:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:57577) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fk4hi-0002Vq-AQ for guix-patches@gnu.org; Mon, 30 Jul 2018 05:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fk4hi-0002G9-3b for guix-patches@gnu.org; Mon, 30 Jul 2018 05:43:02 -0400 Subject: [bug#32312] [PATCH] gnu: Add urlscan. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk4hD-0001Rk-0l for guix-patches@gnu.org; Mon, 30 Jul 2018 05:42:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fk4h9-0002Js-LL for guix-patches@gnu.org; Mon, 30 Jul 2018 05:42:31 -0400 Received: from flashner.co.il ([178.62.234.194]:50162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk4h9-0002JT-DM for guix-patches@gnu.org; Mon, 30 Jul 2018 05:42:27 -0400 From: Efraim Flashner Date: Mon, 30 Jul 2018 12:42:23 +0300 Message-Id: <20180730094223.1467-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32312@debbugs.gnu.org Cc: Efraim Flashner * gnu/packages/mail.scm (urlscan): New variable. --- gnu/packages/mail.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 3d7b0e463..33733bbc0 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2554,3 +2554,29 @@ and binaries. It supports offline reading, scoring= and killfiles, yEnc, NZB, PGP handling, multiple servers, and secure connections.") ;; License of the docs: fdl-1.1; Others: gpl2. (license (list fdl1.1+ gpl2)))) + +(define-public urlscan + (package + (name "urlscan") + (version "0.8.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "urlscan" version)) + (sha256 + (base32 + "1f29bk0pmxas39i4xpnx37l1gis97qv9w44cgzwshsg9cbz56fk4")))) + (build-system python-build-system) + (propagated-inputs + `(("python-urwid" ,python-urwid))) + (home-page "https://github.com/firecat53/urlscan") + (synopsis "View/select the URLs in an email message or file") + (description + "Urlscan is a small program that is designed to integrate with the +@code{mutt} mailreader to allow you to easily launch a Web browser for U= RLs +contained in email messages. It parses an email message or file and sca= ns it +for URLs and email addresses. It then displays the URLs and their conte= xt +within the message, and allows you to choose one or more URLs to send to= your +Web browser. Alternatively, it send a list of all URLs to stdout. It i= s a +replacement for the @code{urlview} program.") + (license gpl2))) --=20 2.18.0