Commit | Line | Data |
---|---|---|
233e7676 | 1 | ;;; GNU Guix --- Functional package management for GNU |
156b5010 | 2 | ;;; Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org> |
1722d680 | 3 | ;;; |
233e7676 | 4 | ;;; This file is part of GNU Guix. |
1722d680 | 5 | ;;; |
233e7676 | 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
1722d680 LC |
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 | ;;; | |
233e7676 | 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
1722d680 LC |
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 | |
233e7676 | 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
1722d680 | 18 | |
1ffa7090 | 19 | (define-module (gnu packages recutils) |
4a44e743 | 20 | #:use-module (guix licenses) |
59a43334 | 21 | #:use-module (gnu packages) |
1722d680 | 22 | #:use-module (guix packages) |
87f5d366 | 23 | #:use-module (guix download) |
156b5010 | 24 | #:use-module (guix build-system gnu) |
1ffa7090 LC |
25 | #:use-module (gnu packages emacs) |
26 | #:use-module (gnu packages check) | |
27 | #:use-module (gnu packages algebra)) | |
1722d680 | 28 | |
1722d680 LC |
29 | (define-public recutils |
30 | (package | |
31 | (name "recutils") | |
32 | (version "1.5") | |
33 | (source (origin | |
87f5d366 | 34 | (method url-fetch) |
0db342a5 | 35 | (uri (string-append "mirror://gnu/recutils/recutils-" |
1722d680 LC |
36 | version ".tar.gz")) |
37 | (sha256 | |
38 | (base32 | |
01eafd38 LC |
39 | "1v2xzwwwhc5j5kmvg4sv6baxjpsfqh8ln7ilv4mgb1408rs7xmky")) |
40 | (patches | |
41 | (list (search-patch "diffutils-gets-undeclared.patch"))))) | |
1722d680 | 42 | (build-system gnu-build-system) |
d1acf1fd LC |
43 | (inputs `(;; TODO: Enable optional deps when they're packaged. |
44 | ;; ("curl" ,(nixpkgs-derivation "curl")) | |
156b5010 LC |
45 | ("emacs" ,emacs) |
46 | ("check" ,check) | |
01eafd38 | 47 | ("bc" ,bc))) |
f50d2669 | 48 | (synopsis "Manipulate plain text files as databases") |
d45122f5 | 49 | (description |
1722d680 LC |
50 | "GNU recutils is a set of tools and libraries to access human-editable, |
51 | text-based databases called recfiles. The data is stored as a sequence of | |
52 | records, each record containing an arbitrary number of named fields.") | |
4a44e743 | 53 | (license gpl3+) |
1722d680 | 54 | (home-page "http://www.gnu.org/software/recutils/"))) |