gnu: python-notmuch2: Use new style.
* gnu/packages/mail.scm (python-notmuch2)[version]: Explicitly inherit from notmuch. [arguments]: Use list of G-Expressions.
This commit is contained in:
parent
8d33d7b42f
commit
7258c90572
1 changed files with 28 additions and 26 deletions
|
|
@ -1486,10 +1486,12 @@ and search library.")
|
|||
(package
|
||||
(inherit python-notmuch)
|
||||
(name "python-notmuch2")
|
||||
(version (package-version notmuch))
|
||||
(propagated-inputs (list python-cffi))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(list
|
||||
#: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
|
||||
|
|
@ -1513,7 +1515,7 @@ and search library.")
|
|||
(("NOTMUCH_VERSION_FILE")
|
||||
"'/dev/null'")
|
||||
(("version=VERSION,")
|
||||
(string-append "version='" ,(package-version this-package) "',"))))))))
|
||||
(string-append "version='" #$version "',"))))))))
|
||||
(synopsis "Pythonic bindings for the notmuch mail database using CFFI")
|
||||
(license license:gpl3+)))
|
||||
|
||||
|
|
|
|||
Reference in a new issue