linux-initrd: Add USB kernel modules to the default initrd.
[jackhill/guix/guix.git] / gnu / packages / nutrition.scm
CommitLineData
f4c4513d
EB
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages nutrition)
20 #:use-module (guix packages)
21 #:use-module (guix licenses)
22 #:use-module (guix download)
23 #:use-module (guix build-system python)
24 #:use-module (gnu packages)
25 #:use-module (gnu packages gtk)
26 #:use-module (gnu packages glib)
27 #:use-module (gnu packages image)
28 #:use-module (gnu packages python))
29
30(define-public gourmet
31 (package
32 (name "gourmet")
33 (version "0.17.4")
34 (source
35 (origin
36 (method url-fetch)
37 (uri (string-append "https://github.com/thinkle/gourmet/archive/"
38 version ".tar.gz"))
39 (sha256
40 (base32
41 "1qvz175arzqm10lpfx8ffadrgirs3240zzqcp0h7sl53qfwx7v8k"))))
42 (build-system python-build-system)
43 (native-inputs
44 `(("distutils-extra" ,python2-distutils-extra)
45 ("intltool" ,intltool)
46 ("python-pygtk" ,python2-pygtk))) ;for tests
47 ;; TODO: Add python-reportlab and/or python-poppler for printing/pdf
48 ;; export, and python-beautifulsoup for web import plugin.
49 (inputs
50 `(("pygtk" ,python2-pygtk)
51 ("sqlalchemy" ,python2-sqlalchemy)
52 ("python-pillow" ,python2-pillow)
53 ("elib.intl" ,python2-elib.intl)
54 ;; XXX: This really isn't an input for gourmet but of pillow. Making
55 ;; it a propagated input in pillow doesn't seem to get its site path
56 ;; into gourmet's wrapper's PYTHONPATH however...
57 ("python-setuptools" ,python2-setuptools)))
58 (arguments
59 `(#:python ,python-2 ;exception and print syntax
60 #:tests? #f)) ;tests look bitrotted
61 (home-page "http://thinkle.github.io/gourmet/")
62 (synopsis "Recipe organizer")
63 (description
64 "Gourmet Recipe Manager is a recipe organizer that allows you to collect,
65search, organize, and browse your recipes. Gourmet can also generate shopping
66lists and calculate nutritional information. It imports Mealmaster,
67MasterCook and KRecipe files and exports PDFs, webpages, and other formats.")
68 (license gpl2+)))