1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2012 Ludovic Courtès <ludo@gnu.org>
4 ;;; This file is part of GNU Guix.
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
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.
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
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.
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
19 (define-module (gnu packages gdbm)
20 #:use-module (guix licenses)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu))
32 (uri (string-append "mirror://gnu/gdbm/gdbm-"
36 "0h9lfzdjc2yl849y0byg51h6xfjg0y7vg9jnsw3gpfwlbd617y13"))))
37 (arguments `(#:configure-flags '("--enable-libgdbm-compat")))
38 (build-system gnu-build-system)
39 (home-page "http://www.gnu.org/software/gdbm/")
40 (synopsis "GNU dbm key/value database library")
42 "GNU dbm (or GDBM, for short) is a library of database functions
43 that use extensible hashing and work similar to the standard UNIX dbm.
44 These routines are provided to a programmer needing to create and
45 manipulate a hashed database.
47 The basic use of GDBM is to store key/data pairs in a data file. Each
48 key must be unique and each key is paired with only one data item.
50 The library provides primitives for storing key/data pairs, searching
51 and retrieving the data by its key and deleting a key along with its
52 data. It also support sequential iteration over all key/data pairs in a
55 For compatibility with programs using old UNIX dbm function, the package
56 also provides traditional dbm and ndbm interfaces.")