gnu: qemu: Remove dependency on Samba.
[jackhill/guix/guix.git] / gnu / packages / recutils.scm
CommitLineData
233e7676 1;;; GNU Guix --- Functional package management for GNU
b8c291fc 2;;; Copyright © 2012, 2013, 2014 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)
b8c35278
LC
27 #:use-module (gnu packages algebra)
28 #:use-module (gnu packages curl)
29 #:use-module (gnu packages gnupg))
1722d680 30
1722d680
LC
31(define-public recutils
32 (package
33 (name "recutils")
b8c291fc 34 (version "1.7")
1722d680 35 (source (origin
87f5d366 36 (method url-fetch)
0db342a5 37 (uri (string-append "mirror://gnu/recutils/recutils-"
1722d680
LC
38 version ".tar.gz"))
39 (sha256
40 (base32
b8c291fc 41 "0cdwa4094x3yx7vn98xykvnlp9rngvd58d19vs3vh5hrvggccg93"))))
1722d680 42 (build-system gnu-build-system)
b8c291fc
LC
43
44 ;; Running tests in parallel leads to test failures and crashes in
45 ;; torture/utils.
46 (arguments '(#:parallel-tests? #f))
47
b8c35278
LC
48 (native-inputs `(("emacs" ,emacs)
49 ("bc" ,bc)))
50
51 ;; TODO: Add more optional inputs.
52 ;; FIXME: Our Bash doesn't have development headers (need for the 'readrec'
53 ;; built-in command), but it's not clear how to get them installed.
b8c291fc 54 ;; See <https://lists.gnu.org/archive/html/bug-bash/2014-03/msg00125.html>.
b8c35278
LC
55 (inputs `(("curl" ,curl)
56 ("libgcrypt" ,libgcrypt)
57 ("check" ,check)))
f50d2669 58 (synopsis "Manipulate plain text files as databases")
d45122f5 59 (description
79c311b8 60 "GNU Recutils is a set of tools and libraries for creating and
a22dc0c4
LC
61manipulating text-based, human-editable databases. Despite being text-based,
62databases created with Recutils carry all of the expected features such as
63unique fields, primary keys, time stamps and more. Many different field types
64are supported, as is encryption.")
4a44e743 65 (license gpl3+)
1722d680 66 (home-page "http://www.gnu.org/software/recutils/")))