Merge branch 'master' into core-updates
[jackhill/guix/guix.git] / gnu / packages / gdbm.scm
CommitLineData
233e7676
LC
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
30c40755 3;;;
233e7676 4;;; This file is part of GNU Guix.
30c40755 5;;;
233e7676 6;;; GNU Guix is free software; you can redistribute it and/or modify it
30c40755
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
30c40755
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/>.
30c40755 18
1ffa7090 19(define-module (gnu packages gdbm)
4a44e743 20 #:use-module (guix licenses)
30c40755
LC
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu))
24
25(define-public gdbm
26 (package
27 (name "gdbm")
57ed6ab7 28 (version "1.11")
30c40755
LC
29 (source
30 (origin
31 (method url-fetch)
32 (uri (string-append "mirror://gnu/gdbm/gdbm-"
33 version ".tar.gz"))
34 (sha256
35 (base32
57ed6ab7 36 "1hz3jgh3pd4qzp6jy0l8pd8x01g9abw7csnrlnj1a2sxy122z4cd"))))
4f7d8d7e 37 (arguments `(#:configure-flags '("--enable-libgdbm-compat")))
30c40755
LC
38 (build-system gnu-build-system)
39 (home-page "http://www.gnu.org/software/gdbm/")
f7758740
LC
40 (synopsis
41 "Hash library of database functions compatible with traditional dbm")
30c40755 42 (description
a22dc0c4
LC
43 "GDBM is a library for manipulating hashed databases. It is used to
44store key/value pairs in a file in a manner similar to the Unix dbm library
45and provides interfaces to the traditional file format.")
4a44e743 46 (license gpl3+)))