Update license headers.
[jackhill/guix/guix.git] / distro / packages / recutils.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 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
9d9e6450 19(define-module (distro packages recutils)
4a44e743 20 #:use-module (guix licenses)
1722d680
LC
21 #:use-module (distro)
22 #:use-module (guix packages)
87f5d366 23 #:use-module (guix download)
1722d680
LC
24 #:use-module (guix utils)
25 #:use-module (guix build-system gnu))
26
1722d680
LC
27(define-public recutils
28 (package
29 (name "recutils")
30 (version "1.5")
31 (source (origin
87f5d366 32 (method url-fetch)
0db342a5 33 (uri (string-append "mirror://gnu/recutils/recutils-"
1722d680
LC
34 version ".tar.gz"))
35 (sha256
36 (base32
37 "1v2xzwwwhc5j5kmvg4sv6baxjpsfqh8ln7ilv4mgb1408rs7xmky"))))
38 (build-system gnu-build-system)
d1acf1fd
LC
39 (inputs `(;; TODO: Enable optional deps when they're packaged.
40 ;; ("curl" ,(nixpkgs-derivation "curl"))
41 ;; ("emacs" ,(nixpkgs-derivation "emacs"))
42 ;; ("check" ,(nixpkgs-derivation "check"))
43 ;; ("bc" ,(nixpkgs-derivation "bc"))
1722d680
LC
44 ("patch/gets"
45 ,(search-patch "diffutils-gets-undeclared.patch"))))
46 (arguments `(#:patches (list (assoc-ref %build-inputs "patch/gets"))))
d45122f5 47 (synopsis "GNU recutils, tools and libraries to access human-editable,
1722d680 48text-based databases")
d45122f5 49 (description
1722d680
LC
50 "GNU recutils is a set of tools and libraries to access human-editable,
51text-based databases called recfiles. The data is stored as a sequence of
52records, each record containing an arbitrary number of named fields.")
4a44e743 53 (license gpl3+)
1722d680 54 (home-page "http://www.gnu.org/software/recutils/")))