gnu: Add python-notmuch2.
* gnu/packages/mail.scm (python-notmuch2): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
		
							parent
							
								
									7aff105123
								
							
						
					
					
						commit
						4be46b231f
					
				
					 1 changed files with 16 additions and 0 deletions
				
			
		| 
						 | 
					@ -107,6 +107,7 @@
 | 
				
			||||||
  #:use-module (gnu packages language)
 | 
					  #:use-module (gnu packages language)
 | 
				
			||||||
  #:use-module (gnu packages libcanberra)
 | 
					  #:use-module (gnu packages libcanberra)
 | 
				
			||||||
  #:use-module (gnu packages libevent)
 | 
					  #:use-module (gnu packages libevent)
 | 
				
			||||||
 | 
					  #:use-module (gnu packages libffi)
 | 
				
			||||||
  #:use-module (gnu packages libidn)
 | 
					  #:use-module (gnu packages libidn)
 | 
				
			||||||
  #:use-module (gnu packages libunistring)
 | 
					  #:use-module (gnu packages libunistring)
 | 
				
			||||||
  #:use-module (gnu packages libunwind)
 | 
					  #:use-module (gnu packages libunwind)
 | 
				
			||||||
| 
						 | 
					@ -1511,6 +1512,21 @@ and search library.")
 | 
				
			||||||
(define-public python2-notmuch
 | 
					(define-public python2-notmuch
 | 
				
			||||||
  (package-with-python2 python-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
 | 
					(define-public muchsync
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "muchsync")
 | 
					    (name "muchsync")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue