From a4523503314814adea61a7fef48ea443f7d14b8c Mon Sep 17 00:00:00 2001 From: Troy Sankey Date: Sun, 7 Aug 2016 13:27:18 -0400 Subject: [PATCH 3/3] gnu: python2-notmuch: Update to 0.22.1. --- gnu/packages/mail.scm | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 96537c4..57ec7c8 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -560,38 +560,7 @@ and search library.") (license gpl3+))) (define-public python2-notmuch - (package - (name "python2-notmuch") - (version "0.15.2") - (source (origin - (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/n/notmuch/notmuch-" - version - ".tar.gz")) - (sha256 - (base32 - "18g8701ibr153ngsz258kgcd42wqnbf9ifpqig1bijy6b0zx9xn5")))) - (build-system python-build-system) - (inputs `(("notmuch" ,notmuch))) - (arguments - `(#:python ,python-2 - #:phases (modify-phases %standard-phases - (add-before - 'build 'set-libnotmuch-file-name - (lambda* (#:key inputs #:allow-other-keys) - (let ((notmuch (assoc-ref inputs "notmuch"))) - (substitute* "notmuch/globals.py" - (("libnotmuch\\.so\\.[0-9]") - (string-append notmuch "/lib/libnotmuch.so.4"))) - #t)))) - #:tests? #f)) ;no "test" target - (home-page "http://notmuchmail.org/") - (synopsis "Python bindings of the Notmuch mail indexing library") - (description - "This package provides Python bindings to use the Notmuch mail indexing -and search library.") - (license gpl3+))) + (package-with-python2 python-notmuch)) (define-public getmail (package -- 2.1.4