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