gnu: gourmet: Fix runtime failure and enhance plugin.

Fixes <https://bugs.gnu.org/29227>.
Reported by Caleb Herbert <csh@bluehome.net>.

* gnu/packages/nutrition.scm (gourmet)[inputs]: Add python-lxml.
[arguments]: Custom install phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Mark Meyer 2017-12-17 14:08:17 +01:00 committed by Ludovic Courtès
parent 58d9e71bf1
commit 217f704c6a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -52,11 +52,18 @@ (define-public gourmet
(inputs
`(("pygtk" ,python2-pygtk)
("sqlalchemy" ,python2-sqlalchemy)
("python-lxml" ,python2-lxml)
("python-pillow" ,python2-pillow)
("elib.intl" ,python2-elib.intl)))
(arguments
`(#:python ,python-2 ;exception and print syntax
#:tests? #f)) ;tests look bitrotted
#:tests? #f ;tests look bitrotted
#:phases
(modify-phases %standard-phases
(replace 'install
(lambda* (#:key make-flags #:allow-other-keys)
(zero? (system* "python" "setup.py" "install" "--prefix"
(assoc-ref %outputs "out"))))))))
(home-page "http://thinkle.github.io/gourmet/")
(synopsis "Recipe organizer")
(description