From mboxrd@z Thu Jan 1 00:00:00 1970 From: Troy Sankey Subject: [PATCH] gnu: Add alot and python-urwidtrees Date: Fri, 01 Jul 2016 14:16:01 -0400 Message-ID: <1467396878-sup-4584@what> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ2z4-0003xJ-SU for guix-devel@gnu.org; Fri, 01 Jul 2016 14:16:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJ2z1-0007sp-NG for guix-devel@gnu.org; Fri, 01 Jul 2016 14:16:10 -0400 Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]:35139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ2z1-0007sl-Hn for guix-devel@gnu.org; Fri, 01 Jul 2016 14:16:07 -0400 Received: by mail-qk0-x241.google.com with SMTP id t2so2098807qkh.2 for ; Fri, 01 Jul 2016 11:16:07 -0700 (PDT) Received: from localhost (c-73-167-118-183.hsd1.ma.comcast.net. [73.167.118.183]) by smtp.gmail.com with ESMTPSA id m92sm1227019qtd.27.2016.07.01.11.16.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jul 2016 11:16:04 -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 --- gnu/packages/mail.scm | 31 +++++++++++++++++++++++++++++++ gnu/packages/python.scm | 24 ++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index c3baa72..62ff246 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -397,6 +397,37 @@ messages you need; in addition, it allows you to view messages, extract attachments, create new maildirs, and so on.") (license gpl3+))) +(define-public alot + (package + (name "alot") + (version "0.3.7") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/pazz/alot/archive/" + version ".tar.gz")) + (file-name (string-append "alot-" version ".tar.gz")) + (sha256 + (base32 + "09md9llg38r6xby8l0y0zf8nhlh91cr4xs0r15b294hhp8hl2bgx")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ; no tests + #:python ,python-2)) + (inputs + `(("python2-magic" ,python2-magic) + ("python2-configobj" ,python2-configobj) + ("python2-twisted" ,python2-twisted) + ("python2-urwid" ,python2-urwid) + ("python2-urwidtrees" ,python2-urwidtrees) + ("python2-pygpgme" ,python2-pygpgme) + ("python2-notmuch" ,python2-notmuch))) + (home-page "https://github.com/pazz/alot") + (synopsis "Commandline MUA using notmuch and urwid") + (description + "Alot is an experimental terminal MUA based on notmuch mail. It is +written in python using the urwid toolkit.") + (license gpl3+))) + (define-public notmuch (package (name "notmuch") diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 684c372..617732b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4488,6 +4488,30 @@ features useful for text console applications.") (define-public python2-urwid (package-with-python2 python-urwid)) +(define-public python-urwidtrees + (package + (name "python-urwidtrees") + (version "1.0.1.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "urwidtrees" version)) + (sha256 + (base32 + "1zcvy12s7h3fazf33d6y7b4v19p8hg95xqwhqlmw6jz9fq76v9h8")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) + (native-inputs `(("python-setuptools" ,python-setuptools))) + (inputs `(("python-urwid" ,python-urwid))) + (home-page "https://github.com/pazz/urwidtrees") + (synopsis "Tree widgets for urwid") + (description "Tree widgets for urwid.") + (license gpl3+))) + +(define-public python2-urwidtrees + (package-with-python2 python-urwidtrees)) + (define-public python-dbus (package (name "python-dbus") -- 2.1.4