gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2016-05-09 15:51:04 +02:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
|
2015-09-11 22:32:32 +02:00
|
|
|
|
;;; Copyright © 2012, 2014, 2015 Andreas Enge <andreas@enge.fr>
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
|
2016-05-06 15:11:08 +02:00
|
|
|
|
;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
|
2016-01-18 03:36:48 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
|
2015-03-17 04:11:26 +01:00
|
|
|
|
;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
|
2015-04-16 10:48:31 +02:00
|
|
|
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
2015-10-18 21:40:08 +02:00
|
|
|
|
;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
|
2017-02-22 19:36:11 +01:00
|
|
|
|
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
2017-02-14 20:21:27 +01:00
|
|
|
|
;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
|
2016-04-27 00:44:22 +02:00
|
|
|
|
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
2016-08-14 22:25:15 +02:00
|
|
|
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
2016-09-13 20:07:13 +02:00
|
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
2016-09-22 05:58:28 +02:00
|
|
|
|
;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
|
2016-12-27 21:56:01 +01:00
|
|
|
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
2017-01-24 18:03:31 +01:00
|
|
|
|
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
2017-04-26 18:36:31 +02:00
|
|
|
|
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages databases)
|
|
|
|
|
#:use-module (gnu packages)
|
2017-02-08 20:11:17 +01:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2016-04-27 00:44:22 +02:00
|
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
|
#:use-module (gnu packages avahi)
|
2017-02-08 19:56:03 +01:00
|
|
|
|
#:use-module (gnu packages base)
|
2015-10-18 21:40:08 +02:00
|
|
|
|
#:use-module (gnu packages bash)
|
2017-02-08 20:11:17 +01:00
|
|
|
|
#:use-module (gnu packages bison)
|
2016-03-17 20:58:50 +01:00
|
|
|
|
#:use-module (gnu packages boost)
|
2017-02-08 20:11:17 +01:00
|
|
|
|
#:use-module (gnu packages check)
|
|
|
|
|
#:use-module (gnu packages compression)
|
2016-09-22 05:58:28 +02:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2017-02-08 20:11:17 +01:00
|
|
|
|
#:use-module (gnu packages curl)
|
|
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
|
|
|
|
#:use-module (gnu packages emacs)
|
2016-04-27 00:44:22 +02:00
|
|
|
|
#:use-module (gnu packages gettext)
|
|
|
|
|
#:use-module (gnu packages glib)
|
2017-02-08 20:11:17 +01:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
|
|
|
|
#:use-module (gnu packages jemalloc)
|
2015-03-17 19:00:07 +01:00
|
|
|
|
#:use-module (gnu packages language)
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
#:use-module (gnu packages linux)
|
2017-04-26 18:36:31 +02:00
|
|
|
|
#:use-module (gnu packages man)
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2017-01-03 07:21:43 +01:00
|
|
|
|
#:use-module (gnu packages parallel)
|
2015-04-16 10:48:31 +02:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2017-02-08 20:11:17 +01:00
|
|
|
|
#:use-module (gnu packages perl)
|
2016-04-27 00:44:22 +02:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2017-01-03 07:21:43 +01:00
|
|
|
|
#:use-module (gnu packages popt)
|
2017-02-08 20:11:17 +01:00
|
|
|
|
#:use-module (gnu packages python)
|
2016-04-27 00:44:22 +02:00
|
|
|
|
#:use-module (gnu packages rdf)
|
2017-02-08 20:11:17 +01:00
|
|
|
|
#:use-module (gnu packages readline)
|
|
|
|
|
#:use-module (gnu packages tcl)
|
|
|
|
|
#:use-module (gnu packages tls)
|
2015-04-16 10:48:31 +02:00
|
|
|
|
#:use-module (gnu packages xml)
|
2016-08-14 22:25:15 +02:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
|
|
|
|
#:use-module (guix build-system gnu)
|
2014-09-28 00:41:39 +02:00
|
|
|
|
#:use-module (guix build-system perl)
|
2016-09-11 20:22:39 +02:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-04-16 10:48:31 +02:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2015-06-09 12:07:46 +02:00
|
|
|
|
#:use-module (guix utils)
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
#:use-module (srfi srfi-26)
|
|
|
|
|
#:use-module (ice-9 match))
|
|
|
|
|
|
2016-04-27 00:44:22 +02:00
|
|
|
|
(define-public 4store
|
|
|
|
|
(package
|
|
|
|
|
(name "4store")
|
|
|
|
|
(version "1.1.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/garlik/4store/archive/v"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "004fmcf1w75zhc1x3zc6kc97j4jqn2v5nhk6yb3z3cpfrhzi9j50"))
|
|
|
|
|
(patches (list (search-patch "4store-fix-buildsystem.patch")))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2016-09-25 09:33:02 +02:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2016-04-27 00:44:22 +02:00
|
|
|
|
("libtool" ,libtool)
|
2016-06-24 23:54:00 +02:00
|
|
|
|
("pcre" ,pcre "bin") ;for 'pcre-config'
|
2016-04-27 00:44:22 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("rasqal" ,rasqal)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("raptor2" ,raptor2)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("avahi" ,avahi)
|
|
|
|
|
("cyrus-sasl" ,cyrus-sasl)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("util-linux" ,util-linux)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'generate-configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "./autogen.sh")))))))
|
|
|
|
|
;; http://www.4store.org has been down for a while now.
|
|
|
|
|
(home-page "https://github.com/garlik/4store")
|
|
|
|
|
(synopsis "Clustered RDF storage and query engine")
|
|
|
|
|
(description "4store is a RDF/SPARQL store written in C, supporting
|
|
|
|
|
either single machines or networked clusters.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:gpl3+)))
|
2016-04-27 00:44:22 +02:00
|
|
|
|
|
2015-10-29 16:48:32 +01:00
|
|
|
|
(define-public gdbm
|
|
|
|
|
(package
|
|
|
|
|
(name "gdbm")
|
2016-05-17 09:45:06 +02:00
|
|
|
|
(version "1.12")
|
2015-10-29 16:48:32 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/gdbm/gdbm-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-05-17 09:45:06 +02:00
|
|
|
|
"1smwz4x5qa4js0zf1w3asq6z7mh20zlgwbh2bk5dczw6xrk22yyr"))))
|
2015-10-29 16:48:32 +01:00
|
|
|
|
(arguments `(#:configure-flags '("--enable-libgdbm-compat")))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "http://www.gnu.org.ua/software/gdbm")
|
2015-10-29 16:48:32 +01:00
|
|
|
|
(synopsis
|
|
|
|
|
"Hash library of database functions compatible with traditional dbm")
|
|
|
|
|
(description
|
|
|
|
|
"GDBM is a library for manipulating hashed databases. It is used to
|
|
|
|
|
store key/value pairs in a file in a manner similar to the Unix dbm library
|
|
|
|
|
and provides interfaces to the traditional file format.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:gpl3+)))
|
2015-10-29 16:48:32 +01:00
|
|
|
|
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(define-public bdb
|
|
|
|
|
(package
|
|
|
|
|
(name "bdb")
|
2016-05-13 08:22:31 +02:00
|
|
|
|
(version "6.2.23")
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-13 08:22:31 +02:00
|
|
|
|
(uri (string-append "http://download.oracle.com/berkeley-db/db-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1isxx4jfmnh913jzhp8hhfngbk6dsg46f4kjpvvc56maj64jqqa7"))))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs '("out" ; programs, libraries, headers
|
|
|
|
|
"doc")) ; 94 MiB of HTML docs
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no check target available
|
2016-05-09 15:51:04 +02:00
|
|
|
|
#:disallowed-references ("doc")
|
2015-09-11 22:23:29 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(alist-replace
|
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
;; '--docdir' is not honored, so we need to patch.
|
|
|
|
|
(substitute* "dist/Makefile.in"
|
|
|
|
|
(("docdir[[:blank:]]*=.*")
|
|
|
|
|
(string-append "docdir = " doc "/share/doc/bdb")))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
|
2015-09-11 22:23:29 +02:00
|
|
|
|
(zero?
|
|
|
|
|
(system* "./dist/configure"
|
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
(string-append "CONFIG_SHELL=" (which "bash"))
|
|
|
|
|
(string-append "SHELL=" (which "bash"))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
|
2016-05-09 15:51:38 +02:00
|
|
|
|
;; Remove 7 MiB of .a files.
|
|
|
|
|
"--disable-static"
|
|
|
|
|
|
2015-09-11 22:23:29 +02:00
|
|
|
|
;; The compatibility mode is needed by some packages,
|
|
|
|
|
;; notably iproute2.
|
2015-09-11 22:32:32 +02:00
|
|
|
|
"--enable-compat185"
|
|
|
|
|
|
|
|
|
|
;; The following flag is needed so that the inclusion
|
|
|
|
|
;; of db_cxx.h into C++ files works; it leads to
|
|
|
|
|
;; HAVE_CXX_STDHEADERS being defined in db_cxx.h.
|
|
|
|
|
"--enable-cxx"))))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
%standard-phases)))
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
(synopsis "Berkeley database")
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(description
|
|
|
|
|
"Berkeley DB is an embeddable database allowing developers the choice of
|
|
|
|
|
SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
|
2017-02-06 17:14:53 +01:00
|
|
|
|
;; Starting with version 6, BDB is distributed under AGPL3. Many individual
|
|
|
|
|
;; files are covered by the 3-clause BSD license.
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license (list license:agpl3+ license:bsd-3))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(home-page
|
|
|
|
|
"http://www.oracle.com/us/products/database/berkeley-db/overview/index.html")))
|
|
|
|
|
|
2016-06-19 21:19:58 +02:00
|
|
|
|
(define-public bdb-5.3
|
|
|
|
|
(package (inherit bdb)
|
|
|
|
|
(name "bdb")
|
|
|
|
|
(version "5.3.28")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license (license:non-copyleft "file://LICENSE"
|
|
|
|
|
"See LICENSE in the distribution."))
|
2016-06-19 21:19:58 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.oracle.com/berkeley-db/db-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-22 19:36:11 +01:00
|
|
|
|
"0a1n5hbl7027fbz5lm0vp0zzfp1hmxnz14wx3zl9563h83br5ag0"))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target available
|
|
|
|
|
#:disallowed-references ("doc")
|
|
|
|
|
#:phases
|
|
|
|
|
(alist-replace
|
|
|
|
|
'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(doc (assoc-ref outputs "doc")))
|
|
|
|
|
;; '--docdir' is not honored, so we need to patch.
|
|
|
|
|
(substitute* "dist/Makefile.in"
|
|
|
|
|
(("docdir[[:blank:]]*=.*")
|
|
|
|
|
(string-append "docdir = " doc "/share/doc/bdb")))
|
|
|
|
|
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./dist/configure"
|
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
(string-append "CONFIG_SHELL=" (which "bash"))
|
|
|
|
|
(string-append "SHELL=" (which "bash"))
|
|
|
|
|
|
|
|
|
|
;; Bdb doesn't recognize aarch64 as an architecture.
|
|
|
|
|
,@(if (string=? "aarch64-linux" (%current-system))
|
|
|
|
|
'("--build=aarch64-unknown-linux-gnu")
|
|
|
|
|
'())
|
|
|
|
|
|
|
|
|
|
;; Remove 7 MiB of .a files.
|
|
|
|
|
"--disable-static"
|
|
|
|
|
|
|
|
|
|
;; The compatibility mode is needed by some packages,
|
|
|
|
|
;; notably iproute2.
|
|
|
|
|
"--enable-compat185"
|
|
|
|
|
|
|
|
|
|
;; The following flag is needed so that the inclusion
|
|
|
|
|
;; of db_cxx.h into C++ files works; it leads to
|
|
|
|
|
;; HAVE_CXX_STDHEADERS being defined in db_cxx.h.
|
|
|
|
|
"--enable-cxx"))))
|
|
|
|
|
%standard-phases)))))
|
2016-06-19 21:19:58 +02:00
|
|
|
|
|
2016-12-27 21:56:01 +01:00
|
|
|
|
(define-public leveldb
|
|
|
|
|
(package
|
|
|
|
|
(name "leveldb")
|
2017-03-02 17:36:08 +01:00
|
|
|
|
(version "1.20")
|
2016-12-27 21:56:01 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/google/leveldb"
|
|
|
|
|
"/archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-02 17:36:08 +01:00
|
|
|
|
"0r36bcrj6b2afsp4aw1gjai3jbs1c7734pxpc1jz7hh9nasyiazm"))))
|
2016-12-27 21:56:01 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags (list "CC=gcc")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
;; There is no install target, so we do it here.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(include (string-append out "/include")))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file lib))
|
|
|
|
|
(find-files "out-shared" "^libleveldb\\.so.*$"))
|
|
|
|
|
(copy-recursively "include" include)
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("snappy" ,snappy)))
|
|
|
|
|
(home-page "http://leveldb.org/")
|
|
|
|
|
(synopsis "Fast key-value storage library")
|
|
|
|
|
(description
|
|
|
|
|
"LevelDB is a fast key-value storage library that provides an ordered
|
|
|
|
|
mapping from string keys to string values.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:bsd-3)))
|
2016-12-27 21:56:01 +01:00
|
|
|
|
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(define-public mysql
|
|
|
|
|
(package
|
|
|
|
|
(name "mysql")
|
2017-04-14 16:39:08 +02:00
|
|
|
|
(version "5.7.18")
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-03-17 20:58:50 +01:00
|
|
|
|
(uri (list (string-append
|
|
|
|
|
"http://dev.mysql.com/get/Downloads/MySQL-"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.gz")
|
|
|
|
|
(string-append
|
|
|
|
|
"http://downloads.mysql.com/archives/get/file/"
|
|
|
|
|
name "-" version ".tar.gz")))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-14 16:39:08 +02:00
|
|
|
|
"18m1mr55k9zmvnyqs0wr50csqsz3scs09fykh60wsml6c3np2p8b"))))
|
2015-06-09 12:07:46 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2016-09-23 05:33:19 +02:00
|
|
|
|
`(#:configure-flags
|
2015-06-09 12:07:46 +02:00
|
|
|
|
'("-DBUILD_CONFIG=mysql_release"
|
|
|
|
|
"-DWITH_SSL=system"
|
|
|
|
|
"-DWITH_ZLIB=system"
|
|
|
|
|
"-DDEFAULT_CHARSET=utf8"
|
|
|
|
|
"-DDEFAULT_COLLATION=utf8_general_ci"
|
|
|
|
|
"-DMYSQL_DATADIR=/var/lib/mysql"
|
|
|
|
|
"-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
|
|
|
|
|
"-DINSTALL_INFODIR=share/mysql/docs"
|
|
|
|
|
"-DINSTALL_MANDIR=share/man"
|
|
|
|
|
"-DINSTALL_PLUGINDIR=lib/mysql/plugin"
|
|
|
|
|
"-DINSTALL_SCRIPTDIR=bin"
|
|
|
|
|
"-DINSTALL_INCLUDEDIR=include/mysql"
|
|
|
|
|
"-DINSTALL_DOCREADMEDIR=share/mysql/docs"
|
|
|
|
|
"-DINSTALL_SUPPORTFILESDIR=share/mysql"
|
|
|
|
|
"-DINSTALL_MYSQLSHAREDIR=share/mysql"
|
|
|
|
|
"-DINSTALL_DOCDIR=share/mysql/docs"
|
|
|
|
|
"-DINSTALL_SHAREDIR=share/mysql"
|
|
|
|
|
;; Get rid of test data.
|
|
|
|
|
"-DINSTALL_MYSQLTESTDIR="
|
2015-06-26 23:39:31 +02:00
|
|
|
|
"-DINSTALL_SQLBENCHDIR=")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after
|
2016-03-17 20:58:50 +01:00
|
|
|
|
'unpack 'patch-boost-version
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Mysql wants boost-1.59.0 specifically
|
|
|
|
|
(substitute* "cmake/boost.cmake"
|
2016-09-23 05:33:19 +02:00
|
|
|
|
(("59")
|
|
|
|
|
,(match (string-split (package-version boost) #\.)
|
|
|
|
|
((_ minor . _) minor))))))
|
2015-06-27 10:13:39 +02:00
|
|
|
|
(add-after
|
|
|
|
|
'install 'remove-extra-binaries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; Remove the 3 *_embedded files, which weigh in at
|
|
|
|
|
;; 14 MiB each.
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(find-files (string-append out "/bin")
|
|
|
|
|
"_embedded$"))
|
2017-03-27 10:52:48 +02:00
|
|
|
|
#t))))
|
|
|
|
|
;; On aarch64 the test suite runs out of memory and fails.
|
|
|
|
|
,@(if (string-prefix? "aarch64-linux"
|
|
|
|
|
(or (%current-target-system) (%current-system)))
|
|
|
|
|
'(#:tests? #f)
|
|
|
|
|
'())))
|
2015-06-09 12:07:46 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("perl" ,perl)))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(inputs
|
2016-03-17 20:58:50 +01:00
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("libaio" ,libaio)
|
|
|
|
|
("ncurses" ,ncurses)
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
("openssl" ,openssl)
|
2016-03-17 20:58:50 +01:00
|
|
|
|
("zlib" ,zlib)))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(home-page "http://www.mysql.com/")
|
2014-09-13 15:50:30 +02:00
|
|
|
|
(synopsis "Fast, easy to use, and popular database")
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(description
|
|
|
|
|
"MySQL is a fast, reliable, and easy to use relational database
|
|
|
|
|
management system that supports the standardized Structured Query
|
|
|
|
|
Language.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:gpl2)))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
|
2015-04-16 10:48:31 +02:00
|
|
|
|
(define-public mariadb
|
|
|
|
|
(package
|
|
|
|
|
(name "mariadb")
|
2017-03-15 15:04:07 +01:00
|
|
|
|
(version "10.1.22")
|
2015-04-16 10:48:31 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://downloads.mariadb.org/f/"
|
|
|
|
|
name "-" version "/source/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-15 15:04:07 +01:00
|
|
|
|
"1kk674mx2bf22yivvzv1al5gdg9kyxar47m282bylb6kg8p5gc5w"))))
|
2015-04-16 10:48:31 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
'("-DBUILD_CONFIG=mysql_release"
|
|
|
|
|
"-DDEFAULT_CHARSET=utf8"
|
|
|
|
|
"-DDEFAULT_COLLATION=utf8_general_ci"
|
|
|
|
|
"-DMYSQL_DATADIR=/var/lib/mysql"
|
|
|
|
|
"-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
|
|
|
|
|
"-DINSTALL_INFODIR=share/mysql/docs"
|
|
|
|
|
"-DINSTALL_MANDIR=share/man"
|
|
|
|
|
"-DINSTALL_PLUGINDIR=lib/mysql/plugin"
|
|
|
|
|
"-DINSTALL_SCRIPTDIR=bin"
|
|
|
|
|
"-DINSTALL_INCLUDEDIR=include/mysql"
|
|
|
|
|
"-DINSTALL_DOCREADMEDIR=share/mysql/docs"
|
|
|
|
|
"-DINSTALL_SUPPORTFILESDIR=share/mysql/support-files"
|
|
|
|
|
"-DINSTALL_MYSQLSHAREDIR=share/mysql"
|
|
|
|
|
"-DINSTALL_DOCDIR=share/mysql/docs"
|
|
|
|
|
"-DINSTALL_SHAREDIR=share/mysql")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'configure 'pre-configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "sh"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after
|
|
|
|
|
'install 'post-install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(test (assoc-ref outputs "test")))
|
|
|
|
|
(substitute* (string-append out "/bin/mysql_install_db")
|
|
|
|
|
(("basedir=\"\"")
|
|
|
|
|
(string-append "basedir=\"" out "\"")))
|
|
|
|
|
;; Remove unneeded files for testing.
|
|
|
|
|
(with-directory-excursion out
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("data" "mysql-test" "sql-bench"
|
|
|
|
|
"share/man/man1/mysql-test-run.pl.1")))))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("jemalloc" ,jemalloc)
|
|
|
|
|
("libaio" ,libaio)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://mariadb.org/")
|
|
|
|
|
(synopsis "SQL database server")
|
|
|
|
|
(description
|
|
|
|
|
"MariaDB is a multi-user and multi-threaded SQL database server, designed
|
|
|
|
|
as a drop-in replacement of MySQL.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:gpl2)))
|
2015-04-16 10:48:31 +02:00
|
|
|
|
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(define-public postgresql
|
|
|
|
|
(package
|
|
|
|
|
(name "postgresql")
|
2017-04-13 15:03:13 +02:00
|
|
|
|
(version "9.6.2")
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-04-01 12:57:21 +02:00
|
|
|
|
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
2015-04-23 12:27:47 +02:00
|
|
|
|
version "/postgresql-" version ".tar.bz2"))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-13 15:03:13 +02:00
|
|
|
|
"1jahzqqw5inyvmacic2ihhj5f8z50lapci2fwws91h719ccbb1q1"))))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2016-03-24 14:23:55 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-/bin/sh
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Refer to the actual shell.
|
|
|
|
|
(substitute* '("src/bin/pg_ctl/pg_ctl.c"
|
|
|
|
|
"src/bin/psql/command.c")
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t)))))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("readline" ,readline)
|
|
|
|
|
("zlib" ,zlib)))
|
2016-11-09 10:39:30 +01:00
|
|
|
|
(home-page "https://www.postgresql.org/")
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(synopsis "Powerful object-relational database system")
|
|
|
|
|
(description
|
|
|
|
|
"PostgreSQL is a powerful object-relational database system. It is fully
|
|
|
|
|
ACID compliant, has full support for foreign keys, joins, views, triggers, and
|
|
|
|
|
stored procedures (in multiple languages). It includes most SQL:2008 data
|
|
|
|
|
types, including INTEGER, NUMERIC, BOOLEAN, CHAR, VARCHAR, DATE, INTERVAL, and
|
|
|
|
|
TIMESTAMP. It also supports storage of binary large objects, including
|
|
|
|
|
pictures, sounds, or video.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license (license:x11-style "file://COPYRIGHT"))))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
|
2017-01-24 18:03:31 +01:00
|
|
|
|
(define-public qdbm
|
|
|
|
|
(package
|
|
|
|
|
(name "qdbm")
|
|
|
|
|
(version "1.8.78")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://fallabs.com/" name "/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0gmpvhn02pkq280ffmn4da1g4mdr1xxz7l80b7y4n7km1mrzwrml"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`( #:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib"))))
|
|
|
|
|
(home-page "http://fallabs.com/qdbm")
|
|
|
|
|
(synopsis "Key-value database")
|
|
|
|
|
(description "QDBM is a library of routines for managing a
|
|
|
|
|
database. The database is a simple data file containing key-value
|
|
|
|
|
pairs. Every key and value is serial bytes with variable length.
|
|
|
|
|
Binary data as well as character strings can be used as a key or a
|
|
|
|
|
value. There is no concept of data tables or data types. Records are
|
|
|
|
|
organized in a hash table or B+ tree.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(define-public recutils
|
|
|
|
|
(package
|
|
|
|
|
(name "recutils")
|
|
|
|
|
(version "1.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/recutils/recutils-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cdwa4094x3yx7vn98xykvnlp9rngvd58d19vs3vh5hrvggccg93"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
|
|
|
|
|
;; Running tests in parallel leads to test failures and crashes in
|
|
|
|
|
;; torture/utils.
|
2015-10-18 21:40:08 +02:00
|
|
|
|
(arguments '(#:parallel-tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list (string-append "--with-bash-headers="
|
|
|
|
|
(assoc-ref %build-inputs "bash:include")
|
2016-10-17 21:36:25 +02:00
|
|
|
|
"/include/bash"))
|
|
|
|
|
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'set-bash4.4-header-location
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "bash/Makefile.in"
|
|
|
|
|
;; Adjust the header search path for Bash
|
|
|
|
|
;; 4.4 in accordance with 'bash.pc'.
|
|
|
|
|
(("AM_CPPFLAGS = (.*)$" _ rest)
|
|
|
|
|
(string-append "AM_CPPFLAGS = "
|
|
|
|
|
"-I$(BASH_HEADERS)/include "
|
|
|
|
|
rest))
|
|
|
|
|
|
|
|
|
|
;; Install to PREFIX/lib/bash to match Bash
|
|
|
|
|
;; 4.4's search path.
|
|
|
|
|
(("^libdir = .*$")
|
|
|
|
|
"libdir = @libdir@/bash\n"))
|
|
|
|
|
#t)))))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
|
2016-05-12 00:58:59 +02:00
|
|
|
|
(native-inputs `(("emacs" ,emacs-minimal)
|
2015-09-22 01:42:10 +02:00
|
|
|
|
("bc" ,bc)
|
2015-10-18 21:40:08 +02:00
|
|
|
|
("bash:include" ,bash "include")
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 14:37:28 +01:00
|
|
|
|
("libuuid" ,util-linux)))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
|
|
|
|
|
;; TODO: Add more optional inputs.
|
|
|
|
|
(inputs `(("curl" ,curl)
|
|
|
|
|
("libgcrypt" ,libgcrypt)
|
|
|
|
|
("check" ,check)))
|
|
|
|
|
(synopsis "Manipulate plain text files as databases")
|
|
|
|
|
(description
|
|
|
|
|
"GNU Recutils is a set of tools and libraries for creating and
|
|
|
|
|
manipulating text-based, human-editable databases. Despite being text-based,
|
|
|
|
|
databases created with Recutils carry all of the expected features such as
|
2014-09-13 15:31:31 +02:00
|
|
|
|
unique fields, primary keys, time stamps and more. Many different field
|
|
|
|
|
types are supported, as is encryption.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:gpl3+)
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/recutils/")))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
|
2017-01-03 07:21:43 +01:00
|
|
|
|
(define-public rocksdb
|
|
|
|
|
(package
|
|
|
|
|
(name "rocksdb")
|
2017-03-27 20:11:02 +02:00
|
|
|
|
(version "5.2.1")
|
2017-01-03 07:21:43 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/facebook/rocksdb"
|
|
|
|
|
"/archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-27 20:11:02 +02:00
|
|
|
|
"1v2q05bl56sfp51m09z7g6489hkfq4vf6b4qgfg3d96ylgmay9yb"))
|
2017-01-03 07:21:43 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; TODO: unbundle gtest.
|
|
|
|
|
(delete-file "build_tools/gnu_parallel")
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "INSTALL_PATH="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-Makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("build_tools/gnu_parallel") "parallel")
|
2017-04-14 21:03:31 +02:00
|
|
|
|
;; Don't depend on the static library when installing.
|
|
|
|
|
(("install: install-static")
|
|
|
|
|
"install: install-shared")
|
2017-01-03 07:21:43 +01:00
|
|
|
|
(("#!/bin/sh") (string-append "#!" (which "sh"))))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'check 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
2017-04-14 12:30:03 +02:00
|
|
|
|
;; This test fails with GCC-5 and is unmaintained.
|
|
|
|
|
;; https://github.com/facebook/rocksdb/issues/2148
|
|
|
|
|
(("^[[:blank:]]+spatial_db_test[[:blank:]]+\\\\") "\\")
|
2017-01-03 07:21:43 +01:00
|
|
|
|
;; These tests reliably fail due to "Too many open files".
|
|
|
|
|
(("^[[:blank:]]+env_test[[:blank:]]+\\\\") "\\")
|
|
|
|
|
(("^[[:blank:]]+persistent_cache_test[[:blank:]]+\\\\") "\\"))
|
|
|
|
|
#t))
|
2017-04-14 21:03:31 +02:00
|
|
|
|
(add-after 'check 'build-release-libraries
|
|
|
|
|
;; The default build target is a debug build for tests. The
|
|
|
|
|
;; install target depends on "shared_lib" and "static_lib"
|
|
|
|
|
;; targets for release builds so we build them here for clarity.
|
|
|
|
|
;; TODO: Add debug output.
|
|
|
|
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
|
|
|
|
;; Prevent the build from adding machine-specific optimizations.
|
|
|
|
|
(setenv "PORTABLE" "1")
|
|
|
|
|
(zero? (apply system* "make" "shared_lib" make-flags)))))))
|
2017-01-03 07:21:43 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("parallel" ,parallel)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("procps" ,procps)
|
2017-02-08 19:56:03 +01:00
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("which" ,which)))
|
2017-01-03 07:21:43 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("gflags" ,gflags)
|
|
|
|
|
("jemalloc" ,jemalloc)
|
|
|
|
|
("lz4" ,lz4)
|
|
|
|
|
("snappy" ,snappy)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://rocksdb.org/")
|
|
|
|
|
(synopsis "Persistent key-value store for fast storage")
|
|
|
|
|
(description
|
|
|
|
|
"RocksDB is a library that forms the core building block for a fast
|
|
|
|
|
key-value server, especially suited for storing data on flash drives. It
|
|
|
|
|
has a @dfn{Log-Structured-Merge-Database} (LSM) design with flexible tradeoffs
|
|
|
|
|
between @dfn{Write-Amplification-Factor} (WAF), @dfn{Read-Amplification-Factor}
|
|
|
|
|
(RAF) and @dfn{Space-Amplification-Factor} (SAF). It has multi-threaded
|
|
|
|
|
compactions, making it specially suitable for storing multiple terabytes of
|
|
|
|
|
data in a single database. RocksDB is partially based on @code{LevelDB}.")
|
|
|
|
|
;; RocksDB is BSD-3 and the JNI adapter is Apache 2.0.
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license (list license:bsd-3 license:asl2.0))))
|
2017-01-03 07:21:43 +01:00
|
|
|
|
|
2016-06-10 14:45:41 +02:00
|
|
|
|
(define-public sparql-query
|
|
|
|
|
(package
|
|
|
|
|
(name "sparql-query")
|
|
|
|
|
(version "1.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/tialaramex/"
|
|
|
|
|
name "/archive/" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0yq3k20472rv8npcc420q9ab6idy584g5y0q501d360k5q0ggr8w"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("readline" ,readline)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("curl" ,curl)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("CC=gcc")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; The Makefile uses git to obtain versioning information. This phase
|
|
|
|
|
;; substitutes the git invocation with the package version.
|
|
|
|
|
(add-after 'unpack 'remove-git-dependency
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("^gitrev :=.*$")
|
|
|
|
|
(string-append "gitrev = \"v" ,version "\"")))))
|
|
|
|
|
;; The install phase of the Makefile assumes $PREFIX/usr/local/bin.
|
|
|
|
|
;; This replacement does the same thing, except for using $PREFIX/bin
|
|
|
|
|
;; instead.
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(install-file "sparql-query" bin)
|
|
|
|
|
(system* "ln" "--symbolic"
|
|
|
|
|
(string-append bin "/sparql-query")
|
|
|
|
|
(string-append bin "/sparql-update")))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(and
|
|
|
|
|
(zero? (apply system* "make" `(,@make-flags "scan-test")))
|
|
|
|
|
(zero? (system "./scan-test"))))))))
|
|
|
|
|
(home-page "https://github.com/tialaramex/sparql-query/")
|
|
|
|
|
(synopsis "Command-line tool for accessing SPARQL endpoints over HTTP")
|
|
|
|
|
(description "Sparql-query is a command-line tool for accessing SPARQL
|
|
|
|
|
endpoints over HTTP. It has been intentionally designed to 'feel' similar to
|
|
|
|
|
tools for interrogating SQL databases. For example, you can enter a query over
|
|
|
|
|
several lines, using a semi-colon at the end of a line to indicate the end of
|
|
|
|
|
your query. It also supports readline so that you can more easily recall and
|
|
|
|
|
edit previous queries, even across sessions. It can be used non-interactively,
|
|
|
|
|
for example from a shell script.")
|
|
|
|
|
;; Some files (like scan-sparql.c) contain a GPLv3+ license header, while
|
|
|
|
|
;; others (like sparql-query.c) contain a GPLv2+ license header.
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license (list license:gpl3+))))
|
2016-06-10 14:45:41 +02:00
|
|
|
|
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(define-public sqlite
|
|
|
|
|
(package
|
|
|
|
|
(name "sqlite")
|
2017-02-13 20:14:39 +01:00
|
|
|
|
(version "3.17.0")
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (let ((numeric-version
|
|
|
|
|
(match (string-split version #\.)
|
|
|
|
|
((first-digit other-digits ...)
|
|
|
|
|
(string-append first-digit
|
|
|
|
|
(string-pad-right
|
|
|
|
|
(string-concatenate
|
|
|
|
|
(map (cut string-pad <> 2 #\0)
|
|
|
|
|
other-digits))
|
|
|
|
|
6 #\0))))))
|
2017-01-15 23:36:31 +01:00
|
|
|
|
(string-append "https://sqlite.org/2017/sqlite-autoconf-"
|
2016-11-24 17:05:47 +01:00
|
|
|
|
numeric-version ".tar.gz")))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-13 20:14:39 +01:00
|
|
|
|
"0k472gq0p706jq4529p60znvw02hdf172qxgbdv59q0n7anqbr54"))))
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2015-02-27 00:28:32 +01:00
|
|
|
|
(inputs `(("readline" ,readline)))
|
2015-03-10 03:59:01 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
2016-08-31 01:02:41 +02:00
|
|
|
|
;; Add -DSQLITE_SECURE_DELETE, -DSQLITE_ENABLE_UNLOCK_NOTIFY and
|
|
|
|
|
;; -DSQLITE_ENABLE_DBSTAT_VTAB to CFLAGS. GNU Icecat will refuse
|
|
|
|
|
;; to use the system SQLite unless these options are enabled.
|
|
|
|
|
(list (string-append "CFLAGS=-O2 -DSQLITE_SECURE_DELETE "
|
|
|
|
|
"-DSQLITE_ENABLE_UNLOCK_NOTIFY "
|
|
|
|
|
"-DSQLITE_ENABLE_DBSTAT_VTAB"))))
|
2016-11-24 17:05:47 +01:00
|
|
|
|
(home-page "https://www.sqlite.org/")
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 17:48:03 +02:00
|
|
|
|
(synopsis "The SQLite database management system")
|
|
|
|
|
(description
|
|
|
|
|
"SQLite is a software library that implements a self-contained, serverless,
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
zero-configuration, transactional SQL database engine. SQLite is the most
|
|
|
|
|
widely deployed SQL database engine in the world. The source code for SQLite
|
|
|
|
|
is in the public domain.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:public-domain)))
|
2014-09-08 18:00:03 +02:00
|
|
|
|
|
|
|
|
|
(define-public tdb
|
|
|
|
|
(package
|
|
|
|
|
(name "tdb")
|
2016-10-08 21:11:14 +02:00
|
|
|
|
(version "1.3.11")
|
2014-09-08 18:00:03 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-12-14 05:13:56 +01:00
|
|
|
|
(uri (string-append "https://www.samba.org/ftp/tdb/tdb-"
|
2014-09-08 18:00:03 +02:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-10-08 21:11:14 +02:00
|
|
|
|
"0i1l38h0vyck6zkcj4fn2l03spadlmyr1qa1xpdp9dy2ccbm3s1r"))))
|
2014-09-08 18:00:03 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-10-08 21:14:36 +02:00
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; The 'configure' script is a wrapper for Waf and
|
|
|
|
|
;; doesn't recognize things like '--enable-fast-install'.
|
|
|
|
|
(zero? (system* "./configure"
|
|
|
|
|
(string-append "--prefix=" out)))))))))
|
2014-09-08 18:00:03 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(;; TODO: Build the documentation.
|
|
|
|
|
;; ("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
;; ("libxml2" ,libxml2)
|
|
|
|
|
;; ("libxslt" ,libxslt)
|
|
|
|
|
("python" ,python-2))) ;for the Waf build system
|
2016-10-08 21:11:14 +02:00
|
|
|
|
(home-page "https://tdb.samba.org/")
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 06:46:59 +02:00
|
|
|
|
(synopsis "Trivial database")
|
2014-09-08 18:00:03 +02:00
|
|
|
|
(description
|
|
|
|
|
"TDB is a Trivial Database. In concept, it is very much like GDBM,
|
|
|
|
|
and BSD's DB except that it allows multiple simultaneous writers and uses
|
|
|
|
|
locking internally to keep writers from trampling on each other. TDB is also
|
|
|
|
|
extremely small.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:lgpl3+)))
|
2014-09-28 00:41:39 +02:00
|
|
|
|
|
|
|
|
|
(define-public perl-dbi
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbi")
|
2016-06-14 14:06:48 +02:00
|
|
|
|
(version "1.636")
|
2014-09-28 00:41:39 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/T/TI/TIMB/DBI-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-06-14 14:06:48 +02:00
|
|
|
|
"0v37vnr5p0bx396cj0lb5kb69jbryq2mspp602hbgd04gklxqzcg"))))
|
2014-09-28 00:41:39 +02:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(synopsis "Database independent interface for Perl")
|
|
|
|
|
(description "This package provides an database interface for Perl.")
|
2016-06-14 14:06:48 +02:00
|
|
|
|
(home-page "http://search.cpan.org/dist/DBI")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2014-09-28 00:41:39 +02:00
|
|
|
|
|
2015-03-13 19:31:23 +01:00
|
|
|
|
(define-public perl-dbix-class
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class")
|
2016-11-29 21:17:20 +01:00
|
|
|
|
(version "0.082840")
|
2015-03-13 19:31:23 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
|
|
|
|
|
"DBIx-Class-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-29 21:17:20 +01:00
|
|
|
|
"1vw1f756g8m5hq11nqf5dk2cw2y4mqq91ca5p75fn5g3fp8syja0"))))
|
2015-03-13 19:31:23 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-dbd-sqlite" ,perl-dbd-sqlite)
|
|
|
|
|
("perl-file-temp" ,perl-file-temp)
|
|
|
|
|
("perl-package-stash" ,perl-package-stash)
|
|
|
|
|
("perl-test-deep" ,perl-test-deep)
|
|
|
|
|
("perl-test-exception" ,perl-test-exception)
|
|
|
|
|
("perl-test-warn" ,perl-test-warn)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-class-accessor-grouped" ,perl-class-accessor-grouped)
|
|
|
|
|
("perl-class-c3-componentised" ,perl-class-c3-componentised)
|
|
|
|
|
("perl-class-inspector" ,perl-class-inspector)
|
|
|
|
|
("perl-config-any" ,perl-config-any)
|
|
|
|
|
("perl-context-preserve" ,perl-context-preserve)
|
|
|
|
|
("perl-data-dumper-concise" ,perl-data-dumper-concise)
|
|
|
|
|
("perl-data-page" ,perl-data-page)
|
|
|
|
|
("perl-dbi" ,perl-dbi)
|
|
|
|
|
("perl-devel-globaldestruction" ,perl-devel-globaldestruction)
|
|
|
|
|
("perl-hash-merge" ,perl-hash-merge)
|
|
|
|
|
("perl-module-find" ,perl-module-find)
|
|
|
|
|
("perl-moo" ,perl-moo)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)
|
|
|
|
|
("perl-namespace-clean" ,perl-namespace-clean)
|
|
|
|
|
("perl-path-class" ,perl-path-class)
|
|
|
|
|
("perl-scalar-list-utils" ,perl-scalar-list-utils)
|
|
|
|
|
("perl-scope-guard" ,perl-scope-guard)
|
|
|
|
|
("perl-sql-abstract" ,perl-sql-abstract)
|
|
|
|
|
("perl-sub-name" ,perl-sub-name)
|
|
|
|
|
("perl-text-balanced" ,perl-text-balanced)
|
|
|
|
|
("perl-try-tiny" ,perl-try-tiny)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/DBIx-Class")
|
|
|
|
|
(synopsis "Extensible and flexible object <-> relational mapper")
|
|
|
|
|
(description "An SQL to OO mapper with an object API inspired by
|
|
|
|
|
Class::DBI (with a compatibility layer as a springboard for porting) and a
|
|
|
|
|
resultset API that allows abstract encapsulation of database operations. It
|
|
|
|
|
aims to make representing queries in your code as perl-ish as possible while
|
|
|
|
|
still providing access to as many of the capabilities of the database as
|
|
|
|
|
possible, including retrieving related records from multiple tables in a
|
|
|
|
|
single query, \"JOIN\", \"LEFT JOIN\", \"COUNT\", \"DISTINCT\", \"GROUP BY\",
|
|
|
|
|
\"ORDER BY\" and \"HAVING\" support.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 04:11:26 +01:00
|
|
|
|
|
2015-03-18 15:53:56 +01:00
|
|
|
|
(define-public perl-dbix-class-cursor-cached
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class-cursor-cached")
|
2016-11-29 21:27:16 +01:00
|
|
|
|
(version "1.001004")
|
2015-03-18 15:53:56 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/A/AR/ARCANEZ/"
|
|
|
|
|
"DBIx-Class-Cursor-Cached-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-29 21:27:16 +01:00
|
|
|
|
"09b2jahn2x12qm4f7qm1jzsxbz7qn1czp6a3fnl5l2i3l4r5421p"))))
|
2015-03-18 15:53:56 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-cache-cache" ,perl-cache-cache)
|
|
|
|
|
("perl-dbd-sqlite" ,perl-dbd-sqlite)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-carp-clan" ,perl-carp-clan)
|
|
|
|
|
("perl-dbix-class" ,perl-dbix-class)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/DBIx-Class-Cursor-Cached")
|
|
|
|
|
(synopsis "Cursor with built-in caching support")
|
|
|
|
|
(description "DBIx::Class::Cursor::Cached provides a cursor class with
|
|
|
|
|
built-in caching support.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2015-03-18 15:53:56 +01:00
|
|
|
|
|
2015-03-17 04:11:26 +01:00
|
|
|
|
(define-public perl-dbix-class-introspectablem2m
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class-introspectablem2m")
|
2016-11-29 21:29:55 +01:00
|
|
|
|
(version "0.001002")
|
2015-03-17 04:11:26 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-12-12 21:15:16 +01:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
|
2015-03-17 04:11:26 +01:00
|
|
|
|
"DBIx-Class-IntrospectableM2M-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-29 21:29:55 +01:00
|
|
|
|
"1w47rh2241iy5x3a9bqsyd5kdp9sk43dksr99frzv4qn4jsazfn6"))))
|
2015-03-17 04:11:26 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-dbix-class" ,perl-dbix-class)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/DBIx-Class-IntrospectableM2M")
|
|
|
|
|
(synopsis "Introspect many-to-many relationships")
|
|
|
|
|
(description "Because the many-to-many relationships are not real
|
|
|
|
|
relationships, they can not be introspected with DBIx::Class. Many-to-many
|
|
|
|
|
relationships are actually just a collection of convenience methods installed
|
|
|
|
|
to bridge two relationships. This DBIx::Class component can be used to store
|
|
|
|
|
all relevant information about these non-relationships so they can later be
|
|
|
|
|
introspected and examined.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 19:00:07 +01:00
|
|
|
|
|
|
|
|
|
(define-public perl-dbix-class-schema-loader
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class-schema-loader")
|
2016-11-30 09:47:10 +01:00
|
|
|
|
(version "0.07046")
|
2015-03-17 19:00:07 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
|
|
|
|
|
"DBIx-Class-Schema-Loader-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-30 09:47:10 +01:00
|
|
|
|
"08cgn0dx42y9xsxas9np7s55a7qmy4kf6sfmx0jmk4hryvbapml3"))))
|
2015-03-17 19:00:07 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-config-any" ,perl-config-any)
|
|
|
|
|
("perl-config-general" ,perl-config-general)
|
|
|
|
|
("perl-dbd-sqlite" ,perl-dbd-sqlite)
|
|
|
|
|
("perl-dbix-class-introspectablem2m" ,perl-dbix-class-introspectablem2m)
|
|
|
|
|
("perl-moose" ,perl-moose)
|
|
|
|
|
("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
|
|
|
|
|
("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-test-deep" ,perl-test-deep)
|
|
|
|
|
("perl-test-differences" ,perl-test-differences)
|
|
|
|
|
("perl-test-exception" ,perl-test-exception)
|
|
|
|
|
("perl-test-pod" ,perl-test-pod)
|
|
|
|
|
("perl-test-warn" ,perl-test-warn)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-class-unload" ,perl-class-unload)
|
|
|
|
|
("perl-class-inspector" ,perl-class-inspector)
|
|
|
|
|
("perl-class-accessor-grouped" ,perl-class-accessor-grouped)
|
|
|
|
|
("perl-class-c3-componentised" ,perl-class-c3-componentised)
|
|
|
|
|
("perl-carp-clan" ,perl-carp-clan)
|
|
|
|
|
("perl-data-dump" ,perl-data-dump)
|
|
|
|
|
("perl-dbix-class" ,perl-dbix-class)
|
|
|
|
|
("perl-hash-merge" ,perl-hash-merge)
|
|
|
|
|
("perl-list-moreutils" ,perl-list-moreutils)
|
|
|
|
|
("perl-lingua-en-inflect-phrase" ,perl-lingua-en-inflect-phrase)
|
|
|
|
|
("perl-lingua-en-inflect-number" ,perl-lingua-en-inflect-number)
|
|
|
|
|
("perl-lingua-en-tagger" ,perl-lingua-en-tagger)
|
|
|
|
|
("perl-namespace-clean" ,perl-namespace-clean)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)
|
|
|
|
|
("perl-scope-guard" ,perl-scope-guard)
|
|
|
|
|
("perl-string-camelcase" ,perl-string-camelcase)
|
|
|
|
|
("perl-string-toidentifier-en" ,perl-string-toidentifier-en)
|
|
|
|
|
("perl-sub-name" ,perl-sub-name)
|
|
|
|
|
("perl-try-tiny" ,perl-try-tiny)))
|
|
|
|
|
(arguments `(#:tests? #f)) ;TODO: t/20invocations.t fails
|
|
|
|
|
(home-page "http://search.cpan.org/dist/DBIx-Class-Schema-Loader")
|
|
|
|
|
(synopsis "Create a DBIx::Class::Schema based on a database")
|
|
|
|
|
(description "DBIx::Class::Schema::Loader automates the definition of a
|
|
|
|
|
DBIx::Class::Schema by scanning database table definitions and setting up the
|
|
|
|
|
columns, primary keys, unique constraints and relationships.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2014-09-28 00:41:39 +02:00
|
|
|
|
|
2015-04-06 18:25:23 +02:00
|
|
|
|
(define-public perl-dbd-pg
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbd-pg")
|
2017-04-01 17:01:44 +02:00
|
|
|
|
(version "3.5.3")
|
2015-04-06 18:25:23 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/T/TU/TURNSTEP/"
|
|
|
|
|
"DBD-Pg-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-01 17:01:44 +02:00
|
|
|
|
"03m9w1cd0yyrbqwkwcl92j1cpmasmm69f3hwvcrlfsi5fnwsk63y"))))
|
2015-04-06 18:25:23 +02:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-dbi" ,perl-dbi)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-dbi" ,perl-dbi)
|
|
|
|
|
("postgresql" ,postgresql)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/DBD-Pg")
|
|
|
|
|
(synopsis "DBI PostgreSQL interface")
|
2016-07-29 10:22:31 +02:00
|
|
|
|
(description "This package provides a PostgreSQL driver for the Perl5
|
|
|
|
|
@dfn{Database Interface} (DBI).")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2015-04-06 18:25:23 +02:00
|
|
|
|
|
2015-11-12 16:04:49 +01:00
|
|
|
|
(define-public perl-dbd-mysql
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbd-mysql")
|
2016-11-28 23:05:23 +01:00
|
|
|
|
(version "4.041")
|
2015-11-12 16:04:49 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-11-28 23:05:23 +01:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MI/MICHIELB/"
|
2015-11-12 16:04:49 +01:00
|
|
|
|
"DBD-mysql-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-28 23:05:23 +01:00
|
|
|
|
"0h4h6zwzj8fwh9ljb8svnsa0a3ch4p10hp59kpdibdb4qh8xwxs7"))))
|
2015-11-12 16:04:49 +01:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
;; Tests require running MySQL server
|
|
|
|
|
(arguments `(#:tests? #f))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-dbi" ,perl-dbi)
|
|
|
|
|
("mysql" ,mysql)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/DBD-mysql")
|
|
|
|
|
(synopsis "DBI MySQL interface")
|
|
|
|
|
(description "This package provides a MySQL driver for the Perl5
|
|
|
|
|
@dfn{Database Interface} (DBI).")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2015-11-12 16:04:49 +01:00
|
|
|
|
|
2014-09-28 00:41:39 +02:00
|
|
|
|
(define-public perl-dbd-sqlite
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbd-sqlite")
|
2017-04-01 17:02:25 +02:00
|
|
|
|
(version "1.54")
|
2014-09-28 00:41:39 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/I/IS/ISHIGAKI/DBD-SQLite-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-01 17:02:25 +02:00
|
|
|
|
"0sbj9lx9syzpknvjv8cz9jndg32qz775vy2prgq305npv3dsca9r"))))
|
2014-09-28 00:41:39 +02:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs `(("sqlite" ,sqlite)))
|
|
|
|
|
(propagated-inputs `(("perl-dbi" ,perl-dbi)))
|
|
|
|
|
(synopsis "SQlite interface for Perl")
|
|
|
|
|
(description "DBD::SQLite is a Perl DBI driver for SQLite, that includes
|
|
|
|
|
the entire thing in the distribution. So in order to get a fast transaction
|
|
|
|
|
capable RDBMS working for your Perl project you simply have to install this
|
|
|
|
|
module, and nothing else.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)
|
2014-09-28 00:41:39 +02:00
|
|
|
|
(home-page "http://search.cpan.org/~ishigaki/DBD-SQLite/lib/DBD/SQLite.pm")))
|
2014-10-12 09:02:33 +02:00
|
|
|
|
|
2015-03-13 18:10:02 +01:00
|
|
|
|
(define-public perl-sql-abstract
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-sql-abstract")
|
|
|
|
|
(version "1.81")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
|
|
|
|
|
"SQL-Abstract-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"17sgwq3mvqjhv3b77cnvrq60xgp8harjhlnvpwmxc914rqc5ckaz"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-deep" ,perl-test-deep)
|
|
|
|
|
("perl-test-exception" ,perl-test-exception)
|
|
|
|
|
("perl-test-warn" ,perl-test-warn)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-hash-merge" ,perl-hash-merge)
|
|
|
|
|
("perl-moo" ,perl-moo)
|
|
|
|
|
("perl-mro-compat" ,perl-mro-compat)
|
|
|
|
|
("perl-text-balanced" ,perl-text-balanced)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/SQL-Abstract")
|
|
|
|
|
(synopsis "Generate SQL from Perl data structures")
|
|
|
|
|
(description "This module was inspired by the excellent DBIx::Abstract.
|
|
|
|
|
While based on the concepts used by DBIx::Abstract, the concepts used have
|
|
|
|
|
been modified to make the SQL easier to generate from Perl data structures.
|
|
|
|
|
The underlying idea is for this module to do what you mean, based on the data
|
|
|
|
|
structures you provide it, so that you don't have to modify your code every
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
|
time your data changes.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2014-10-12 09:02:33 +02:00
|
|
|
|
|
2015-04-08 00:17:13 +02:00
|
|
|
|
(define-public perl-sql-splitstatement
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-sql-splitstatement")
|
|
|
|
|
(version "1.00020")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/E/EM/EMAZEP/"
|
|
|
|
|
"SQL-SplitStatement-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0bqg45k4c9qkb2ypynlwhpvzsl4ssfagmsalys18s5c79ps30z7p"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-test-exception" ,perl-test-exception)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-class-accessor" ,perl-class-accessor)
|
|
|
|
|
("perl-list-moreutils" ,perl-list-moreutils)
|
|
|
|
|
("perl-regexp-common" ,perl-regexp-common)
|
|
|
|
|
("perl-sql-tokenizer" ,perl-sql-tokenizer)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/SQL-SplitStatement")
|
|
|
|
|
(synopsis "Split SQL code into atomic statements")
|
|
|
|
|
(description "This module tries to split any SQL code, even including
|
|
|
|
|
non-standard extensions, into the atomic statements it is composed of.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2015-04-08 00:17:13 +02:00
|
|
|
|
|
2015-04-08 00:16:16 +02:00
|
|
|
|
(define-public perl-sql-tokenizer
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-sql-tokenizer")
|
|
|
|
|
(version "0.24")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/I/IZ/IZUT/"
|
|
|
|
|
"SQL-Tokenizer-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1qa2dfbzdlr5qqdam9yn78z5w3al5r8577x06qan8wv58ay6ka7s"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(home-page "http://search.cpan.org/dist/SQL-Tokenizer")
|
|
|
|
|
(synopsis "SQL tokenizer")
|
|
|
|
|
(description "SQL::Tokenizer is a tokenizer for SQL queries. It does not
|
|
|
|
|
claim to be a parser or query verifier. It just creates sane tokens from a
|
|
|
|
|
valid SQL query.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2015-04-08 00:16:16 +02:00
|
|
|
|
|
2014-10-12 09:02:33 +02:00
|
|
|
|
(define-public unixodbc
|
|
|
|
|
(package
|
|
|
|
|
(name "unixodbc")
|
2016-05-13 07:56:00 +02:00
|
|
|
|
(version "2.3.4")
|
2014-10-12 09:02:33 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
|
(uri
|
2014-10-12 09:02:33 +02:00
|
|
|
|
(string-append
|
2016-05-13 07:56:00 +02:00
|
|
|
|
"ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-"
|
|
|
|
|
version ".tar.gz"))
|
2014-10-12 09:02:33 +02:00
|
|
|
|
(sha256
|
2016-05-13 07:56:00 +02:00
|
|
|
|
(base32 "0f8y88rcc2akjvjv5y66yx7k0ms9h1s0vbcfy25j93didflhj59f"))))
|
2014-10-12 09:02:33 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "Data source abstraction library")
|
|
|
|
|
(description "Unixodbc is a library providing an API with which to access
|
|
|
|
|
data sources. Data sources include SQL Servers and any software with an ODBC
|
|
|
|
|
Driver.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:lgpl2.1+)
|
2014-10-12 09:02:33 +02:00
|
|
|
|
;; COPYING contains copy of lgpl2.1 - but copyright notices just say "LGPL"
|
|
|
|
|
(home-page "http://www.unixodbc.org")))
|
2015-03-27 22:15:02 +01:00
|
|
|
|
|
|
|
|
|
(define-public unqlite
|
|
|
|
|
(package
|
|
|
|
|
(name "unqlite")
|
|
|
|
|
(version "1.1.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
;; Contains bug fixes against the official release, and has an
|
|
|
|
|
;; autotooled build system.
|
|
|
|
|
(uri (string-append "https://github.com/aidin36/tocc/releases/"
|
|
|
|
|
"download/v1.0.0/"
|
|
|
|
|
"unqlite-unofficial-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1sbpvhg15gadq0mpcy16q7k3rkg4b4dicpnn5xifpkpn02sqik3s"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments `(#:tests? #f)) ;No check target
|
|
|
|
|
(home-page "http://www.unqlite.org")
|
|
|
|
|
(synopsis "In-memory key/value and document store")
|
|
|
|
|
(description
|
|
|
|
|
"UnQLite is an in-process software library which implements a
|
|
|
|
|
self-contained, serverless, zero-configuration, transactional NoSQL
|
|
|
|
|
database engine. UnQLite is a document store database similar to
|
|
|
|
|
MongoDB, Redis, CouchDB, etc. as well as a standard Key/Value store
|
2015-07-23 09:40:05 +02:00
|
|
|
|
similar to BerkeleyDB, LevelDB, etc.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:bsd-2)))
|
2015-06-06 02:09:10 +02:00
|
|
|
|
|
|
|
|
|
(define-public redis
|
|
|
|
|
(package
|
|
|
|
|
(name "redis")
|
2016-10-11 16:54:28 +02:00
|
|
|
|
(version "3.2.4")
|
2015-06-06 02:09:10 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.redis.io/releases/redis-"
|
|
|
|
|
version".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-10-11 16:54:28 +02:00
|
|
|
|
"1wb9jd692a0y52bkkxr6815kk4g039mirjdrvqx24265lv2l5l1a"))))
|
2015-06-06 02:09:10 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; tests related to master/slave and replication fail
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))
|
|
|
|
|
#:make-flags `("CC=gcc"
|
|
|
|
|
"MALLOC=libc"
|
2016-10-11 16:54:28 +02:00
|
|
|
|
"LDFLAGS=-ldl"
|
2015-06-06 02:09:10 +02:00
|
|
|
|
,(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out")))))
|
|
|
|
|
(synopsis "Key-value cache and store")
|
|
|
|
|
(description "Redis is an advanced key-value cache and store. Redis
|
|
|
|
|
supports many data structures including strings, hashes, lists, sets, sorted
|
|
|
|
|
sets, bitmaps and hyperloglogs.")
|
|
|
|
|
(home-page "http://redis.io/")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:bsd-3)))
|
2016-02-24 22:12:42 +01:00
|
|
|
|
|
|
|
|
|
(define-public kyotocabinet
|
|
|
|
|
(package
|
|
|
|
|
(name "kyotocabinet")
|
|
|
|
|
(version "1.2.76")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://fallabs.com/kyotocabinet/pkg/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0g6js20x7vnpq4p8ghbw3mh9wpqksya9vwhzdx6dnlf354zjsal1"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))))
|
|
|
|
|
(inputs `(("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://fallabs.com/kyotocabinet/")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Kyoto Cabinet is a modern implementation of the DBM database")
|
|
|
|
|
(description
|
|
|
|
|
"Kyoto Cabinet is a standalone file-based database that supports Hash
|
|
|
|
|
and B+ Tree data storage models. It is a fast key-value lightweight
|
|
|
|
|
database and supports many programming languages. It is a NoSQL database.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:gpl3+)))
|
2016-05-15 04:20:05 +02:00
|
|
|
|
|
2017-02-14 20:21:27 +01:00
|
|
|
|
(define-public tokyocabinet
|
|
|
|
|
(package
|
|
|
|
|
(name "tokyocabinet")
|
|
|
|
|
(version "1.4.48")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://fallabs.com/tokyocabinet/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"140zvr0n8kvsl0fbn2qn3f2kh3yynfwnizn4dgbj47m975yg80x0"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--enable-pthread" "--enable-off64" "--enable-fastest"
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://fallabs.com/tokyocabinet/")
|
|
|
|
|
(synopsis "Tokyo Cabinet is a modern implementation of the DBM database")
|
|
|
|
|
(description
|
|
|
|
|
"Tokyo Cabinet is a library of routines for managing a database.
|
|
|
|
|
The database is a simple data file containing records, each is a pair of a
|
|
|
|
|
key and a value. Every key and value is serial bytes with variable length.
|
|
|
|
|
Both binary data and character string can be used as a key and a value.
|
|
|
|
|
There is neither concept of data tables nor data types. Records are
|
|
|
|
|
organized in hash table, B+ tree, or fixed-length array.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2016-05-15 04:20:05 +02:00
|
|
|
|
(define-public wiredtiger
|
|
|
|
|
(package
|
|
|
|
|
(name "wiredtiger")
|
2017-01-24 19:35:58 +01:00
|
|
|
|
(version "2.9.1")
|
2016-05-15 04:20:05 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://source.wiredtiger.com/releases/wiredtiger-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-24 19:35:58 +01:00
|
|
|
|
"0krwnb2zfbhvjaskwl875qzd3y626s84zcciq2mxr5c5riw3yh6s"))))
|
2016-05-15 04:20:05 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--enable-lz4" "--enable-zlib")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'disable-test/fops
|
|
|
|
|
(lambda _
|
|
|
|
|
;; XXX: timed out after 3600 seconds of silence
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("test/fops") ""))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lz4" ,lz4)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://source.wiredtiger.com/")
|
|
|
|
|
(synopsis "NoSQL data engine")
|
|
|
|
|
(description
|
|
|
|
|
"WiredTiger is an extensible platform for data management. It supports
|
|
|
|
|
row-oriented storage (where all columns of a row are stored together),
|
|
|
|
|
column-oriented storage (where columns are stored in groups, allowing for
|
|
|
|
|
more efficient access and storage of column subsets) and log-structured merge
|
|
|
|
|
trees (LSM), for sustained throughput under random insert workloads.")
|
gnu: databases.scm: Use license: prefix.
* gnu/packages/databases.scm (4store, gdbm, bdb, bdb-5.3, mysql, mariadb,
postgresql, qdbm, rocksdb, sparql-query, sqlite, perl-dbi, redis,
unixodbc, kyotocabinet, wiredtiger): Use license: prefix.
2017-02-08 20:17:36 +01:00
|
|
|
|
(license license:gpl3) ; or GPL-2
|
2016-05-15 04:20:05 +02:00
|
|
|
|
;; configure.ac: WiredTiger requires a 64-bit build.
|
2017-04-24 10:34:00 +02:00
|
|
|
|
(supported-systems '("x86_64-linux" "mips64el-linux" "aarch64-linux"))))
|
2016-07-26 21:05:20 +02:00
|
|
|
|
|
|
|
|
|
(define-public perl-db-file
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-db-file")
|
2017-04-01 17:03:01 +02:00
|
|
|
|
(version "1.840")
|
2016-07-26 21:05:20 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/P/PM/PMQS/DB_File-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-01 17:03:01 +02:00
|
|
|
|
"1i5jz85z4hpx15lw6ix27pyvrf0ziyh4z33lii4d3wnhz83lg1mp"))))
|
2016-07-26 21:05:20 +02:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(inputs `(("bdb" ,bdb)))
|
|
|
|
|
(native-inputs `(("perl-test-pod" ,perl-test-pod)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'configure 'modify-config.in
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "config.in"
|
|
|
|
|
(("/usr/local/BerkeleyDB") (assoc-ref inputs "bdb")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/DB_File")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Perl5 access to Berkeley DB version 1.x")
|
|
|
|
|
(description
|
|
|
|
|
"The DB::File module provides Perl bindings to the Berkeley DB version 1.x.")
|
2017-05-02 16:57:52 +02:00
|
|
|
|
(license license:perl-license)))
|
2016-08-14 22:25:15 +02:00
|
|
|
|
|
|
|
|
|
(define-public lmdb
|
|
|
|
|
(package
|
|
|
|
|
(name "lmdb")
|
|
|
|
|
(version "0.9.18")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/LMDB/lmdb/archive/"
|
|
|
|
|
"LMDB_" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"12crvzxky8in99ibh22k4ppmkgqs28yy3v7yy944za7fsrqv8dfx"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(chdir (string-append
|
|
|
|
|
(getenv "PWD") "/lmdb-LMDB_" ,version "/libraries/liblmdb"))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/local") (assoc-ref outputs "out")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://symas.com/products/lightning-memory-mapped-database")
|
|
|
|
|
(synopsis "Lightning memory-mapped database library")
|
|
|
|
|
(description "Lightning memory-mapped database library.")
|
|
|
|
|
(license license:openldap2.8)))
|
2016-09-13 20:07:13 +02:00
|
|
|
|
|
|
|
|
|
(define-public libpqxx
|
|
|
|
|
(package
|
|
|
|
|
(name "libpqxx")
|
|
|
|
|
(version "4.0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://pqxx.org/download/software/libpqxx/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0f6wxspp6rx12fkasanb0z2g2gc8dhcfwnxagx8wwqbpg6ifsz09"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python-2)))
|
|
|
|
|
(inputs `(("postgresql" ,postgresql)))
|
|
|
|
|
(arguments
|
2017-03-26 09:10:30 +02:00
|
|
|
|
`(#:tests? #f ; # FAIL: 1
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-sed-command
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Newer sed versions error out if double brackets are not used.
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("\\[:space:\\]") "[[:space:]]"))
|
|
|
|
|
#t)))))
|
2016-09-13 20:07:13 +02:00
|
|
|
|
(synopsis "C++ connector for PostgreSQL")
|
|
|
|
|
(description
|
|
|
|
|
"Libpqxx is a C++ library to enable user programs to communicate with the
|
|
|
|
|
PostgreSQL database back-end. The database back-end can be local or it may be
|
|
|
|
|
on another machine, accessed via TCP/IP.")
|
|
|
|
|
(home-page "http://pqxx.org/")
|
|
|
|
|
(license license:bsd-3)))
|
2016-09-11 20:22:39 +02:00
|
|
|
|
|
|
|
|
|
(define-public python-peewee
|
|
|
|
|
(package
|
|
|
|
|
(name "python-peewee")
|
|
|
|
|
(version "2.8.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "peewee" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1605bk11s7aap2q4qyba93rx7yfh8b11kk0cqi08z8klx2iar8yd"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; Fails to import test data
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-cython" ,python-cython)))
|
|
|
|
|
(home-page "https://github.com/coleifer/peewee/")
|
|
|
|
|
(synopsis "Small object-relational mapping utility")
|
|
|
|
|
(description
|
|
|
|
|
"Peewee is a simple and small ORM (object-relation mapping) tool. Peewee
|
|
|
|
|
handles converting between pythonic values and those used by databases, so you
|
|
|
|
|
can use Python types in your code without having to worry. It has built-in
|
|
|
|
|
support for sqlite, mysql and postgresql. If you already have a database, you
|
|
|
|
|
can autogenerate peewee models using @code{pwiz}, a model generator.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-peewee
|
|
|
|
|
(package-with-python2 python-peewee))
|
2016-09-22 05:58:28 +02:00
|
|
|
|
|
|
|
|
|
(define-public sqlcipher
|
|
|
|
|
(package
|
|
|
|
|
(name "sqlcipher")
|
|
|
|
|
(version "3.3.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/sqlcipher/" name
|
|
|
|
|
"/archive/v" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1gv58dlbpzrmznly52yqbxgvii0ib88zr3aszla1bsypwjr6flff"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libcrypto" ,openssl)
|
|
|
|
|
("libtcl8.6" ,tcl))) ; required for running the tests
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("tcl" ,tcl)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
'("--enable-tempstore=yes"
|
|
|
|
|
"CFLAGS=-DSQLITE_HAS_CODEC -DSQLITE_ENABLE_FTS3"
|
|
|
|
|
"LDFLAGS=-lcrypto -ltcl8.6"
|
|
|
|
|
"--disable-tcl")
|
|
|
|
|
;; tests cannot be run from the Makefile
|
|
|
|
|
;; see: <https://github.com/sqlcipher/sqlcipher/issues/172>
|
|
|
|
|
#:test-target "testfixture"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'build-test-runner
|
|
|
|
|
(assoc-ref %standard-phases 'check))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./testfixture" "test/crypto.test")))))))
|
|
|
|
|
(home-page "https://www.zetetic.net/sqlcipher/")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Library providing transparent encryption of SQLite database files")
|
|
|
|
|
(description "SQLCipher is an implementation of SQLite, extended to
|
|
|
|
|
provide transparent 256-bit AES encryption of database files. Pages are
|
|
|
|
|
encrypted before being written to disk and are decrypted when read back. It’s
|
|
|
|
|
well suited for protecting embedded application databases and for mobile
|
|
|
|
|
development.")
|
|
|
|
|
;; The source files
|
|
|
|
|
;; src/{crypto.c,crypto_impl.c,crypto.h,crypto_cc.c,crypto_libtomcrypt.c},
|
|
|
|
|
;; src/{crypto_openssl.c,sqlcipher.h}, tool/crypto-speedtest.tcl,
|
|
|
|
|
;; test/crypto.test are licensed under a 3-clause BSD license. All other
|
|
|
|
|
;; source files are in the public domain.
|
|
|
|
|
(license (list license:public-domain license:bsd-3))))
|
2017-01-26 19:27:06 +01:00
|
|
|
|
|
|
|
|
|
(define-public python-pyodbc-c
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyodbc-c")
|
2017-02-10 18:13:09 +01:00
|
|
|
|
(version "3.1.4")
|
2017-01-26 19:27:06 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://gitlab.com/daym/pyodbc-c/repository/"
|
|
|
|
|
"archive.tar.gz?ref=v" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-10 18:13:09 +01:00
|
|
|
|
"05aq2297k779xidmxcwkrrxjvj1bh2q7d9a1rcjv6zr15y764ga9"))
|
2017-01-26 19:27:06 +01:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("unixodbc" ,unixodbc)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; No unit tests exist.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/mkleehammer/pyodbc")
|
|
|
|
|
(synopsis "Python ODBC Library")
|
|
|
|
|
(description "@code{python-pyodbc-c} provides a Python DB-API driver
|
|
|
|
|
for ODBC.")
|
|
|
|
|
(license (license:x11-style "file://LICENSE.TXT"))))
|
|
|
|
|
|
|
|
|
|
(define-public python2-pyodbc-c
|
|
|
|
|
(package-with-python2 python-pyodbc-c))
|
2017-04-26 18:36:31 +02:00
|
|
|
|
|
|
|
|
|
(define-public mdbtools
|
|
|
|
|
(package
|
|
|
|
|
(name "mdbtools")
|
|
|
|
|
(version "0.7.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/brianb/mdbtools/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05hbmxcq173kzb899gdi3bz2qcc1vi3n1qbbkwpsvrq7ggf11wyw"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("txt2man" ,txt2man)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'autoreconf
|
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "autoreconf" "-vfi")))))))
|
|
|
|
|
(home-page "http://mdbtools.sourceforge.net/")
|
|
|
|
|
(synopsis "Read Microsoft Access databases")
|
|
|
|
|
(description "MDB Tools is a set of tools and applications to read the
|
|
|
|
|
proprietary MDB file format used in Microsoft's Access database package. This
|
|
|
|
|
includes programs to export schema and data from Microsoft's Access database
|
|
|
|
|
file format to other databases such as MySQL, Oracle, Sybase, PostgreSQL,
|
|
|
|
|
etc., and an SQL engine for performing simple SQL queries.")
|
|
|
|
|
(license (list license:lgpl2.0
|
|
|
|
|
license:gpl2+))))
|