aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/nutrition.scm
diff options
context:
space:
mode:
authorMark Meyer <mark@ofosos.org>2017-12-17 14:08:17 +0100
committerLudovic Courtès <ludo@gnu.org>2017-12-17 17:22:31 +0100
commit217f704c6aa6a95caea0ebb7a252b8b2f1d78860 (patch)
tree51360ef7a36d7386135798861f9afed817227feb /gnu/packages/nutrition.scm
parent58d9e71bf13f5b1a598c9980a8e171afa71dd888 (diff)
downloadguix-217f704c6aa6a95caea0ebb7a252b8b2f1d78860.tar
guix-217f704c6aa6a95caea0ebb7a252b8b2f1d78860.tar.gz
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>
Diffstat (limited to 'gnu/packages/nutrition.scm')
-rw-r--r--gnu/packages/nutrition.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/nutrition.scm b/gnu/packages/nutrition.scm
index 90019f848c..0e03253cf1 100644
--- a/gnu/packages/nutrition.scm
+++ b/gnu/packages/nutrition.scm
@@ -52,11 +52,18 @@
(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