Archived
1
0
Fork 0

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:
Liliana Marie Prikler 2022-03-23 21:12:38 +01:00
parent 8d33d7b42f
commit 7258c90572
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -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+)))