[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52075] [PATCH v2 3/4] gnu: Add python-notmuch2.
From: |
Tanguy Le Carrour |
Subject: |
[bug#52075] [PATCH v2 3/4] gnu: Add python-notmuch2. |
Date: |
Wed, 24 Nov 2021 15:00:33 +0100 |
* gnu/packages/mail.scm (python-notmuch2): New variable.
---
gnu/packages/mail.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 7c7e411d5c..454c15e88b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -107,6 +107,7 @@ (define-module (gnu packages mail)
#:use-module (gnu packages language)
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages libevent)
+ #:use-module (gnu packages libffi)
#:use-module (gnu packages libidn)
#:use-module (gnu packages libunistring)
#:use-module (gnu packages libunwind)
@@ -1511,6 +1512,21 @@ (define-public python-notmuch
(define-public python2-notmuch
(package-with-python2 python-notmuch))
+(define-public python-notmuch2
+ (package
+ (inherit python-notmuch)
+ (name "python-notmuch2")
+ (propagated-inputs `(("python-cffi" ,python-cffi)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; This python package lives in a subdirectory of the notmuch source
+ ;; tree, so chdir into it before building.
+ (add-after 'unpack 'enter-python-dir
+ (lambda _ (chdir "bindings/python-cffi"))))))
+ (synopsis "Pythonic bindings for the notmuch mail database using CFFI")
+ (license license:gpl3+)))
+
(define-public muchsync
(package
(name "muchsync")
--
2.34.0
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., (continued)
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Nicolas Goaziou, 2021/11/24
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Jack Hill, 2021/11/24
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Nicolas Goaziou, 2021/11/24
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Jack Hill, 2021/11/24
- bug#52075: [PATCH 3/4] gnu: Add python-notmuch2., Nicolas Goaziou, 2021/11/27
- [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2., Tanguy LE CARROUR, 2021/11/28
[bug#52075] [PATCH 2/4] gnu: notmuch: Update to 0.34.1., Tanguy Le Carrour, 2021/11/24
[bug#52075] [PATCH 4/4] gnu: alot: Update to 0.10., Tanguy Le Carrour, 2021/11/24
[bug#52075] [PATCH v2 1/4] gnu: python-urwidtrees: Update to 1.0.3., Tanguy Le Carrour, 2021/11/24