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 11:48:03 -04:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2018-03-11 16:46:30 -04:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2018 Ludovic Courtès <ludo@gnu.org>
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
|
|
|
|
;;; Copyright © 2013, 2017 Cyril Roelandt <tipecaml@gmail.com>
|
2016-05-06 09:11:08 -04:00
|
|
|
|
;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
|
2018-01-28 00:21:07 -05:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver <mhw@netris.org>
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
|
2017-08-04 22:10:00 -04:00
|
|
|
|
;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
|
2015-10-18 15:40:08 -04:00
|
|
|
|
;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
|
|
|
|
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
|
|
|
|
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
|
2019-01-06 08:23:11 -05:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
|
Correct name and email address for ng0.
* .mailmap, Makefile.am, doc/guix.de.texi, doc/guix.fr.texi,
doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm,
gnu/packages/cdrom.scm, gnu/packages/check.scm,
gnu/packages/cinnamon.scm, gnu/packages/compression.scm,
gnu/packages/crypto.scm, gnu/packages/databases.scm,
gnu/packages/django.scm, gnu/packages/dns.scm, gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm,
gnu/packages/forth.scm, gnu/packages/fvwm.scm, gnu/packages/games.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/gtk.scm,
gnu/packages/guile-wm.scm,gnu/packages/guile-xyz.scm,
gnu/packages/haskell-check.scm, gnu/packages/haskell-crypto.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm,
gnu/packages/language.scm, gnu/packages/libcanberra.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm:
Correct name and email address for ng0.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-03-14 05:33:38 -04:00
|
|
|
|
;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
|
2018-04-03 07:07:21 -04:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Roel Janssen <roel@gnu.org>
|
2016-08-14 16:25:15 -04:00
|
|
|
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
2016-09-13 14:07:13 -04:00
|
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
2016-09-21 23:58:28 -04:00
|
|
|
|
;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
|
2018-02-20 21:06:39 -05:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Marius Bakke <mbakke@fastmail.com>
|
2018-07-28 11:38:38 -04:00
|
|
|
|
;;; Copyright © 2017, 2018 Julien Lepiller <julien@lepiller.eu>
|
2017-01-24 12:03:31 -05:00
|
|
|
|
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org>
|
|
|
|
|
;;; Copyright © 2017 Adriano Peluso <catonano@gmail.com>
|
2017-04-26 12:36:31 -04:00
|
|
|
|
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
|
2019-02-12 07:28:21 -05:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-12-17 21:36:25 -05:00
|
|
|
|
;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
|
2018-07-29 08:38:08 -04:00
|
|
|
|
;;; Copyright © 2017, 2018 Ben Woodcroft <donttrustben@gmail.com>
|
2017-10-09 05:20:34 -04:00
|
|
|
|
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
2018-08-14 17:17:24 -04:00
|
|
|
|
;;; Copyright © 2017, 2018 Pierre Langlois <pierre.langlois@gmx.com>
|
2019-03-18 18:37:15 -04:00
|
|
|
|
;;; Copyright © 2015, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
2017-11-14 11:25:18 -05:00
|
|
|
|
;;; Copyright © 2017 Kristofer Buffington <kristoferbuffington@gmail.com>
|
2018-01-03 14:43:52 -05:00
|
|
|
|
;;; Copyright © 2018 Amirouche Boubekki <amirouche@hypermove.net>
|
2018-02-21 12:19:33 -05:00
|
|
|
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
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 11:48:03 -04: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)
|
2018-01-21 05:52:07 -05:00
|
|
|
|
#:use-module (gnu packages admin)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2016-04-26 18:44:22 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
|
#:use-module (gnu packages avahi)
|
2017-02-08 13:56:03 -05:00
|
|
|
|
#:use-module (gnu packages base)
|
2015-10-18 15:40:08 -04:00
|
|
|
|
#:use-module (gnu packages bash)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages bison)
|
2016-03-17 15:58:50 -04:00
|
|
|
|
#:use-module (gnu packages boost)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages check)
|
2018-02-21 12:19:33 -05:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages compression)
|
2016-09-21 23:58:28 -04:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages curl)
|
|
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
gnu: Move dbm databases to new module.
* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.
2019-01-16 08:48:47 -05:00
|
|
|
|
#:use-module (gnu packages dbm)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages emacs)
|
2016-04-26 18:44:22 -04:00
|
|
|
|
#:use-module (gnu packages gettext)
|
|
|
|
|
#:use-module (gnu packages glib)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2017-11-14 11:25:18 -05:00
|
|
|
|
#:use-module (gnu packages guile)
|
2017-08-04 22:10:00 -04:00
|
|
|
|
#:use-module (gnu packages time)
|
2018-01-21 06:00:56 -05:00
|
|
|
|
#:use-module (gnu packages golang)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages jemalloc)
|
2015-03-17 14:00:07 -04:00
|
|
|
|
#:use-module (gnu packages language)
|
2017-07-27 12:11:33 -04:00
|
|
|
|
#:use-module (gnu packages libevent)
|
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 11:48:03 -04:00
|
|
|
|
#:use-module (gnu packages linux)
|
2017-04-26 12:36:31 -04: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 11:48:03 -04:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2017-01-03 01:21:43 -05:00
|
|
|
|
#:use-module (gnu packages parallel)
|
2015-04-16 04:48:31 -04:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages perl)
|
gnu: Move test packages from perl to perl-check.
* gnu/packages/perl.scm (perl-test2-bundle-extended,
perl-test2-plugin-nowarnings, perl-test-base, perl-test-class,
perl-test-class-most, perl-test-cleannamespaces, perl-test-command,
perl-test-cpan-meta, perl-test-cpan-meta-json, perl-test-deep,
perl-test-differences, perl-test-directory, perl-test-eol,
perl-test-exception, perl-test-fatal, perl-test-file-sharedir-dist,
perl-test-files, perl-test-harness, perl-test-leaktrace,
perl-test-longstring, perl-test-manifest, perl-test-memory-cycle,
perl-test-mockobject, perl-test-mocktime, perl-test-most, perl-test-needs,
perl-test-notabs, perl-test-nowarnings, perl-test-number-delta,
perl-test-output, perl-test-pod, perl-test-pod-coverage, perl-test-requires,
perl-test-script, perl-test-sharedfork, perl-test-simple, perl-test-taint,
perl-test-tester, perl-test-trap, perl-test-utf8, perl-test-warn,
perl-test-warnings, perl-test-without-module, perl-test-writevariants,
perl-test-yaml, perl-test-trailingspace): Move variables to ...
* gnu/packages/perl-check.scm: ... this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/admin.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/glib.scm,
gnu/packages/gnupg.scm,
gnu/packages/image-viewers.scm,
gnu/packages/language.scm,
gnu/packages/networking.scm,
gnu/packages/package-management.scm,
gnu/packages/perl.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/version-control.scm,
gnu/packages/web.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm: Use perl-check module.
2017-11-13 17:03:01 -05:00
|
|
|
|
#:use-module (gnu packages perl-check)
|
2019-03-24 14:10:50 -04:00
|
|
|
|
#:use-module (gnu packages perl-web)
|
2016-04-26 18:44:22 -04:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2017-01-03 01:21:43 -05:00
|
|
|
|
#:use-module (gnu packages popt)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages python)
|
2018-07-04 17:04:19 -04:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 08:21:30 -05:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2016-04-26 18:44:22 -04:00
|
|
|
|
#:use-module (gnu packages rdf)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages readline)
|
2017-09-22 15:15:56 -04:00
|
|
|
|
#:use-module (gnu packages ruby)
|
2017-10-06 16:24:23 -04:00
|
|
|
|
#:use-module (gnu packages serialization)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 15:47:05 -05:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages tcl)
|
2018-01-21 06:00:56 -05:00
|
|
|
|
#:use-module (gnu packages terminals)
|
|
|
|
|
#:use-module (gnu packages textutils)
|
2017-02-08 14:11:17 -05:00
|
|
|
|
#:use-module (gnu packages tls)
|
2017-10-06 16:24:23 -04:00
|
|
|
|
#:use-module (gnu packages valgrind)
|
2018-02-21 12:19:33 -05:00
|
|
|
|
#:use-module (gnu packages web)
|
2015-04-16 04:48:31 -04:00
|
|
|
|
#:use-module (gnu packages xml)
|
2016-08-14 16:25:15 -04: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 11:48:03 -04:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2017-11-14 11:25:18 -05:00
|
|
|
|
#:use-module (guix git-download)
|
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 11:48:03 -04:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-01-21 05:52:07 -05:00
|
|
|
|
#:use-module (guix build-system go)
|
2014-09-27 18:41:39 -04:00
|
|
|
|
#:use-module (guix build-system perl)
|
2016-09-11 14:22:39 -04:00
|
|
|
|
#:use-module (guix build-system python)
|
2017-09-22 15:15:56 -04:00
|
|
|
|
#:use-module (guix build-system ruby)
|
2015-04-16 04:48:31 -04:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2017-11-22 00:06:59 -05:00
|
|
|
|
#:use-module (guix build-system scons)
|
2017-11-26 03:02:28 -05:00
|
|
|
|
#:use-module ((guix build utils) #:hide (which))
|
2015-06-09 06:07:46 -04:00
|
|
|
|
#:use-module (guix utils)
|
2017-11-25 15:54:57 -05:00
|
|
|
|
#:use-module (srfi srfi-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 11:48:03 -04:00
|
|
|
|
#:use-module (srfi srfi-26)
|
|
|
|
|
#:use-module (ice-9 match))
|
|
|
|
|
|
2016-04-26 18:44:22 -04:00
|
|
|
|
(define-public 4store
|
|
|
|
|
(package
|
|
|
|
|
(name "4store")
|
|
|
|
|
(version "1.1.6")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-01-25 15:13:25 -05:00
|
|
|
|
(uri (string-append "https://github.com/4store/4store/archive/v"
|
2016-04-26 18:44:22 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "004fmcf1w75zhc1x3zc6kc97j4jqn2v5nhk6yb3z3cpfrhzi9j50"))
|
2018-04-04 08:54:02 -04:00
|
|
|
|
(patches (search-patches "4store-unset-preprocessor-directive.patch"
|
|
|
|
|
"4store-fix-buildsystem.patch"))))
|
2016-04-26 18:44:22 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2016-09-25 03:33:02 -04:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2016-04-26 18:44:22 -04:00
|
|
|
|
("libtool" ,libtool)
|
2016-06-24 17:54:00 -04:00
|
|
|
|
("pcre" ,pcre "bin") ;for 'pcre-config'
|
2016-04-26 18:44:22 -04: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
|
gnu: Put autoconf-related phases immediately after the 'unpack phase.
* gnu/packages/audio.scm (audacity, rtmidi)[arguments]: Correct phases
accordingly.
* gnu/packages/bioinformatics.scm (mash, seek, vsearch, emboss,
htslib-for-sambamba)[arguments]: Likewise.
* gnu/packages/ci.scm (cuirass)[arguments]: Likewise.
* gnu/packages/compression.scm (minizip, xdelta)[arguments]: Likewise.
* gnu/packages/cpp.scm (libzen)[arguments]: Likewise.
* gnu/packages/crypto.scm (opendht)[arguments]: Likewise.
* gnu/packages/databases.scm (4store, mdbtools)[arguments]: Likewise.
* gnu/packages/debug.scm (stress-make)[arguments]: Likewise.
* gnu/packages/dns.scm (dnscrypt-proxy, dnscrypt-wrapper)[arguments]:
Likewise.
* gnu/packages/emacs.scm (emacs-pdf-tools)[arguments]: Likewise.
* gnu/packages/embedded.scm (libjaylink, openocd)[arguments]: Likewise.
* gnu/packages/engineering.scm (gerbv)[arguments]: Likewise.
* gnu/packages/erlang.scm (erlang)[arguments]: Likewise.
* gnu/packages/ftp.scm (weex)[arguments]: Likewise.
* gnu/packages/gnome.scm (dia)[arguments]: Likewise.
* gnu/packages/gnunet.scm (gnurl, guile-gnunet)[arguments]: Likewise.
* gnu/packages/gtk.scm (guile-rsvg, graphene)[arguments]: Likewise.
* gnu/packages/guile.scm (guildhall, guile-ics, guile-sqlite3)[arguments]:
Likewise.
* gnu/packages/ibus.scm (ibus-libpinyin)[arguments]: Likewise.
* gnu/packages/irc.scm (weechat)[arguments]: Likewise.
* gnu/packages/java.scm (classpath-devel)[arguments]: Likewise.
* gnu/packages/libreoffice.scm (libetonyek)[arguments]: Likewise.
* gnu/packages/libusb.scm (hidapi)[arguments]: Likewise.
* gnu/packages/linux.scm (gpm)[arguments]: Likewise.
* gnu/packages/logging.scm (glog)[arguments]: Likewise.
* gnu/packages/machine-learning.scm (ghmm)[arguments]: Likewise.
* gnu/packages/mail.scm (dovecot-trees, dovecot-libsodium-plugin, esmtp)
[arguments]: Likewise.
* gnu/packages/messaging.scm (freetalk, libmesode, libstrophe)[arguments]:
Likewise.
* gnu/packages/microcom.scm (microcom)[arguments]: Likewise.
* gnu/packages/ocaml.scm (ocaml-ssl)[arguments]: Likewise.
* gnu/packages/parallel.scm (slurm)[arguments]: Likewise.
* gnu/packages/pdf.scm (libharu)[arguments]: Likewise.
* gnu/packages/samba.scm (cifs-utils)[arguments]: Likewise.
* gnu/packages/serialization.scm (msgpack)[arguments]: Likewise.
* gnu/packages/shells.scm (scsh)[arguments]: Likewise.
* gnu/packages/telephony.scm (libiax2)[arguments]: Likewise.
* gnu/packages/textutils.scm (dotconf)[arguments]: Likewise.
* gnu/packages/version-control.scm (findnewest)[arguments]: Likewise.
* gnu/packages/video.scm (libmediainfo, mediainfo)[arguments]: Likewise.
2017-07-30 21:02:35 -04:00
|
|
|
|
(add-after 'unpack 'generate-configure
|
2016-04-26 18:44:22 -04:00
|
|
|
|
(lambda _
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(invoke "sh" "autogen.sh"))))))
|
2016-04-26 18:44:22 -04:00
|
|
|
|
;; http://www.4store.org has been down for a while now.
|
2018-01-25 15:13:25 -05:00
|
|
|
|
(home-page "https://github.com/4store/4store")
|
2016-04-26 18:44:22 -04:00
|
|
|
|
(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 14:17:36 -05:00
|
|
|
|
(license license:gpl3+)))
|
2016-04-26 18:44:22 -04:00
|
|
|
|
|
2018-01-21 05:52:07 -05:00
|
|
|
|
(define-public go-gopkg.in-mgo.v2
|
|
|
|
|
(package
|
|
|
|
|
(name "go-gopkg.in-mgo.v2")
|
|
|
|
|
(version "2016.08.01")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/go-mgo/mgo")
|
|
|
|
|
(commit (string-append "r" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0rwbi1z63w43b0z9srm8m7iz1fdwx7bq7n2mz862d6liiaqa59jd"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:import-path "gopkg.in/mgo.v2"
|
|
|
|
|
;; TODO: The tests fail as MongoDB fails to start
|
|
|
|
|
;; Error parsing command line: unrecognised option '--chunkSize'
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'reset-gzip-timestamps)
|
|
|
|
|
(add-before 'check 'start-mongodb
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(when tests?
|
|
|
|
|
(with-directory-excursion "src/gopkg.in/mgo.v2"
|
|
|
|
|
(invoke "make" "startdb")))
|
|
|
|
|
#t))
|
2018-01-21 05:52:07 -05:00
|
|
|
|
(add-after 'check 'stop'mongodb
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(when tests?
|
|
|
|
|
(with-directory-excursion "src/gopkg.in/mgo.v2"
|
|
|
|
|
(invoke "make" "stopdb")))
|
|
|
|
|
#t)))))
|
2018-01-21 05:52:07 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("go-gopkg.in-check.v1" ,go-gopkg.in-check.v1)
|
|
|
|
|
("mongodb" ,mongodb)
|
|
|
|
|
("daemontools" ,daemontools)))
|
|
|
|
|
(synopsis "@code{mgo} offers a rich MongoDB driver for Go.")
|
|
|
|
|
(description
|
|
|
|
|
"@code{mgo} (pronounced as mango) is a MongoDB driver for the Go language.
|
|
|
|
|
It implements a rich selection of features under a simple API following
|
|
|
|
|
standard Go idioms.")
|
|
|
|
|
(home-page "http://labix.org/mgo")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2017-09-22 15:15:56 -04:00
|
|
|
|
(define-public es-dump-restore
|
|
|
|
|
(package
|
|
|
|
|
(name "es-dump-restore")
|
|
|
|
|
(version "2.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (rubygems-uri "es_dump_restore" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"020yk7f1hw48clmf5501z3xv9shsdchyymcv0y2cci2c1xvr1mim"))))
|
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
|
(arguments
|
2017-10-10 03:42:02 -04:00
|
|
|
|
'(#:tests? #f)) ;; No testsuite.
|
2017-09-22 15:15:56 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("ruby-httpclient" ,ruby-httpclient)
|
|
|
|
|
("ruby-multi-json" ,ruby-multi-json)
|
|
|
|
|
("ruby-progress_bar" ,ruby-progress_bar)
|
|
|
|
|
("ruby-rubyzip" ,ruby-rubyzip)
|
|
|
|
|
("ruby-thor" ,ruby-thor)))
|
|
|
|
|
(synopsis "Utility for dumping and restoring ElasticSearch indexes")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a utility for dumping the contents of an
|
|
|
|
|
ElasticSearch index to a compressed file and restoring the dumpfile back to an
|
|
|
|
|
ElasticSearch server")
|
|
|
|
|
(home-page "https://github.com/patientslikeme/es_dump_restore")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2016-12-27 15:56:01 -05:00
|
|
|
|
(define-public leveldb
|
|
|
|
|
(package
|
|
|
|
|
(name "leveldb")
|
2019-03-31 10:17:18 -04:00
|
|
|
|
(version "1.21")
|
2016-12-27 15:56:01 -05:00
|
|
|
|
(source (origin
|
2019-03-31 10:16:02 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/google/leveldb")
|
2019-03-31 10:17:18 -04:00
|
|
|
|
(commit version)))
|
2019-03-31 10:16:02 -04:00
|
|
|
|
(file-name (git-file-name name version))
|
2016-12-27 15:56:01 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-31 10:17:18 -04:00
|
|
|
|
"00v0w6883z7a6204894j59nd5v6dazn3c8hvh3sbczv4wiabppw2"))))
|
|
|
|
|
(build-system cmake-build-system)
|
2016-12-27 15:56:01 -05:00
|
|
|
|
(arguments
|
2019-03-31 10:17:18 -04:00
|
|
|
|
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON" "-DLEVELDB_BUILD_TESTS=ON")))
|
2016-12-27 15:56:01 -05:00
|
|
|
|
(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 14:17:36 -05:00
|
|
|
|
(license license:bsd-3)))
|
2016-12-27 15:56:01 -05:00
|
|
|
|
|
2017-07-27 12:11:33 -04:00
|
|
|
|
(define-public memcached
|
|
|
|
|
(package
|
|
|
|
|
(name "memcached")
|
2019-04-22 08:17:00 -04:00
|
|
|
|
(version "1.5.13")
|
2017-07-27 12:11:33 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://memcached.org/files/memcached-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-04-22 08:17:00 -04:00
|
|
|
|
(base32 "0qsdkjrns4f02lmabq8c7mzl5n4382q2p6a0dvmsjdcpjisagqb1"))))
|
2017-07-27 12:11:33 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libevent" ,libevent)
|
|
|
|
|
("cyrus-sasl" ,cyrus-sasl)))
|
|
|
|
|
(home-page "https://memcached.org/")
|
2018-08-14 09:29:51 -04:00
|
|
|
|
(synopsis "In-memory caching service")
|
|
|
|
|
(description "Memcached is an in-memory key-value store. It has a small
|
2017-07-27 12:11:33 -04:00
|
|
|
|
and generic API, and was originally intended for use with dynamic web
|
|
|
|
|
applications.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2017-10-06 16:24:23 -04:00
|
|
|
|
(define-public mongodb
|
|
|
|
|
(package
|
|
|
|
|
(name "mongodb")
|
2017-11-25 12:25:43 -05:00
|
|
|
|
(version "3.4.10")
|
2017-10-06 16:24:23 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/mongodb/mongo/archive/r"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2017-11-25 12:25:43 -05:00
|
|
|
|
(base32 "0676lvkljj7a5hdhv78dbykqnqrj9lbn9799mi84b8vbnzsq961r"))
|
2017-11-26 03:02:28 -05:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
(string-append "src/third_party/" dir)))
|
|
|
|
|
'("pcre-8.41" "scons-2.5.0" "snappy-1.1.3"
|
|
|
|
|
"valgrind-3.11.0" "wiredtiger"
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 07:47:34 -04:00
|
|
|
|
"yaml-cpp-0.5.3" "zlib-1.2.8"))
|
|
|
|
|
#t))
|
2017-10-06 16:24:23 -04:00
|
|
|
|
(patches
|
|
|
|
|
(list
|
|
|
|
|
(search-patch "mongodb-support-unknown-linux-distributions.patch")))))
|
2017-11-22 00:06:59 -05:00
|
|
|
|
(build-system scons-build-system)
|
2017-10-06 16:24:23 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)
|
|
|
|
|
("pcre" ,pcre)
|
2017-11-26 01:51:29 -05:00
|
|
|
|
,@(match (%current-system)
|
|
|
|
|
((or "x86_64-linux" "aarch64-linux" "mips64el-linux")
|
|
|
|
|
`(("wiredtiger" ,wiredtiger)))
|
|
|
|
|
(_ `()))
|
2017-10-06 16:24:23 -04:00
|
|
|
|
("yaml-cpp" ,yaml-cpp)
|
|
|
|
|
("zlib" ,zlib)
|
2017-11-26 03:02:28 -05:00
|
|
|
|
("snappy" ,snappy)))
|
2017-10-06 16:24:23 -04:00
|
|
|
|
(native-inputs
|
2017-11-22 00:06:59 -05:00
|
|
|
|
`(("valgrind" ,valgrind)
|
2017-12-27 05:20:24 -05:00
|
|
|
|
("perl" ,perl)
|
2019-02-15 08:30:57 -05:00
|
|
|
|
("python" ,python-2)
|
2017-12-27 05:20:24 -05:00
|
|
|
|
("python2-pymongo" ,python2-pymongo)
|
|
|
|
|
("python2-pyyaml" ,python2-pyyaml)
|
|
|
|
|
("tzdata" ,tzdata)))
|
2017-10-06 16:24:23 -04:00
|
|
|
|
(arguments
|
2017-11-22 00:06:59 -05:00
|
|
|
|
`(#:scons ,scons-python2
|
|
|
|
|
#:phases
|
2017-10-06 16:24:23 -04:00
|
|
|
|
(let ((common-options
|
|
|
|
|
`(;; "--use-system-tcmalloc" TODO: Missing gperftools
|
|
|
|
|
"--use-system-pcre"
|
2017-11-25 15:54:57 -05:00
|
|
|
|
;; wiredtiger is 64-bit only
|
|
|
|
|
,,(if (any (cute string-prefix? <> (or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
'("i686-linux" "armhf-linux"))
|
|
|
|
|
``"--wiredtiger=off"
|
2017-11-26 01:51:29 -05:00
|
|
|
|
``"--use-system-wiredtiger")
|
2017-10-06 16:24:23 -04:00
|
|
|
|
;; TODO
|
|
|
|
|
;; build/opt/mongo/db/fts/unicode/string.o failed: Error 1
|
|
|
|
|
;; --use-system-boost
|
|
|
|
|
"--use-system-snappy"
|
|
|
|
|
"--use-system-zlib"
|
|
|
|
|
"--use-system-valgrind"
|
|
|
|
|
;; "--use-system-stemmer" TODO: Missing relevant package
|
|
|
|
|
"--use-system-yaml"
|
|
|
|
|
"--disable-warnings-as-errors"
|
|
|
|
|
,(format #f "--jobs=~a" (parallel-job-count))
|
|
|
|
|
"--ssl")))
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'scons-propagate-environment
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Modify the SConstruct file to arrange for
|
|
|
|
|
;; environment variables to be propagated.
|
|
|
|
|
(substitute* "SConstruct"
|
|
|
|
|
(("^env = Environment\\(")
|
|
|
|
|
"env = Environment(ENV=os.environ, "))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'create-version-file
|
|
|
|
|
(lambda _
|
|
|
|
|
(call-with-output-file "version.json"
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(display ,(simple-format #f "{
|
|
|
|
|
\"version\": \"~A\"
|
|
|
|
|
}" version) port)))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
2018-10-23 19:42:37 -04:00
|
|
|
|
(apply invoke `("scons"
|
2017-10-06 16:24:23 -04:00
|
|
|
|
,@common-options
|
2018-10-23 19:42:37 -04:00
|
|
|
|
"mongod" "mongo" "mongos"))))
|
2017-10-06 16:24:23 -04:00
|
|
|
|
(replace 'check
|
2017-12-27 05:20:24 -05:00
|
|
|
|
(lambda* (#:key tests? inputs #:allow-other-keys)
|
|
|
|
|
(setenv "TZDIR"
|
|
|
|
|
(string-append (assoc-ref inputs "tzdata")
|
|
|
|
|
"/share/zoneinfo"))
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(when tests?
|
|
|
|
|
;; Note that with the tests, especially the unittests, the
|
|
|
|
|
;; build can take up to ~45GB of space, as many tests are
|
|
|
|
|
;; individual executable files, with some being hundreds of
|
|
|
|
|
;; megabytes in size.
|
|
|
|
|
(apply invoke `("scons" ,@common-options "dbtest" "unittests"))
|
|
|
|
|
(substitute* "build/unittests.txt"
|
|
|
|
|
;; TODO: Don't run the async_stream_test, as it hangs
|
|
|
|
|
(("^build\\/opt\\/mongo\\/executor\\/async\\_stream\\_test\n$")
|
|
|
|
|
"")
|
|
|
|
|
;; TODO: This test fails
|
|
|
|
|
;; Expected 0UL != disks.size() (0 != 0) @src/mongo/util/procparser_test.cpp:476
|
|
|
|
|
(("^build\\/opt\\/mongo\\/util\\/procparser\\_test\n$")
|
|
|
|
|
""))
|
|
|
|
|
(invoke "python" "buildscripts/resmoke.py"
|
|
|
|
|
"--suites=dbtest,unittests"
|
|
|
|
|
(format #f "--jobs=~a" (parallel-job-count))))
|
|
|
|
|
#t))
|
2017-10-06 16:24:23 -04:00
|
|
|
|
(replace 'install
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
2017-10-06 16:24:23 -04:00
|
|
|
|
(install-file "mongod" bin)
|
|
|
|
|
(install-file "mongos" bin)
|
|
|
|
|
(install-file "mongo" bin))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://www.mongodb.org/")
|
|
|
|
|
(synopsis "High performance and high availability document database")
|
|
|
|
|
(description
|
|
|
|
|
"Mongo is a high-performance, high availability, schema-free
|
|
|
|
|
document-oriented database. A key goal of MongoDB is to bridge the gap
|
|
|
|
|
between key/value stores (which are fast and highly scalable) and traditional
|
|
|
|
|
RDBMS systems (which are deep in functionality).")
|
|
|
|
|
(license (list license:agpl3
|
|
|
|
|
;; Some parts are licensed under the Apache License
|
|
|
|
|
license:asl2.0))))
|
|
|
|
|
|
2018-08-15 17:26:39 -04:00
|
|
|
|
;; XXX When updating, check whether boost-for-mysql is still needed.
|
|
|
|
|
;; It might suffice to patch ‘cmake/boost.cmake’ as done in the past.
|
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 11:48:03 -04:00
|
|
|
|
(define-public mysql
|
|
|
|
|
(package
|
|
|
|
|
(name "mysql")
|
2018-08-15 18:38:46 -04:00
|
|
|
|
(version "5.7.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 11:48:03 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-03-17 15:58:50 -04:00
|
|
|
|
(uri (list (string-append
|
2018-08-15 17:12:31 -04:00
|
|
|
|
"https://dev.mysql.com/get/Downloads/MySQL-"
|
2016-03-17 15:58:50 -04:00
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.gz")
|
|
|
|
|
(string-append
|
2018-08-15 17:12:31 -04:00
|
|
|
|
"https://downloads.mysql.com/archives/get/file/"
|
2016-03-17 15:58:50 -04:00
|
|
|
|
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 11:48:03 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-08-15 18:38:46 -04:00
|
|
|
|
"0rbc3xsc11lq2dm0ip6gxa16c06hi74scb97x5cw7yhbabaz4c07"))))
|
2015-06-09 06:07:46 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2016-09-22 23:33:19 -04:00
|
|
|
|
`(#:configure-flags
|
2015-06-09 06:07:46 -04: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 17:39:31 -04:00
|
|
|
|
"-DINSTALL_SQLBENCHDIR=")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2015-06-27 04:13:39 -04: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-09-01 03:48:44 -04:00
|
|
|
|
#t))))))
|
2015-06-09 06:07:46 -04: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 11:48:03 -04:00
|
|
|
|
(inputs
|
2018-08-15 17:26:39 -04:00
|
|
|
|
`(("boost" ,boost-for-mysql)
|
2016-03-17 15:58:50 -04:00
|
|
|
|
("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 11:48:03 -04:00
|
|
|
|
("openssl" ,openssl)
|
2016-03-17 15:58:50 -04:00
|
|
|
|
("zlib" ,zlib)))
|
2018-08-15 17:12:31 -04:00
|
|
|
|
(home-page "https://www.mysql.com/")
|
2014-09-13 09:50:30 -04: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 11:48:03 -04: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 14:17:36 -05: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 11:48:03 -04:00
|
|
|
|
|
2015-04-16 04:48:31 -04:00
|
|
|
|
(define-public mariadb
|
|
|
|
|
(package
|
|
|
|
|
(name "mariadb")
|
2019-02-10 12:55:01 -05:00
|
|
|
|
(version "10.1.38")
|
2015-04-16 04:48:31 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://downloads.mariadb.org/f/"
|
|
|
|
|
name "-" version "/source/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-10 12:55:01 -05:00
|
|
|
|
"0zq77w3ff9q781fn8cv46vy1v4ggb8vjarjvk51k653x4gyg9wfa"))
|
2018-08-22 10:45:17 -04:00
|
|
|
|
(patches (search-patches "mariadb-client-test-32bit.patch"))
|
2018-07-16 15:31:42 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete bundled snappy and xz.
|
|
|
|
|
(delete-file-recursively "storage/tokudb/PerconaFT/third_party")
|
2018-09-09 07:22:43 -04:00
|
|
|
|
(substitute* "storage/tokudb/PerconaFT/CMakeLists.txt"
|
|
|
|
|
;; This file checks that the bundled sources are present and
|
|
|
|
|
;; declares build procedures for them.
|
|
|
|
|
(("^include\\(TokuThirdParty\\)") ""))
|
|
|
|
|
(substitute* "storage/tokudb/PerconaFT/ft/CMakeLists.txt"
|
|
|
|
|
;; Don't attempt to use the procedures we just removed.
|
|
|
|
|
((" build_lzma build_snappy") ""))
|
2018-07-16 15:31:42 -04:00
|
|
|
|
|
|
|
|
|
;; Preserve CMakeLists.txt for these.
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(unless (string-suffix? "CMakeLists.txt" file)
|
|
|
|
|
(delete-file file)))
|
|
|
|
|
(append (find-files "extra/yassl")
|
|
|
|
|
(find-files "pcre") (find-files "zlib")))
|
|
|
|
|
#t))))
|
2015-04-16 04:48:31 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2018-07-28 05:00:49 -04:00
|
|
|
|
`(#:configure-flags
|
2015-04-16 04:48:31 -04:00
|
|
|
|
'("-DBUILD_CONFIG=mysql_release"
|
2017-05-04 21:44:13 -04:00
|
|
|
|
;; Linking with libarchive fails, like this:
|
|
|
|
|
|
|
|
|
|
;; ld: /gnu/store/...-libarchive-3.2.2/lib/libarchive.a(archive_entry.o):
|
|
|
|
|
;; relocation R_X86_64_32 against `.bss' can not be used when
|
|
|
|
|
;; making a shared object; recompile with -fPIC
|
|
|
|
|
|
|
|
|
|
;; For now, disable the features that that use libarchive (xtrabackup).
|
|
|
|
|
"-DWITH_LIBARCHIVE=OFF"
|
|
|
|
|
|
2018-07-16 15:31:42 -04:00
|
|
|
|
;; Ensure the system libraries are used.
|
|
|
|
|
"-DWITH_JEMALLOC=yes"
|
|
|
|
|
"-DWITH_PCRE=system"
|
|
|
|
|
"-DWITH_SSL=system"
|
|
|
|
|
"-DWITH_ZLIB=system"
|
|
|
|
|
|
2015-04-16 04:48:31 -04:00
|
|
|
|
"-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"
|
2018-07-26 08:34:27 -04:00
|
|
|
|
"-DINSTALL_SHAREDIR=share")
|
2015-04-16 04:48:31 -04:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-09-09 07:22:43 -04:00
|
|
|
|
(add-after 'unpack 'fix-pcre-detection
|
2018-07-16 15:31:42 -04:00
|
|
|
|
(lambda _
|
|
|
|
|
;; The bundled PCRE in MariaDB has a patch that was upstreamed
|
|
|
|
|
;; in version 8.34. Unfortunately the upstream patch behaves
|
|
|
|
|
;; slightly differently and the build system fails to detect it.
|
|
|
|
|
;; See <https://bugs.exim.org/show_bug.cgi?id=2173>.
|
|
|
|
|
;; XXX: Consider patching PCRE instead.
|
|
|
|
|
(substitute* "cmake/pcre.cmake"
|
|
|
|
|
((" OR NOT PCRE_STACK_SIZE_OK") ""))
|
|
|
|
|
#t))
|
2018-07-17 18:49:08 -04:00
|
|
|
|
(add-after 'unpack 'adjust-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((disabled-tests
|
|
|
|
|
'(;; These fail because root@hostname == root@localhost in
|
|
|
|
|
;; the build environment, causing a user count mismatch.
|
|
|
|
|
;; See <https://jira.mariadb.org/browse/MDEV-7761>.
|
|
|
|
|
"main.join_cache"
|
|
|
|
|
"main.explain_non_select"
|
2018-09-09 07:19:50 -04:00
|
|
|
|
"main.stat_tables_innodb"
|
2018-08-06 18:51:48 -04:00
|
|
|
|
"roles.acl_statistics"
|
2019-02-06 17:30:34 -05:00
|
|
|
|
|
|
|
|
|
;; This file contains a time bomb which makes it fail after
|
2019-02-10 12:55:01 -05:00
|
|
|
|
;; 2030-12-31. See <https://bugs.gnu.org/34351> for details.
|
2019-01-21 11:59:44 -05:00
|
|
|
|
"main.mysqldump"
|
2019-02-06 17:30:34 -05:00
|
|
|
|
|
|
|
|
|
;; XXX: Fails sporadically.
|
2019-01-21 11:59:44 -05:00
|
|
|
|
"innodb_fts.crash_recovery"
|
2018-08-06 18:51:48 -04:00
|
|
|
|
|
|
|
|
|
;; FIXME: This test fails on i686:
|
|
|
|
|
;; -myisampack: Can't create/write to file (Errcode: 17 "File exists")
|
|
|
|
|
;; +myisampack: Can't create/write to file (Errcode: 17 "File exists)
|
|
|
|
|
;; When running "myisampack --join=foo/t3 foo/t1 foo/t2"
|
|
|
|
|
;; (all three tables must exist and be identical)
|
|
|
|
|
;; in a loop it produces the same error around 1/240 times.
|
|
|
|
|
;; montywi on #maria suggested removing the real_end check in
|
|
|
|
|
;; "strings/my_vsnprintf.c" on line 503, yet it still does not
|
|
|
|
|
;; reach the ending quote occasionally. Disable it for now.
|
2018-08-07 12:55:19 -04:00
|
|
|
|
"main.myisampack"
|
|
|
|
|
;; FIXME: This test fails on armhf-linux:
|
|
|
|
|
"mroonga/storage.index_read_multiple_double"))
|
2018-07-17 18:49:08 -04:00
|
|
|
|
|
|
|
|
|
;; This file contains a list of known-flaky tests for this
|
|
|
|
|
;; release. Append our own items.
|
|
|
|
|
(unstable-tests (open-file "mysql-test/unstable-tests" "a")))
|
|
|
|
|
(for-each (lambda (test)
|
|
|
|
|
(format unstable-tests "~a : ~a\n"
|
|
|
|
|
test "Disabled in Guix"))
|
|
|
|
|
disabled-tests)
|
|
|
|
|
(close-port unstable-tests)
|
|
|
|
|
|
|
|
|
|
(substitute* "mysql-test/mysql-test-run.pl"
|
|
|
|
|
(("/bin/ls") (which "ls"))
|
|
|
|
|
(("/bin/sh") (which "sh")))
|
|
|
|
|
#t)))
|
2018-07-19 18:50:20 -04:00
|
|
|
|
(add-before 'configure 'disable-plugins
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((disable-plugin (lambda (name)
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
(string-append "plugin/" name
|
|
|
|
|
"/CMakeLists.txt")
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "\n")))))
|
2018-07-28 12:37:37 -04:00
|
|
|
|
(disabled-plugins '(;; XXX: Causes a test failure.
|
2018-07-17 18:49:08 -04:00
|
|
|
|
"disks")))
|
2018-07-19 18:50:20 -04:00
|
|
|
|
(for-each disable-plugin disabled-plugins)
|
|
|
|
|
#t)))
|
2018-07-17 18:49:08 -04:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key (tests? #t) #:allow-other-keys)
|
|
|
|
|
(if tests?
|
|
|
|
|
(with-directory-excursion "mysql-test"
|
|
|
|
|
(invoke "./mtr" "--verbose"
|
2018-08-06 18:51:48 -04:00
|
|
|
|
"--retry=3"
|
2018-08-07 07:41:08 -04:00
|
|
|
|
"--testcase-timeout=40"
|
|
|
|
|
"--suite-timeout=600"
|
2018-07-17 18:49:08 -04:00
|
|
|
|
"--parallel" (number->string (parallel-job-count))
|
|
|
|
|
"--skip-test-list=unstable-tests"))
|
|
|
|
|
(format #t "test suite not run~%"))
|
|
|
|
|
#t))
|
2015-04-16 04:48:31 -04:00
|
|
|
|
(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"
|
2018-07-16 20:50:58 -04:00
|
|
|
|
"share/man/man1/mysql-test-run.pl.1"))
|
2018-08-22 11:52:40 -04:00
|
|
|
|
;; Delete huge and unnecessary executables.
|
|
|
|
|
(for-each delete-file (find-files "bin" "(test|embedded)"))
|
2018-07-16 20:50:58 -04:00
|
|
|
|
;; And static libraries.
|
|
|
|
|
(for-each delete-file (find-files "lib" "\\.a$")))
|
2018-03-23 03:09:46 -04:00
|
|
|
|
#t))))))
|
2015-04-16 04:48:31 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
2018-07-28 12:37:37 -04:00
|
|
|
|
("perl" ,perl)))
|
2015-04-16 04:48:31 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("jemalloc" ,jemalloc)
|
|
|
|
|
("libaio" ,libaio)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("pcre" ,pcre)
|
2018-07-16 15:31:42 -04:00
|
|
|
|
("snappy" ,snappy)
|
|
|
|
|
("xz" ,xz)
|
2015-04-16 04:48:31 -04:00
|
|
|
|
("zlib" ,zlib)))
|
2018-08-19 09:52:45 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; mariadb.pc says -lssl -lcrypto, so propagate it.
|
|
|
|
|
`(("openssl" ,openssl)))
|
2018-07-17 18:49:08 -04:00
|
|
|
|
;; The test suite is very resource intensive and can take more than three
|
|
|
|
|
;; hours on a x86_64 system. Give slow and busy machines some leeway.
|
|
|
|
|
(properties '((timeout . 64800))) ;18 hours
|
2015-04-16 04:48:31 -04:00
|
|
|
|
(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 14:17:36 -05:00
|
|
|
|
(license license:gpl2)))
|
2015-04-16 04:48:31 -04:00
|
|
|
|
|
2018-07-15 14:46:16 -04:00
|
|
|
|
;; Don't forget to update the other postgresql packages when upgrading this one.
|
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 11:48:03 -04:00
|
|
|
|
(define-public postgresql
|
|
|
|
|
(package
|
|
|
|
|
(name "postgresql")
|
2019-02-14 14:32:56 -05:00
|
|
|
|
(version "10.7")
|
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 11:48:03 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-04-01 06:57:21 -04:00
|
|
|
|
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
2015-04-23 06:27:47 -04: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 11:48:03 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-14 14:32:56 -05:00
|
|
|
|
"1piyfcrcqscjhnnwn91kdvr764s7d0qz4lgygf9bl6qc71ji1vdz"))
|
2018-07-28 11:38:38 -04:00
|
|
|
|
(patches (search-patches "postgresql-disable-resolve_symlinks.patch"))))
|
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 11:48:03 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2016-03-24 09:23:55 -04:00
|
|
|
|
(arguments
|
2019-01-03 17:03:34 -05:00
|
|
|
|
`(#:configure-flags '("--with-uuid=e2fs" "--with-openssl")
|
2017-06-05 12:18:06 -04:00
|
|
|
|
#:phases
|
2016-03-24 09:23:55 -04:00
|
|
|
|
(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")))
|
2017-06-05 12:18:06 -04:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'build 'build-contrib
|
|
|
|
|
(lambda _
|
2018-05-18 10:06:24 -04:00
|
|
|
|
(invoke "make" "-C" "contrib")))
|
2017-06-05 12:18:06 -04:00
|
|
|
|
(add-after 'install 'install-contrib
|
|
|
|
|
(lambda _
|
2018-05-18 10:06:24 -04:00
|
|
|
|
(invoke "make" "-C" "contrib" "install"))))))
|
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 11:48:03 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("readline" ,readline)
|
2017-06-05 12:18:06 -04:00
|
|
|
|
("libuuid" ,util-linux)
|
2019-01-03 17:03:34 -05:00
|
|
|
|
("openssl" ,openssl)
|
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 11:48:03 -04:00
|
|
|
|
("zlib" ,zlib)))
|
2016-11-09 04:39:30 -05: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 11:48:03 -04: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 14:17:36 -05: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 11:48:03 -04:00
|
|
|
|
|
2017-10-12 16:38:00 -04:00
|
|
|
|
(define-public postgresql-9.6
|
|
|
|
|
(package
|
|
|
|
|
(inherit postgresql)
|
|
|
|
|
(name "postgresql")
|
2019-02-14 14:33:17 -05:00
|
|
|
|
(version "9.6.12")
|
2017-10-12 16:38:00 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
|
|
|
|
version "/postgresql-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-14 14:33:17 -05:00
|
|
|
|
"114xay230xia2fagisxahs5fc2mza8hmmkr6ibd7nxllp938931f"))))))
|
2017-10-12 16:38:00 -04:00
|
|
|
|
|
2018-07-04 17:04:19 -04:00
|
|
|
|
(define-public python-pymysql
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pymysql")
|
2019-02-18 16:01:55 -05:00
|
|
|
|
(version "0.9.3")
|
2018-07-04 17:04:19 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "PyMySQL" version))
|
|
|
|
|
(sha256
|
2019-02-18 16:01:55 -05:00
|
|
|
|
(base32 "1ry8lxgdc1p3k7gbw20r405jqi5lvhi5wk83kxdbiv8xv3f5kh6q"))))
|
2018-07-04 17:04:19 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-unittest2" ,python-unittest2)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-cryptography" ,python-cryptography)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; tests expect a running MySQL
|
|
|
|
|
(home-page "https://github.com/PyMySQL/PyMySQL/")
|
|
|
|
|
(synopsis "Pure-Python MySQL driver")
|
|
|
|
|
(description
|
|
|
|
|
"PyMySQL is a pure-Python MySQL client library, based on PEP 249.
|
|
|
|
|
Most public APIs are compatible with @command{mysqlclient} and MySQLdb.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-pymysql
|
|
|
|
|
(package-with-python2 python-pymysql))
|
|
|
|
|
|
2017-01-24 12:03:31 -05: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 11:48:03 -04:00
|
|
|
|
(define-public recutils
|
|
|
|
|
(package
|
|
|
|
|
(name "recutils")
|
2019-01-06 08:23:11 -05:00
|
|
|
|
(version "1.8")
|
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 11:48:03 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/recutils/recutils-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-01-06 08:23:11 -05:00
|
|
|
|
"14xiln4immfsw8isnvwvq0h23f6z0wilpgsc4qzabnrzb5lsx3nz"))))
|
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 11:48:03 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
|
2019-01-06 08:23:11 -05:00
|
|
|
|
(arguments '(#:configure-flags
|
2015-10-18 15:40:08 -04:00
|
|
|
|
(list (string-append "--with-bash-headers="
|
|
|
|
|
(assoc-ref %build-inputs "bash:include")
|
2019-01-06 08:23:11 -05:00
|
|
|
|
"/include/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 11:48:03 -04:00
|
|
|
|
|
2016-05-11 18:58:59 -04:00
|
|
|
|
(native-inputs `(("emacs" ,emacs-minimal)
|
2015-09-21 19:42:10 -04:00
|
|
|
|
("bc" ,bc)
|
2015-10-18 15:40:08 -04:00
|
|
|
|
("bash:include" ,bash "include")
|
2019-01-06 08:23:11 -05:00
|
|
|
|
("check" ,check)
|
|
|
|
|
("libuuid" ,util-linux)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
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 11:48:03 -04:00
|
|
|
|
|
|
|
|
|
;; TODO: Add more optional inputs.
|
|
|
|
|
(inputs `(("curl" ,curl)
|
2019-01-06 08:23:11 -05:00
|
|
|
|
("libgcrypt" ,libgcrypt)))
|
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 11:48:03 -04:00
|
|
|
|
(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 09:31:31 -04: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 14:17:36 -05:00
|
|
|
|
(license license:gpl3+)
|
2017-03-29 18:48:16 -04: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 11:48:03 -04:00
|
|
|
|
|
2017-01-03 01:21:43 -05:00
|
|
|
|
(define-public rocksdb
|
|
|
|
|
(package
|
|
|
|
|
(name "rocksdb")
|
2019-03-04 08:32:19 -05:00
|
|
|
|
(version "5.18.3")
|
2017-01-03 01:21:43 -05:00
|
|
|
|
(source (origin
|
2018-09-27 11:24:33 -04:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/facebook/rocksdb")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-01-03 01:21:43 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-04 08:32:19 -05:00
|
|
|
|
"1v2slmmr1dsgf8z0qcfg1y9x1al96859rg48b66p9nsawczd5zv9"))
|
2017-01-03 01:21:43 -05:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; TODO: unbundle gtest.
|
|
|
|
|
(delete-file "build_tools/gnu_parallel")
|
2018-02-20 21:06:39 -05:00
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("build_tools/gnu_parallel") "parallel"))
|
2017-01-03 01:21:43 -05:00
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-02-20 21:06:39 -05:00
|
|
|
|
`(#:make-flags (list "CC=gcc" "V=1"
|
|
|
|
|
;; Ceph requires that RTTI is enabled.
|
|
|
|
|
"USE_RTTI=1"
|
2017-01-03 01:21:43 -05:00
|
|
|
|
(string-append "INSTALL_PATH="
|
2018-02-20 21:06:39 -05:00
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
|
|
|
|
|
;; Running the full test suite takes hours and require
|
|
|
|
|
;; a lot of disk space. Instead we only run a subset
|
|
|
|
|
;; (see .travis.yml and Makefile).
|
|
|
|
|
"ROCKSDBTESTS_END=db_tailing_iter_test")
|
|
|
|
|
#:test-target "check_some"
|
2017-05-12 09:00:59 -04:00
|
|
|
|
;; Many tests fail on 32-bit platforms. There are multiple reports about
|
|
|
|
|
;; this upstream, but it's not going to be supported any time soon.
|
|
|
|
|
#:tests? (let ((system ,(or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
|
|
|
|
(or (string-prefix? "x86_64-linux" system)
|
|
|
|
|
(string-prefix? "aarch64-linux" system)))
|
2017-01-03 01:21:43 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-Makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
2017-04-14 15:03:31 -04:00
|
|
|
|
;; Don't depend on the static library when installing.
|
|
|
|
|
(("install: install-static")
|
|
|
|
|
"install: install-shared")
|
2017-01-03 01:21:43 -05:00
|
|
|
|
(("#!/bin/sh") (string-append "#!" (which "sh"))))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure)
|
2017-05-12 09:00:59 -04:00
|
|
|
|
;; The default target is only needed for tests and built on demand.
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(add-before 'check 'disable-optimizations
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Prevent the build from passing '-march=native' to the compiler.
|
|
|
|
|
(setenv "PORTABLE" "1")
|
|
|
|
|
#t))
|
2017-01-03 01:21:43 -05:00
|
|
|
|
(add-before 'check 'disable-failing-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
;; These tests reliably fail due to "Too many open files".
|
|
|
|
|
(("^[[:blank:]]+env_test[[:blank:]]+\\\\") "\\")
|
|
|
|
|
(("^[[:blank:]]+persistent_cache_test[[:blank:]]+\\\\") "\\"))
|
|
|
|
|
#t))
|
2018-02-20 21:06:39 -05:00
|
|
|
|
(add-after 'check 'build
|
2017-04-14 15:03:31 -04:00
|
|
|
|
;; The default build target is a debug build for tests. The
|
2018-02-20 21:06:39 -05:00
|
|
|
|
;; install target depends on the "shared_lib" release target
|
|
|
|
|
;; so we build it here for clarity.
|
|
|
|
|
(lambda* (#:key (make-flags '()) parallel-build? #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" "shared_lib"
|
|
|
|
|
`(,@(if parallel-build?
|
|
|
|
|
`("-j" ,(number->string (parallel-job-count)))
|
|
|
|
|
'())
|
|
|
|
|
,@make-flags)))))))
|
2017-01-03 01:21:43 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("parallel" ,parallel)
|
|
|
|
|
("perl" ,perl)
|
|
|
|
|
("procps" ,procps)
|
2017-02-08 13:56:03 -05:00
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("which" ,which)))
|
2017-01-03 01:21:43 -05: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}.")
|
2018-02-20 21:06:39 -05:00
|
|
|
|
;; RocksDB is dual licensed under GPL2 and ASL 2.0. Some header
|
|
|
|
|
;; files carry the 3-clause BSD license.
|
|
|
|
|
(license (list license:gpl2 license:asl2.0 license:bsd-3))))
|
2017-01-03 01:21:43 -05:00
|
|
|
|
|
2016-06-10 08:45:41 -04: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 :=.*$")
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(string-append "gitrev = \"v" ,version "\"")))
|
|
|
|
|
#t))
|
2016-06-10 08:45:41 -04:00
|
|
|
|
;; 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)
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(symlink (string-append bin "/sparql-query")
|
|
|
|
|
(string-append bin "/sparql-update")))
|
|
|
|
|
#t))
|
2016-06-10 08:45:41 -04:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(apply invoke "make" `(,@make-flags "scan-test"))
|
|
|
|
|
(invoke "./scan-test"))))))
|
2016-06-10 08:45:41 -04:00
|
|
|
|
(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
|
gnu: Fix descriptions to not use quotes.
* gnu/packages/admin.scm (wpa-supplicant-minimal, mingetty, di),
* gnu/packages/audio.scm (fil-plugins),
* gnu/packages/base.scm (make-ld-wrapper, make-glibc-locales),
* gnu/packages/bioinformatics.scm (r-samtools),
* gnu/packages/chez.scm (chez-mit),
* gnu/packages/commencement.scm (make-gcc-toolchain),
* gnu/packages/compression.scm (fastjar),
* gnu/packages/cran.scm (r-maps, r-rcpp),
* gnu/packages/databases.scm (sparql-query),
* gnu/packages/dunst.scm (dunst),
* gnu/packages/ftp.scm (ncftp),
* gnu/packages/gl.scm (freeglut),
* gnu/packages/haskell-check.scm (ghc-tasty-golden),
* gnu/packages/haskell.scm (ghc-case-insensitive, ghc-text,
ghc-haskell-src, ghc-syb, ghc-deepseq-generics, ghc-network-uri,
ghc-rerebase, ghc-zlib),
* gnu/packages/image.scm (jbig2dec),
* gnu/packages/kde-frameworks.scm (kinit, karchive),
* gnu/packages/linux.scm (wireless-tools, perf, module-init-tools, kbd),
* gnu/packages/lirc.scm (lirc),
* gnu/packages/lisp.scm (uglify-js),
* gnu/packages/mate.scm (mate-netbook),
* gnu/packages/microcom.scm (microcom),
* gnu/packages/music.scm (bristol),
* gnu/packages/networking.scm (perl-geo-ip),
* gnu/packages/patchutils.scm (patches),
* gnu/packages/perl-check.scm (perl-test-more-utf8),
* gnu/packages/perl.scm (perl-log-report-optional, perl-file-which,
perl-io-tty, perl-log-any, perl-digest-sha1, perl-class-load,
perl-regexp-common, perl-module-pluggable, perl-class-modifier),
* gnu/packages/python-xyz.scm (python-backports-abc, python-natsort),
* gnu/packages/samba.scm (iniparser),
* gnu/packages/search.scm (mlocate),
* gnu/packages/spice.scm (spice),
* gnu/packages/statistics.scm (r-dt, r-lubridate, r-estimability,
r-commonmark, r-digest, r-viridislite, r-stringr),
* gnu/packages/tex.scm (texlive-latex-changebar),
* gnu/packages/version-control.scm (subversion),
* gnu/packages/w3m.scm (w3m),
* gnu/packages/web.scm (perl-http-parser,
perl-plack-middleware-reverseproxy),
* gnu/packages/xorg.scm (xkeyboard-config, mkfontdir, xcursor-theme,
mkfontscale, xinit, font-alias)[description]: Use @code instead of quotes.
2019-03-31 09:39:43 -04:00
|
|
|
|
endpoints over HTTP. It has been intentionally designed to @code{feel} similar to
|
2016-06-10 08:45:41 -04:00
|
|
|
|
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 14:17:36 -05:00
|
|
|
|
(license (list license:gpl3+))))
|
2016-06-10 08:45:41 -04:00
|
|
|
|
|
2019-03-24 14:10:50 -04:00
|
|
|
|
(define-public sqitch
|
|
|
|
|
(package
|
|
|
|
|
(name "sqitch")
|
|
|
|
|
(version "0.9999")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/D/DW/DWHEELER/App-Sqitch-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1cvj8grs3bzc4g7dw1zc26g4biv1frav18sq0fkvi2kk0q1aigzm"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'set-check-environment
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "TZ" "UTC")
|
|
|
|
|
(setenv "HOME" "/tmp")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap-program
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(path (getenv "PERL5LIB")))
|
|
|
|
|
(wrap-program (string-append out "/bin/sqitch")
|
|
|
|
|
`("PERL5LIB" ":" prefix
|
|
|
|
|
(,(string-append out "/lib/perl5/site_perl"
|
|
|
|
|
":"
|
|
|
|
|
path)))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-capture-tiny" ,perl-capture-tiny)
|
|
|
|
|
("perl-io-pager" ,perl-io-pager)
|
|
|
|
|
("perl-module-build" ,perl-module-build)
|
|
|
|
|
("perl-module-runtime" ,perl-module-runtime)
|
|
|
|
|
("perl-path-class" ,perl-path-class)
|
|
|
|
|
("perl-test-deep" ,perl-test-deep)
|
|
|
|
|
("perl-test-dir" ,perl-test-dir)
|
|
|
|
|
("perl-test-exception" ,perl-test-exception)
|
|
|
|
|
("perl-test-file" ,perl-test-file)
|
|
|
|
|
("perl-test-file-contents" ,perl-test-file-contents)
|
|
|
|
|
("perl-test-mockmodule" ,perl-test-mockmodule)
|
|
|
|
|
("perl-test-nowarnings" ,perl-test-nowarnings)
|
|
|
|
|
("perl-test-warn" ,perl-test-warn)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("perl-class-xsaccessor" ,perl-class-xsaccessor)
|
|
|
|
|
("perl-clone" ,perl-clone)
|
|
|
|
|
("perl-config-gitlike" ,perl-config-gitlike)
|
|
|
|
|
("perl-datetime" ,perl-datetime)
|
|
|
|
|
("perl-datetime-timezone" ,perl-datetime-timezone)
|
|
|
|
|
("perl-dbd-pg" ,perl-dbd-pg)
|
|
|
|
|
("perl-dbi" ,perl-dbi)
|
|
|
|
|
("perl-devel-stacktrace" ,perl-devel-stacktrace)
|
|
|
|
|
("perl-encode-locale" ,perl-encode-locale)
|
|
|
|
|
("perl-file-homedir" ,perl-file-homedir)
|
|
|
|
|
("perl-hash-merge" ,perl-hash-merge)
|
|
|
|
|
("perl-ipc-run3" ,perl-ipc-run3)
|
|
|
|
|
("perl-ipc-system-simple" ,perl-ipc-system-simple)
|
|
|
|
|
("perl-libintl-perl" ,perl-libintl-perl)
|
|
|
|
|
("perl-list-moreutils" ,perl-list-moreutils)
|
|
|
|
|
("perl-moo" ,perl-moo)
|
|
|
|
|
("perl-mysql-config" ,perl-mysql-config)
|
|
|
|
|
("perl-namespace-autoclean" ,perl-namespace-autoclean)
|
|
|
|
|
("perl-path-class" ,perl-path-class)
|
|
|
|
|
("perl-perlio-utf8_strict" ,perl-perlio-utf8_strict)
|
|
|
|
|
("perl-string-formatter" ,perl-string-formatter)
|
|
|
|
|
("perl-string-shellquote" ,perl-string-shellquote)
|
|
|
|
|
("perl-sub-exporter" ,perl-sub-exporter)
|
|
|
|
|
("perl-template-tiny" ,perl-template-tiny)
|
|
|
|
|
("perl-template-toolkit" ,perl-template-toolkit)
|
|
|
|
|
("perl-throwable" ,perl-throwable)
|
|
|
|
|
("perl-try-tiny" ,perl-try-tiny)
|
|
|
|
|
("perl-type-tiny" ,perl-type-tiny)
|
|
|
|
|
("perl-type-tiny-xs" ,perl-type-tiny-xs)
|
|
|
|
|
("perl-uri" ,perl-uri)
|
|
|
|
|
("perl-uri-db" ,perl-uri-db)))
|
|
|
|
|
(home-page "https://sqitch.org/")
|
|
|
|
|
(synopsis "Database change management tool")
|
|
|
|
|
(description
|
|
|
|
|
"Sqitch is a standalone change management system for database schemas,
|
|
|
|
|
which uses SQL to describe changes.")
|
|
|
|
|
(license license:x11)))
|
|
|
|
|
|
2018-07-04 17:05:14 -04:00
|
|
|
|
(define-public sqlcrush
|
|
|
|
|
;; Unfortunately, there is no proper upstream release and may never be.
|
|
|
|
|
(let ((commit "b5f6868f189566a26eecc78d0f0659813c1aa98a")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "sqlcrush")
|
|
|
|
|
(version (git-version "0.1.5" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/coffeeandscripts/sqlcrush.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0x3wy40r93p0jv3nbwj9a77wa4ff697d13r0wffmm7q9h3mzsww8"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-cryptography" ,python-cryptography)
|
|
|
|
|
("python-psycopg2" ,python-psycopg2)
|
|
|
|
|
("python-pymysql" ,python-pymysql)
|
|
|
|
|
("python-sqlalchemy" ,python-sqlalchemy)))
|
|
|
|
|
(home-page "https://github.com/coffeeandscripts/sqlcrush")
|
|
|
|
|
(synopsis "Text console-based database viewer and editor")
|
|
|
|
|
(description
|
|
|
|
|
"SQLcrush lets you view and edit a database directly from the text
|
|
|
|
|
console through an ncurses interface. You can explore each table's structure,
|
|
|
|
|
browse and edit the contents, add and delete entries, all while tracking your
|
|
|
|
|
changes.")
|
|
|
|
|
(license license:gpl3+)))) ; no headers, see README.md
|
|
|
|
|
|
2014-09-08 12:00:03 -04:00
|
|
|
|
(define-public tdb
|
|
|
|
|
(package
|
|
|
|
|
(name "tdb")
|
2019-03-23 17:13:01 -04:00
|
|
|
|
(version "1.4.0")
|
2014-09-08 12:00:03 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-12-13 23:13:56 -05:00
|
|
|
|
(uri (string-append "https://www.samba.org/ftp/tdb/tdb-"
|
2014-09-08 12:00:03 -04:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-23 17:13:01 -04:00
|
|
|
|
"0d9d2f1c83gmmq30bkfs50yb8399mr9xjjzscma4kyq0ajf75861"))))
|
2014-09-08 12:00:03 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-10-08 15:14:36 -04: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'.
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(invoke "./configure"
|
|
|
|
|
(string-append "--prefix=" out))))))))
|
2014-09-08 12:00:03 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(;; TODO: Build the documentation.
|
|
|
|
|
;; ("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
;; ("libxml2" ,libxml2)
|
|
|
|
|
;; ("libxslt" ,libxslt)
|
2019-03-02 09:11:07 -05:00
|
|
|
|
("python" ,python) ;for the Waf build system
|
|
|
|
|
("which" ,which)))
|
2016-10-08 15:11:14 -04: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 00:46:59 -04:00
|
|
|
|
(synopsis "Trivial database")
|
2014-09-08 12:00:03 -04: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 14:17:36 -05:00
|
|
|
|
(license license:lgpl3+)))
|
2014-09-27 18:41:39 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-dbi
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbi")
|
2019-02-12 07:48:23 -05:00
|
|
|
|
(version "1.642")
|
2014-09-27 18:41:39 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/T/TI/TIMB/DBI-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-12 07:48:23 -05:00
|
|
|
|
"0pbzqazrx7pnw4nbyaf27in4b6yddkirbd2ws7mnqa2n7812a81z"))))
|
2014-09-27 18:41:39 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(synopsis "Database independent interface for Perl")
|
|
|
|
|
(description "This package provides an database interface for Perl.")
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/DBI")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2014-09-27 18:41:39 -04:00
|
|
|
|
|
2015-03-13 14:31:23 -04:00
|
|
|
|
(define-public perl-dbix-class
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class")
|
2018-04-30 14:32:25 -04:00
|
|
|
|
(version "0.082841")
|
2015-03-13 14:31:23 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
|
|
|
|
|
"DBIx-Class-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-04-30 14:32:25 -04:00
|
|
|
|
"1gf3hgv8f9rnr8bl4ljgsqk4aliphmvljhsk4282kvdc4mcgh1fp"))))
|
2015-03-13 14:31:23 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-dbd-sqlite" ,perl-dbd-sqlite)
|
|
|
|
|
("perl-file-temp" ,perl-file-temp)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 16:18:58 -04:00
|
|
|
|
("perl-module-install" ,perl-module-install)
|
2015-03-13 14:31:23 -04:00
|
|
|
|
("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)))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/DBIx-Class")
|
2015-03-13 14:31:23 -04:00
|
|
|
|
(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 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-03-16 23:11:26 -04:00
|
|
|
|
|
2015-03-18 10:53:56 -04:00
|
|
|
|
(define-public perl-dbix-class-cursor-cached
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class-cursor-cached")
|
2016-11-29 15:27:16 -05:00
|
|
|
|
(version "1.001004")
|
2015-03-18 10:53:56 -04: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 15:27:16 -05:00
|
|
|
|
"09b2jahn2x12qm4f7qm1jzsxbz7qn1czp6a3fnl5l2i3l4r5421p"))))
|
2015-03-18 10:53:56 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-cache-cache" ,perl-cache-cache)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 16:18:58 -04:00
|
|
|
|
("perl-dbd-sqlite" ,perl-dbd-sqlite)
|
|
|
|
|
("perl-module-install" ,perl-module-install)))
|
2015-03-18 10:53:56 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-carp-clan" ,perl-carp-clan)
|
|
|
|
|
("perl-dbix-class" ,perl-dbix-class)))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/DBIx-Class-Cursor-Cached")
|
2015-03-18 10:53:56 -04:00
|
|
|
|
(synopsis "Cursor with built-in caching support")
|
|
|
|
|
(description "DBIx::Class::Cursor::Cached provides a cursor class with
|
|
|
|
|
built-in caching support.")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-03-18 10:53:56 -04:00
|
|
|
|
|
2015-03-16 23:11:26 -04:00
|
|
|
|
(define-public perl-dbix-class-introspectablem2m
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class-introspectablem2m")
|
2016-11-29 15:29:55 -05:00
|
|
|
|
(version "0.001002")
|
2015-03-16 23:11:26 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-12-12 15:15:16 -05:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
|
2015-03-16 23:11:26 -04:00
|
|
|
|
"DBIx-Class-IntrospectableM2M-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-29 15:29:55 -05:00
|
|
|
|
"1w47rh2241iy5x3a9bqsyd5kdp9sk43dksr99frzv4qn4jsazfn6"))))
|
2015-03-16 23:11:26 -04:00
|
|
|
|
(build-system perl-build-system)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 16:18:58 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-module-install" ,perl-module-install)))
|
2015-03-16 23:11:26 -04:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-dbix-class" ,perl-dbix-class)))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/DBIx-Class-IntrospectableM2M")
|
2015-03-16 23:11:26 -04:00
|
|
|
|
(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 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 14:00:07 -04:00
|
|
|
|
|
|
|
|
|
(define-public perl-dbix-class-schema-loader
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class-schema-loader")
|
2018-04-30 14:36:47 -04:00
|
|
|
|
(version "0.07049")
|
2015-03-17 14:00:07 -04: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
|
2018-04-30 14:36:47 -04:00
|
|
|
|
"0r57fv71ypxafb85cpxph1hdqii7ipjwvc19yb6fpkvq2ggcssg8"))))
|
2015-03-17 14:00:07 -04: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)
|
gnu: perl: Add more missing dependencies on Module::Install.
* gnu/packages/databases.scm (perl-dbix-class, perl-dbix-class-cursor-cached,
perl-dbix-class-introspectablem2m,
perl-dbix-class-schema-loader)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/web.scm (perl-catalyst-action-renderview,
perl-catalyst-action-rest, perl-catalyst-authentication-store-dbix-class,
perl-catalyst-component-instancepercontext, perl-catalyst-model-dbic-schema,
perl-catalyst-plugin-authentication,
perl-catalyst-plugin-authorization-roles, perl-catalyst-plugin-configloader,
perl-catalyst-plugin-session, perl-catalyst-plugin-session-state-cookie,
perl-catalyst-plugin-stacktrace, perl-catalyst-plugin-static-simple,
perl-catalyst-traitfor-request-proxybase, perl-catalyst-view-download,
perl-catalyst-view-json, perl-catalystx-script-server-starman,
perl-test-www-mechanize, perl-test-www-mechanize-catalyst)[native-inputs]:
Likewise.
* gnu/packages/xorg.scm (perl-x11-xcb)[native-inputs]: Likewise.
2017-08-25 16:18:58 -04:00
|
|
|
|
("perl-module-install" ,perl-module-install)
|
2015-03-17 14:00:07 -04:00
|
|
|
|
("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
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/DBIx-Class-Schema-Loader")
|
2015-03-17 14:00:07 -04:00
|
|
|
|
(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 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2014-09-27 18:41:39 -04:00
|
|
|
|
|
2015-04-06 12:25:23 -04:00
|
|
|
|
(define-public perl-dbd-pg
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbd-pg")
|
2018-02-15 21:30:48 -05:00
|
|
|
|
(version "3.7.4")
|
2015-04-06 12:25:23 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/T/TU/TURNSTEP/"
|
|
|
|
|
"DBD-Pg-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-02-15 21:30:48 -05:00
|
|
|
|
"0gkqlvbmzbdm0g4k328nlkjdg3wrjm5i2n9jxj1i8sqxkm79rylz"))))
|
2015-04-06 12:25:23 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-dbi" ,perl-dbi)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-dbi" ,perl-dbi)
|
|
|
|
|
("postgresql" ,postgresql)))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/DBD-Pg")
|
2015-04-06 12:25:23 -04:00
|
|
|
|
(synopsis "DBI PostgreSQL interface")
|
2016-07-29 04:22:31 -04:00
|
|
|
|
(description "This package provides a PostgreSQL driver for the Perl5
|
|
|
|
|
@dfn{Database Interface} (DBI).")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-04-06 12:25:23 -04:00
|
|
|
|
|
2015-11-12 10:04:49 -05:00
|
|
|
|
(define-public perl-dbd-mysql
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbd-mysql")
|
2019-03-11 15:54:34 -04:00
|
|
|
|
(version "4.050")
|
2015-11-12 10:04:49 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-03-11 15:54:34 -04:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DV/DVEEDEN/"
|
2015-11-12 10:04:49 -05:00
|
|
|
|
"DBD-mysql-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-11 15:54:34 -04:00
|
|
|
|
(base32 "0y4djb048i09dk19av7mzfb3khr72vw11p3ayw2p82jsy4gm8j2g"))))
|
2015-11-12 10:04:49 -05:00
|
|
|
|
(build-system perl-build-system)
|
2018-09-11 12:31:55 -04:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'skip-library-detection
|
|
|
|
|
;; Avoid depencies on perl-devel-checklib, openssl, and zlib. They
|
|
|
|
|
;; are really only needed for the test suite; their absence does not
|
|
|
|
|
;; affect the build or the end result.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile.PL"
|
|
|
|
|
(("use Devel::CheckLib;" match)
|
|
|
|
|
(string-append "# " match))
|
|
|
|
|
(("assert_lib")
|
|
|
|
|
"print"))
|
|
|
|
|
#t)))
|
|
|
|
|
;; Tests require running MySQL server.
|
|
|
|
|
#:tests? #f))
|
2015-11-12 10:04:49 -05:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-dbi" ,perl-dbi)
|
|
|
|
|
("mysql" ,mysql)))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/DBD-mysql")
|
2015-11-12 10:04:49 -05:00
|
|
|
|
(synopsis "DBI MySQL interface")
|
|
|
|
|
(description "This package provides a MySQL driver for the Perl5
|
|
|
|
|
@dfn{Database Interface} (DBI).")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-11-12 10:04:49 -05:00
|
|
|
|
|
2014-09-27 18:41:39 -04:00
|
|
|
|
(define-public perl-dbd-sqlite
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbd-sqlite")
|
2019-03-11 16:03:09 -04:00
|
|
|
|
(version "1.62")
|
2014-09-27 18:41:39 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/I/IS/ISHIGAKI/DBD-SQLite-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-11 16:03:09 -04:00
|
|
|
|
"0p78ri1q6xpc1i98i6mlriv8n66iz8r5r11dlsknjm4y58rfz0mx"))))
|
2014-09-27 18:41:39 -04: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 10:57:52 -04:00
|
|
|
|
(license license:perl-license)
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/DBD-SQLite")))
|
2014-10-12 03:02:33 -04:00
|
|
|
|
|
2019-03-24 14:11:40 -04:00
|
|
|
|
(define-public perl-mysql-config
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-mysql-config")
|
|
|
|
|
(version "1.04")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/D/DA/DARREN/MySQL-Config-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1svn7ccw2gc4cazvc58j84rxhnc9vs01zpird0l8460598j475qr"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(home-page "https://metacpan.org/release/MySQL-Config")
|
|
|
|
|
(synopsis "Parse and utilize MySQL's /etc/my.cnf and ~/.my.cnf files")
|
|
|
|
|
(description
|
|
|
|
|
"@code{MySQL::Config} emulates the @code{load_defaults} function from
|
|
|
|
|
libmysqlclient. It will fill an aray with long options, ready to be parsed by
|
|
|
|
|
@code{Getopt::Long}.")
|
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2015-03-13 13:10:02 -04:00
|
|
|
|
(define-public perl-sql-abstract
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-sql-abstract")
|
2019-03-11 15:46:24 -04:00
|
|
|
|
(version "1.86")
|
2015-03-13 13:10:02 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-12-10 04:35:08 -05:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
|
2015-03-13 13:10:02 -04:00
|
|
|
|
"SQL-Abstract-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-11 15:46:24 -04:00
|
|
|
|
(base32 "1pwcm8hwxcgidyyrak37lx69d85q728jxsb0b14jz93gbvdgg9z7"))))
|
2015-03-13 13:10:02 -04:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
gnu: perl: Add missing dependencies on Module::Install.
Perl 5.26 and later does not provide this module.
* gnu/packages/databases.scm (perl-sql-abstract)[native-inputs]: Add PERL-MODULE-INSTALL.
* gnu/packages/perl.scm (perl-moosex-emulate-class-accessor-fast,
perl-file-zglob, perl-object-signature, perl-test-utf8, perl-time-duration,
perl-benchmark-timer, perl-class-accessor-grouped,
perl-class-c3-componentised, perl-term-encoding)[native-inputs]: Likewise.
* gnu/packages/web.scm (perl-http-parser-xs, perl-uri-template,
perl-www-curl)[native-inputs]: Likewise.
* gnu/packages/xml.scm (perl-xml-atom)[native-inputs]: Likewise.
2017-07-30 08:14:52 -04:00
|
|
|
|
`(("perl-module-install" ,perl-module-install)
|
|
|
|
|
("perl-test-deep" ,perl-test-deep)
|
2015-03-13 13:10:02 -04:00
|
|
|
|
("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)))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/SQL-Abstract")
|
2015-03-13 13:10:02 -04:00
|
|
|
|
(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 08:16:07 -04:00
|
|
|
|
time your data changes.")
|
2017-05-02 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2014-10-12 03:02:33 -04:00
|
|
|
|
|
2015-04-07 18:17:13 -04: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)))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/SQL-SplitStatement")
|
2015-04-07 18:17:13 -04:00
|
|
|
|
(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 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-04-07 18:17:13 -04:00
|
|
|
|
|
2015-04-07 18:16:16 -04: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)
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/SQL-Tokenizer")
|
2015-04-07 18:16:16 -04:00
|
|
|
|
(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 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2015-04-07 18:16:16 -04:00
|
|
|
|
|
2014-10-12 03:02:33 -04:00
|
|
|
|
(define-public unixodbc
|
|
|
|
|
(package
|
|
|
|
|
(name "unixodbc")
|
2018-08-19 15:21:16 -04:00
|
|
|
|
(version "2.3.7")
|
2014-10-12 03:02:33 -04: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 08:16:07 -04:00
|
|
|
|
(uri
|
2014-10-12 03:02:33 -04:00
|
|
|
|
(string-append
|
2016-05-13 01:56:00 -04:00
|
|
|
|
"ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-"
|
|
|
|
|
version ".tar.gz"))
|
2014-10-12 03:02:33 -04:00
|
|
|
|
(sha256
|
2018-08-19 15:21:16 -04:00
|
|
|
|
(base32 "0xry3sg497wly8f7715a7gwkn2k36bcap0mvzjw74jj53yx6kwa5"))))
|
2014-10-12 03:02:33 -04: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 14:17:36 -05:00
|
|
|
|
(license license:lgpl2.1+)
|
2014-10-12 03:02:33 -04:00
|
|
|
|
;; COPYING contains copy of lgpl2.1 - but copyright notices just say "LGPL"
|
|
|
|
|
(home-page "http://www.unixodbc.org")))
|
2015-03-27 17:15:02 -04: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 03:40:05 -04: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 14:17:36 -05:00
|
|
|
|
(license license:bsd-2)))
|
2015-06-05 20:09:10 -04:00
|
|
|
|
|
|
|
|
|
(define-public redis
|
|
|
|
|
(package
|
|
|
|
|
(name "redis")
|
2018-06-19 09:54:49 -04:00
|
|
|
|
(version "4.0.10")
|
2015-06-05 20:09:10 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://download.redis.io/releases/redis-"
|
|
|
|
|
version".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-19 09:54:49 -04:00
|
|
|
|
"194cydhv3hf4v95ifvjvsqrs4jn3ffrkg5lvxj5d3y04lwsp9dhx"))))
|
2015-06-05 20:09:10 -04: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 10:54:28 -04:00
|
|
|
|
"LDFLAGS=-ldl"
|
2015-06-05 20:09:10 -04: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 14:17:36 -05:00
|
|
|
|
(license license:bsd-3)))
|
2016-02-24 16:12:42 -05:00
|
|
|
|
|
|
|
|
|
(define-public kyotocabinet
|
|
|
|
|
(package
|
|
|
|
|
(name "kyotocabinet")
|
2019-02-12 07:28:21 -05:00
|
|
|
|
(version "1.2.77")
|
2016-02-24 16:12:42 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://fallabs.com/kyotocabinet/pkg/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-12 07:28:21 -05:00
|
|
|
|
"1rlx4307adbzd842b4npq6cwlw8h010ingxaz3qz1ijc70lr72an"))))
|
2016-02-24 16:12:42 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
2017-06-17 09:05:03 -04:00
|
|
|
|
"--disable-opt" ;"-march=native". XXX this also turns off -O0.
|
2016-02-24 16:12:42 -05:00
|
|
|
|
(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 14:17:36 -05:00
|
|
|
|
(license license:gpl3+)))
|
2016-05-14 22:20:05 -04:00
|
|
|
|
|
2017-02-14 14:21:27 -05: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-14 22:20:05 -04:00
|
|
|
|
(define-public wiredtiger
|
|
|
|
|
(package
|
|
|
|
|
(name "wiredtiger")
|
2017-01-24 13:35:58 -05:00
|
|
|
|
(version "2.9.1")
|
2016-05-14 22:20:05 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://source.wiredtiger.com/releases/wiredtiger-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-24 13:35:58 -05:00
|
|
|
|
"0krwnb2zfbhvjaskwl875qzd3y626s84zcciq2mxr5c5riw3yh6s"))))
|
2016-05-14 22:20:05 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-12-27 05:18:17 -05:00
|
|
|
|
'(#:configure-flags '("--enable-lz4" "--with-builtins=snappy,zlib")
|
2016-05-14 22:20:05 -04:00
|
|
|
|
#: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)
|
2017-12-22 14:23:53 -05:00
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("snappy" ,snappy)))
|
2016-05-14 22:20:05 -04:00
|
|
|
|
(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 14:17:36 -05:00
|
|
|
|
(license license:gpl3) ; or GPL-2
|
2016-05-14 22:20:05 -04:00
|
|
|
|
;; configure.ac: WiredTiger requires a 64-bit build.
|
2017-04-24 04:34:00 -04:00
|
|
|
|
(supported-systems '("x86_64-linux" "mips64el-linux" "aarch64-linux"))))
|
2016-07-26 15:05:20 -04:00
|
|
|
|
|
2018-10-15 14:54:45 -04:00
|
|
|
|
(define-public wiredtiger-3
|
|
|
|
|
(package
|
|
|
|
|
(inherit wiredtiger)
|
|
|
|
|
(name "wiredtiger")
|
|
|
|
|
(version "3.1.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://source.wiredtiger.com/releases/wiredtiger-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"014awypv579ascg4jbx4pndj2wld337m79yyzrzyr7hxrff139jx"))))))
|
|
|
|
|
|
2017-11-14 11:25:18 -05:00
|
|
|
|
(define-public guile-wiredtiger
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-wiredtiger")
|
2018-10-16 14:45:28 -04:00
|
|
|
|
(version "0.7.0")
|
2017-11-14 11:25:18 -05:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://framagit.org/a-guile-mind/guile-wiredtiger.git")
|
2018-10-16 14:45:28 -04:00
|
|
|
|
(commit "340ad4bc2ff4dcc6216a2f5c6f9172ca320ac66b")))
|
2017-11-14 11:25:18 -05:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-10-16 14:45:28 -04:00
|
|
|
|
"15j36bvxxzil7qpwlmh1rffqpva3ynvrcpqhhqbj2c9208ayz595"))))
|
2017-11-14 11:25:18 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-01-03 14:43:52 -05:00
|
|
|
|
'(#:parallel-tests? #f ;; tests can't be run in parallel, yet.
|
2017-11-14 11:25:18 -05:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list (string-append "--with-libwiredtiger-prefix="
|
|
|
|
|
(assoc-ref %build-inputs "wiredtiger")))
|
2018-03-11 16:46:30 -04:00
|
|
|
|
#:make-flags '("GUILE_AUTO_COMPILE=0")))
|
2017-11-14 11:25:18 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2018-10-16 14:45:28 -04:00
|
|
|
|
`(("wiredtiger" ,wiredtiger-3)
|
2017-11-14 11:25:18 -05:00
|
|
|
|
("guile" ,guile-2.2)))
|
|
|
|
|
(propagated-inputs
|
2018-10-16 14:45:28 -04:00
|
|
|
|
`(("guile-bytestructures" ,guile-bytestructures)))
|
2018-01-03 14:43:52 -05:00
|
|
|
|
(synopsis "WiredTiger bindings for GNU Guile")
|
2017-11-14 11:25:18 -05:00
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to the WiredTiger ``NoSQL''
|
2018-10-16 14:45:28 -04:00
|
|
|
|
database.")
|
2017-11-14 11:25:18 -05:00
|
|
|
|
(home-page "https://framagit.org/a-guile-mind/guile-wiredtiger")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2016-07-26 15:05:20 -04:00
|
|
|
|
(define-public perl-db-file
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-db-file")
|
2019-02-18 15:57:44 -05:00
|
|
|
|
(version "1.843")
|
2016-07-26 15:05:20 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/P/PM/PMQS/DB_File-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-18 15:57:44 -05:00
|
|
|
|
"0sildz1i3fmh949w1scpjsyjx0cbmfw0yna3y70mc6vbwp8y696y"))))
|
2016-07-26 15:05:20 -04: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)))))
|
2018-08-11 09:53:20 -04:00
|
|
|
|
(home-page "https://metacpan.org/release/DB_File")
|
2016-07-26 15:05:20 -04:00
|
|
|
|
(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 10:57:52 -04:00
|
|
|
|
(license license:perl-license)))
|
2016-08-14 16:25:15 -04:00
|
|
|
|
|
|
|
|
|
(define-public lmdb
|
|
|
|
|
(package
|
|
|
|
|
(name "lmdb")
|
2019-02-27 06:52:20 -05:00
|
|
|
|
(version "0.9.23")
|
2019-02-12 12:07:01 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/LMDB/lmdb.git")
|
|
|
|
|
(commit (string-append "LMDB_" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-02-27 06:52:20 -05:00
|
|
|
|
(base32 "0ag7l5180ajvm73y59m7sn3p52xm8m972d08cshxhpwgwa4v35k6"))))
|
2016-08-14 16:25:15 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "test"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2019-02-12 12:07:01 -05:00
|
|
|
|
(chdir "libraries/liblmdb")
|
2016-08-14 16:25:15 -04:00
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/local") (assoc-ref outputs "out")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://symas.com/products/lightning-memory-mapped-database")
|
2017-06-14 12:00:07 -04:00
|
|
|
|
(synopsis "Lightning Memory-Mapped Database library")
|
|
|
|
|
(description
|
|
|
|
|
"The @dfn{Lightning Memory-Mapped Database} (LMDB) is a high-performance
|
|
|
|
|
transactional database. Unlike more complex relational databases, LMDB handles
|
|
|
|
|
only key-value pairs (stored as arbitrary byte arrays) and relies on the
|
|
|
|
|
underlying operating system for caching and locking, keeping the code small and
|
|
|
|
|
simple.
|
|
|
|
|
The use of ‘zero-copy’ memory-mapped files combines the persistence of classic
|
|
|
|
|
disk-based databases with high read performance that scales linearly over
|
|
|
|
|
multiple cores. The size of each database is limited only by the size of the
|
|
|
|
|
virtual address space — not physical RAM.")
|
2016-08-14 16:25:15 -04:00
|
|
|
|
(license license:openldap2.8)))
|
2016-09-13 14:07:13 -04: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 03:10:30 -04: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 14:07:13 -04: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 14:22:39 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-peewee
|
|
|
|
|
(package
|
|
|
|
|
(name "python-peewee")
|
2017-10-22 09:57:02 -04:00
|
|
|
|
(version "2.10.2")
|
2016-09-11 14:22:39 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "peewee" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-10-22 09:57:02 -04:00
|
|
|
|
"10f2mrd5hw6rjklrzaix2lsxlgc8vx3xak54arcy6yd791zhchi3"))))
|
2016-09-11 14:22:39 -04:00
|
|
|
|
(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-21 23:58:28 -04:00
|
|
|
|
|
|
|
|
|
(define-public sqlcipher
|
|
|
|
|
(package
|
|
|
|
|
(name "sqlcipher")
|
2018-11-24 01:12:14 -05:00
|
|
|
|
(version "3.4.2")
|
2016-09-21 23:58:28 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/sqlcipher/" name
|
|
|
|
|
"/archive/v" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2018-11-24 01:12:14 -05:00
|
|
|
|
(base32 "1nxarwbci8jx99f1d0y1ivxcv25s78l1p7q6qy28lkpkcx8pm2b9"))
|
2016-09-21 23:58:28 -04:00
|
|
|
|
(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 _
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(invoke "./testfixture" "test/crypto.test"))))))
|
2016-09-21 23:58:28 -04:00
|
|
|
|
(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 13:27:06 -05:00
|
|
|
|
|
|
|
|
|
(define-public python-pyodbc-c
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyodbc-c")
|
2017-02-10 12:13:09 -05:00
|
|
|
|
(version "3.1.4")
|
2017-01-26 13:27:06 -05: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 12:13:09 -05:00
|
|
|
|
"05aq2297k779xidmxcwkrrxjvj1bh2q7d9a1rcjv6zr15y764ga9"))
|
2017-01-26 13:27:06 -05: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 12:36:31 -04:00
|
|
|
|
|
2017-11-19 02:47:44 -05:00
|
|
|
|
(define-public python-pyodbc
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyodbc")
|
2019-04-22 08:25:14 -04:00
|
|
|
|
(version "4.0.26")
|
2017-11-19 02:47:44 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pyodbc" version))
|
|
|
|
|
(sha256
|
2019-04-22 08:25:14 -04:00
|
|
|
|
(base32 "1qrxnf7ji5hml7z4y669k4wmk3iz2pcsr05bnn1n912asash09z5"))
|
2017-11-19 02:47:44 -05: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} provides a Python DB-API driver
|
|
|
|
|
for ODBC.")
|
|
|
|
|
(license (license:x11-style "file:///LICENSE.TXT"))))
|
|
|
|
|
|
|
|
|
|
(define-public python2-pyodbc
|
|
|
|
|
(package-with-python2 python-pyodbc))
|
|
|
|
|
|
2017-04-26 12:36:31 -04:00
|
|
|
|
(define-public mdbtools
|
|
|
|
|
(package
|
|
|
|
|
(name "mdbtools")
|
|
|
|
|
(version "0.7.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-11-11 04:09:54 -05:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/brianb/mdbtools.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-04-26 12:36:31 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-11 04:09:54 -05:00
|
|
|
|
"0gwcpp9y09xhs21g7my2fs8ncb8i6ahlyixcx8jd3q97jbzj441l"))))
|
2017-04-26 12:36:31 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("txt2man" ,txt2man)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(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+))))
|
2017-06-15 04:21:57 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-lmdb
|
|
|
|
|
(package
|
|
|
|
|
(name "python-lmdb")
|
2018-06-05 23:05:39 -04:00
|
|
|
|
(version "0.94")
|
2017-06-15 04:21:57 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "lmdb" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-05 23:05:39 -04:00
|
|
|
|
"1zh38gvkqw1jm5105if6rr7ccbgyxr7k2rm5ygb9ab3bq82pyaww"))
|
2017-06-15 04:21:57 -04:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Delete bundled lmdb source files.
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 07:47:34 -04:00
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file (list "lib/lmdb.h"
|
|
|
|
|
"lib/mdb.c"
|
|
|
|
|
"lib/midl.c"
|
|
|
|
|
"lib/midl.h"))
|
|
|
|
|
#t))))
|
2017-06-15 04:21:57 -04:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lmdb" ,lmdb)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'use-system-lmdb
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((lmdb (assoc-ref inputs "lmdb")))
|
|
|
|
|
(setenv "LMDB_FORCE_SYSTEM" "set")
|
|
|
|
|
(setenv "LMDB_INCLUDEDIR" (string-append lmdb "/include"))
|
|
|
|
|
(setenv "LMDB_LIBDIR" (string-append lmdb "/lib"))
|
|
|
|
|
#t))))
|
|
|
|
|
;; Tests fail with: ‘lmdb.tool: Please specify environment (--env)’.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/dw/py-lmdb")
|
|
|
|
|
(synopsis "Python binding for the ‘Lightning’ database (LMDB)")
|
|
|
|
|
(description
|
|
|
|
|
"python-lmdb or py-lmdb is a Python binding for the @dfn{Lightning
|
|
|
|
|
Memory-Mapped Database} (LMDB), a high-performance key-value store.")
|
|
|
|
|
(license
|
|
|
|
|
(list license:openldap2.8
|
|
|
|
|
;; ‘lib/win32/inttypes.h’ and ‘lib/win32-stdint/stdint.h’ are BSD-3,
|
|
|
|
|
;; but not actually needed on platforms currently supported by Guix.
|
|
|
|
|
license:bsd-3))))
|
|
|
|
|
|
|
|
|
|
(define-public python2-lmdb
|
|
|
|
|
(package-with-python2 python-lmdb))
|
2017-08-04 22:10:00 -04:00
|
|
|
|
|
|
|
|
|
(define-public python-orator
|
|
|
|
|
(package
|
|
|
|
|
(name "python-orator")
|
|
|
|
|
(version "0.9.7")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "orator" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"14r58z64fdp76ixnvmi4lni762b405ynmsx6chr1qihs3yl9zn6c"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'loosen-dependencies
|
|
|
|
|
;; Tests are not actually run since they are not included with the
|
|
|
|
|
;; distributed package, but dependencies are checked.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
((",<.*'") "'")
|
|
|
|
|
(("flexmock==0.9.7") "flexmock")
|
|
|
|
|
;; The pytest-mock package is out of date, so we remove minimum
|
|
|
|
|
;; version requirement.
|
|
|
|
|
(("pytest-mock.*'") "pytest-mock'"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pytest-mock" ,python-pytest-mock)
|
gnu: Remove python-pytest@2.
* gnu/packages/python.scm (python-pytest): Update to 3.0.7.
[source]: Move substitution to ...
[arguments]: ... here. Incorporate phase from pytest-3.0.
[native-inputs]: Add PYTHON-HYPOTHESIS.
(python-pytest-3.0): Remove variable.
(python2-pytest-3.0): Rename to ...
(python2-pytest): ... this.
[native-inputs]: Add PYTHON2-ENUM34.
* gnu/packages/backup.scm (borg)[native-inputs]: Replace PYTHON-PYTEST-3.0
with PYTHON-PYTEST.
* gnu/packages/calendar.scm (khal): Likewise.
* gnu/packages/databases.scm (python-orator): Likewise.
* gnu/packages/python.scm (python-sphinx-1.6, python-sphinx-1.5.3,
python-pexpect, python-cryptography, python-pyopenssl, python-pytest-warnings,
python-pytest-capturelog, python-pytest-catchlog, python-marshmallow,
python-apispec, python-flasgger, python-pyjwt, python-grako,
python-honcho): Likewise.
* gnu/packages/web.scm (python-internetarchive): Likewise.
2017-07-30 13:25:26 -04:00
|
|
|
|
("python-pytest" ,python-pytest)
|
2017-08-04 22:10:00 -04:00
|
|
|
|
("python-flexmock" ,python-flexmock)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-backpack" ,python-backpack)
|
|
|
|
|
("python-blinker" ,python-blinker)
|
|
|
|
|
("python-cleo" ,python-cleo)
|
|
|
|
|
("python-faker" ,python-faker)
|
|
|
|
|
("python-inflection" ,python-inflection)
|
|
|
|
|
("python-lazy-object-proxy" ,python-lazy-object-proxy)
|
|
|
|
|
("python-pendulum" ,python-pendulum)
|
|
|
|
|
("python-pyaml" ,python-pyaml)
|
|
|
|
|
("python-pygments" ,python-pygments)
|
|
|
|
|
("python-simplejson" ,python-simplejson)
|
|
|
|
|
("python-six" ,python-six)
|
|
|
|
|
("python-wrapt" ,python-wrapt)))
|
|
|
|
|
(home-page "https://orator-orm.com/")
|
|
|
|
|
(synopsis "ActiveRecord ORM for Python")
|
|
|
|
|
(description
|
|
|
|
|
"Orator provides a simple ActiveRecord-like Object Relational Mapping
|
|
|
|
|
implementation for Python.")
|
|
|
|
|
(license license:expat)
|
|
|
|
|
(properties `((python2-variant . ,(delay python2-orator))))))
|
|
|
|
|
|
|
|
|
|
(define-public python2-orator
|
|
|
|
|
(package-with-python2 (strip-python2-variant python-orator)))
|
2017-09-29 06:53:14 -04:00
|
|
|
|
|
|
|
|
|
(define-public virtuoso-ose
|
|
|
|
|
(package
|
|
|
|
|
(name "virtuoso-ose")
|
2018-08-20 10:13:45 -04:00
|
|
|
|
(version "7.2.5")
|
2017-09-29 06:53:14 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/openlink/virtuoso-opensource/releases/"
|
|
|
|
|
"download/v" version "/virtuoso-opensource-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2018-08-20 10:13:45 -04:00
|
|
|
|
(base32 "0r1xakclkfi69pzh8z2k16z3x0m49pxp764icj0ad4w4bb97fr42"))))
|
2017-09-29 06:53:14 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-04-03 07:07:21 -04:00
|
|
|
|
`(#:tests? #f ; Tests require a network connection.
|
|
|
|
|
;; TODO: Removing the libsrc/zlib source directory breaks the build.
|
|
|
|
|
;; This indicates that the internal zlib code may still be used.
|
|
|
|
|
#:configure-flags '("--without-internal-zlib"
|
|
|
|
|
"--with-readline")))
|
2017-09-29 06:53:14 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("openssl" ,openssl)
|
2018-04-03 07:07:21 -04:00
|
|
|
|
("net-tools" ,net-tools)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("zlib" ,zlib)))
|
2017-09-29 06:53:14 -04:00
|
|
|
|
(home-page "http://vos.openlinksw.com/owiki/wiki/VOS/")
|
|
|
|
|
(synopsis "Multi-model database system")
|
|
|
|
|
(description "Virtuoso is a scalable cross-platform server that combines
|
|
|
|
|
relational, graph, and document data management with web application server
|
|
|
|
|
and web services platform functionality.")
|
2017-10-04 03:49:26 -04:00
|
|
|
|
;; configure: error: ... can only be build on 64bit platforms
|
|
|
|
|
(supported-systems '("x86_64-linux" "mips64el-linux" "aarch64-linux"))
|
2017-09-29 06:53:14 -04:00
|
|
|
|
(license license:gpl2)))
|
2017-11-06 16:02:57 -05:00
|
|
|
|
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(define-public python-ccm
|
|
|
|
|
(package
|
|
|
|
|
(name "python-ccm")
|
|
|
|
|
(version "2.1.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "ccm" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"177dfxsmk3k4cih6fh6v8d91bh4nqx7ns6pc07w7m7i3cvdx3c8n"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-pyyaml" ,python-pyyaml)
|
|
|
|
|
;; Not listed in setup.py, but used in ccmlib/node.py for full
|
|
|
|
|
;; functionality
|
|
|
|
|
("python-psutil" ,python-psutil)
|
|
|
|
|
("python-six" ,python-six)))
|
|
|
|
|
(home-page "https://github.com/pcmanus/ccm")
|
|
|
|
|
(synopsis "Cassandra Cluster Manager for Apache Cassandra clusters on
|
|
|
|
|
localhost")
|
|
|
|
|
(description "Cassandra Cluster Manager is a development tool for testing
|
|
|
|
|
local Cassandra clusters. It creates, launches and removes Cassandra clusters
|
|
|
|
|
on localhost.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-ccm
|
|
|
|
|
(package-with-python2 python-ccm))
|
|
|
|
|
|
|
|
|
|
(define-public python2-pysqlite
|
|
|
|
|
(package
|
|
|
|
|
(name "python2-pysqlite")
|
|
|
|
|
(version "2.8.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pysqlite" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1424gwq9sil2ffmnizk60q36vydkv8rxs6m7xs987kz8cdc37lqp"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sqlite" ,sqlite)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:python ,python-2 ; incompatible with Python 3
|
|
|
|
|
#:tests? #f)) ; no test target
|
|
|
|
|
(home-page "https://github.com/ghaering/pysqlite")
|
|
|
|
|
(synopsis "SQLite bindings for Python")
|
|
|
|
|
(description
|
|
|
|
|
"Pysqlite provides SQLite bindings for Python that comply to the
|
|
|
|
|
Database API 2.0T.")
|
|
|
|
|
(license license:zlib)))
|
|
|
|
|
|
|
|
|
|
(define-public python-sqlalchemy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlalchemy")
|
2019-04-22 08:55:58 -04:00
|
|
|
|
(version "1.3.3")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-01-25 17:18:55 -05:00
|
|
|
|
(uri (pypi-uri "SQLAlchemy" version))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(sha256
|
2019-04-22 08:55:58 -04:00
|
|
|
|
(base32 "06c3lcv7nijsgqsjaaa4djrwlzgh9f910zlqxkmgq22h6jl4rici"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2019-03-11 17:01:37 -04:00
|
|
|
|
`(("python-cython" ,python-cython) ; for C extensions
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
("python-pytest" ,python-pytest)
|
2019-03-11 17:01:37 -04:00
|
|
|
|
("python-mock" ,python-mock))) ; for tests
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
2018-08-21 01:11:00 -04:00
|
|
|
|
(lambda _ (invoke "py.test"))))))
|
2019-03-11 17:02:38 -04:00
|
|
|
|
(home-page "https://www.sqlalchemy.org")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(synopsis "Database abstraction library")
|
|
|
|
|
(description
|
|
|
|
|
"SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that
|
|
|
|
|
gives application developers the full power and flexibility of SQL. It
|
|
|
|
|
provides a full suite of well known enterprise-level persistence patterns,
|
|
|
|
|
designed for efficient and high-performing database access, adapted into a
|
|
|
|
|
simple and Pythonic domain language.")
|
|
|
|
|
(license license:x11)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-sqlalchemy
|
|
|
|
|
(package-with-python2 python-sqlalchemy))
|
|
|
|
|
|
|
|
|
|
(define-public python-sqlalchemy-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlalchemy-utils")
|
2017-12-25 01:36:23 -05:00
|
|
|
|
(version "0.32.21")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "SQLAlchemy-Utils" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-25 01:36:23 -05:00
|
|
|
|
"1myn71dn8j74xglyh46f12sh8ywb7j0j732rzwq70kvwwnq32m73"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; FIXME: Many tests require a running database server.
|
|
|
|
|
;; #:phases
|
|
|
|
|
;; (modify-phases %standard-phases
|
|
|
|
|
;; (replace 'check
|
|
|
|
|
;; (lambda _
|
|
|
|
|
;; (zero? (system* "py.test" "sqlalchemy_utils" "tests")))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-six" ,python-six)
|
|
|
|
|
("python-sqlalchemy" ,python-sqlalchemy)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-dateutil" ,python-dateutil)
|
|
|
|
|
("python-flexmock" ,python-flexmock)
|
|
|
|
|
("python-psycopg2" ,python-psycopg2)
|
|
|
|
|
("python-pytest" ,python-pytest)
|
|
|
|
|
("python-pytz" ,python-pytz)))
|
|
|
|
|
(home-page "https://github.com/kvesteri/sqlalchemy-utils")
|
|
|
|
|
(synopsis "Various utility functions for SQLAlchemy")
|
|
|
|
|
(description
|
|
|
|
|
"SQLAlchemy-utils provides various utility functions and custom data types
|
|
|
|
|
for SQLAlchemy. SQLAlchemy is an SQL database abstraction library for Python.
|
|
|
|
|
|
|
|
|
|
You might also want to install the following optional dependencies:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item @code{python-passlib}
|
|
|
|
|
@item @code{python-babel}
|
|
|
|
|
@item @code{python-cryptography}
|
|
|
|
|
@item @code{python-pytz}
|
|
|
|
|
@item @code{python-psycopg2}
|
|
|
|
|
@item @code{python-furl}
|
|
|
|
|
@item @code{python-flask-babel}
|
|
|
|
|
@end enumerate
|
|
|
|
|
")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-sqlalchemy-utils
|
|
|
|
|
(package-with-python2 python-sqlalchemy-utils))
|
|
|
|
|
|
|
|
|
|
(define-public python-alembic
|
|
|
|
|
(package
|
|
|
|
|
(name "python-alembic")
|
2018-11-11 02:36:17 -05:00
|
|
|
|
(version "1.0.2")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "alembic" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-11 02:36:17 -05:00
|
|
|
|
"0asqz9mwc4w8bsar1icv3ik9jslxrj3gv3yxgmhc6nc6r9qbkg04"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-mock" ,python-mock)
|
|
|
|
|
("python-pytest-cov" ,python-pytest-cov)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-dateutil" ,python-dateutil)
|
|
|
|
|
("python-sqlalchemy" ,python-sqlalchemy)
|
|
|
|
|
("python-mako" ,python-mako)
|
|
|
|
|
("python-editor" ,python-editor)))
|
2017-12-25 20:14:13 -05:00
|
|
|
|
(home-page "https://bitbucket.org/zzzeek/alembic")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(synopsis
|
|
|
|
|
"Database migration tool for SQLAlchemy")
|
|
|
|
|
(description
|
|
|
|
|
"Alembic is a lightweight database migration tool for usage with the
|
|
|
|
|
SQLAlchemy Database Toolkit for Python.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-alembic
|
|
|
|
|
(package-with-python2 python-alembic))
|
|
|
|
|
|
|
|
|
|
(define-public python-pickleshare
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pickleshare")
|
2018-10-10 16:44:16 -04:00
|
|
|
|
(version "0.7.5")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-02-25 22:23:46 -05:00
|
|
|
|
(uri (pypi-uri "pickleshare" version))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(sha256
|
2018-10-10 16:44:16 -04:00
|
|
|
|
(base32 "1jmghg3c53yp1i8cm6pcrm280ayi8621rwyav9fac7awjr3kss47"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
2018-02-25 22:40:40 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "pytest"))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pytest" ,python-pytest)))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(home-page "https://github.com/vivainio/pickleshare")
|
|
|
|
|
(synopsis "Tiny key value database with concurrency support")
|
|
|
|
|
(description
|
|
|
|
|
"PickleShare is a small ‘shelve’-like datastore with concurrency support.
|
|
|
|
|
Like shelve, a PickleShareDB object acts like a normal dictionary. Unlike
|
|
|
|
|
shelve, many processes can access the database simultaneously. Changing a
|
|
|
|
|
value in database is immediately visible to other processes accessing the same
|
|
|
|
|
database. Concurrency is possible because the values are stored in separate
|
|
|
|
|
files. Hence the “database” is a directory where all files are governed by
|
|
|
|
|
PickleShare.")
|
2018-02-25 22:23:46 -05:00
|
|
|
|
(properties `((python2-variant . ,(delay python2-pickleshare))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-pickleshare
|
2018-02-25 22:23:46 -05:00
|
|
|
|
(let ((pickleshare (package-with-python2
|
|
|
|
|
(strip-python2-variant python-pickleshare))))
|
|
|
|
|
(package (inherit pickleshare)
|
|
|
|
|
(propagated-inputs `(("python2-pathlib2" ,python2-pathlib2)
|
|
|
|
|
,@(package-propagated-inputs pickleshare))))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
|
|
|
|
|
(define-public python-apsw
|
|
|
|
|
(package
|
|
|
|
|
(name "python-apsw")
|
2017-11-19 09:01:00 -05:00
|
|
|
|
(version "3.20.1-r1")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-11-19 09:01:00 -05:00
|
|
|
|
(uri (string-append "https://github.com/rogerbinns/apsw/archive/"
|
|
|
|
|
version ".tar.gz"))
|
2018-03-04 04:55:37 -05:00
|
|
|
|
(file-name (string-append "apsw-" version ".tar.gz"))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-11-19 09:01:00 -05:00
|
|
|
|
"00ai7m2pqi26qaflhz314d8k5i3syw7xzr145fhfl0crhyh6adz2"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2018-03-04 05:03:27 -05:00
|
|
|
|
`(("sqlite" ,sqlite)))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
2018-03-04 05:03:27 -05:00
|
|
|
|
(invoke "python" "setup.py" "build" "--enable-all-extensions")
|
|
|
|
|
#t))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(add-after 'build 'build-test-helper
|
|
|
|
|
(lambda _
|
2018-03-04 05:03:27 -05:00
|
|
|
|
(invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext"
|
|
|
|
|
"-I." "-Isqlite3" "src/testextension.c")
|
|
|
|
|
#t))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'check
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(add-installed-pythonpath inputs outputs)
|
2018-03-04 05:03:27 -05:00
|
|
|
|
(invoke "python" "setup.py" "test")
|
|
|
|
|
#t)))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(home-page "https://github.com/rogerbinns/apsw/")
|
|
|
|
|
(synopsis "Another Python SQLite Wrapper")
|
|
|
|
|
(description "APSW is a Python wrapper for the SQLite
|
|
|
|
|
embedded relational database engine. In contrast to other wrappers such as
|
|
|
|
|
pysqlite it focuses on being a minimal layer over SQLite attempting just to
|
|
|
|
|
translate the complete SQLite API into Python.")
|
|
|
|
|
(license license:zlib)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-apsw
|
|
|
|
|
(package-with-python2 python-apsw))
|
|
|
|
|
|
|
|
|
|
(define-public python2-neo4j-driver
|
|
|
|
|
(package
|
|
|
|
|
(name "python2-neo4j-driver")
|
|
|
|
|
;; NOTE: When upgrading to 1.5.0, please add a python3 variant.
|
|
|
|
|
(version "1.4.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "neo4j-driver" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"011r1vh182p8mm83d8dz9rfnc3l7rf7fd00cyrbyfzi71jmc4g98"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:python ,python-2))
|
|
|
|
|
(home-page "https://neo4j.com/developer/python/")
|
|
|
|
|
(synopsis "Neo4j driver code written in Python")
|
|
|
|
|
(description "This package provides the Neo4j Python driver that connects
|
|
|
|
|
to the database using Neo4j's binary protocol. It aims to be minimal, while
|
|
|
|
|
being idiomatic to Python.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-py2neo
|
|
|
|
|
(package
|
|
|
|
|
(name "python2-py2neo")
|
|
|
|
|
(version "3.1.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "py2neo" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1f1q95vqcvlc3nsc33p841swnjdcjazddlq2dzi3qfnjqjrajxw1"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:python ,python-2))
|
|
|
|
|
(home-page "http://py2neo.org")
|
|
|
|
|
(synopsis "Library and toolkit for working with Neo4j in Python")
|
|
|
|
|
(description "This package provides a client library and toolkit for
|
|
|
|
|
working with Neo4j from within Python applications and from the command
|
|
|
|
|
line. The core library has no external dependencies and has been carefully
|
|
|
|
|
designed to be easy and intuitive to use.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
|
|
(define-public python-psycopg2
|
|
|
|
|
(package
|
|
|
|
|
(name "python-psycopg2")
|
2019-03-11 16:10:52 -04:00
|
|
|
|
(version "2.7.7")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "psycopg2" version))
|
|
|
|
|
(sha256
|
2019-03-11 16:10:52 -04:00
|
|
|
|
(base32 "0zjbabb4qjx9dm07imhf8y5a9rpa06d5zah80myiimgdi83nslpl"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Tests would require a postgresql database "psycopg2_test"
|
|
|
|
|
;; and a running postgresql database management service.
|
|
|
|
|
`(#:tests? #f)) ; TODO re-enable after providing a test-db.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("postgresql" ,postgresql))) ; libpq
|
|
|
|
|
(home-page "http://initd.org/psycopg/")
|
|
|
|
|
(synopsis "Python PostgreSQL adapter")
|
|
|
|
|
(description
|
2018-07-29 08:38:08 -04:00
|
|
|
|
"psycopg2 is a thread-safe PostgreSQL adapter that implements DB-API
|
|
|
|
|
2.0.")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-psycopg2
|
|
|
|
|
(package-with-python2 python-psycopg2))
|
|
|
|
|
|
|
|
|
|
(define-public python-sadisplay
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sadisplay")
|
2017-12-25 01:36:36 -05:00
|
|
|
|
(version "0.4.8")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "sadisplay" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-12-25 01:36:36 -05:00
|
|
|
|
"01d9lxhmgpb68gy8rd6zj6fcwp84n2qq210n1qsk3qbsir79bzh4"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-sqlalchemy" ,python-sqlalchemy)))
|
|
|
|
|
(native-inputs
|
2017-12-25 01:36:36 -05:00
|
|
|
|
;; For tests.
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
`(("python-nose" ,python-nose)))
|
|
|
|
|
(home-page "https://bitbucket.org/estin/sadisplay")
|
|
|
|
|
(synopsis "SQLAlchemy schema displayer")
|
|
|
|
|
(description "This package provides a program to build Entity
|
|
|
|
|
Relationship diagrams from a SQLAlchemy model (or directly from the
|
|
|
|
|
database).")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-sadisplay
|
|
|
|
|
(package-with-python2 python-sadisplay))
|
|
|
|
|
|
|
|
|
|
(define-public python-mysqlclient
|
|
|
|
|
(package
|
|
|
|
|
(name "python-mysqlclient")
|
2018-08-20 09:21:53 -04:00
|
|
|
|
(version "1.3.13")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "mysqlclient" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-08-20 09:21:53 -04:00
|
|
|
|
"0kv4a1icwdav8jpl7qvnr931lw5h3v22ids6lwq6qpi1hjzf33pz"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("mariadb" ,mariadb)
|
|
|
|
|
("nose" ,python-nose)
|
|
|
|
|
("mock" ,python-mock)
|
|
|
|
|
("py.test" ,python-pytest)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mysql" ,mysql)
|
|
|
|
|
("libz" ,zlib)
|
|
|
|
|
("openssl" ,openssl)))
|
|
|
|
|
(home-page "https://github.com/PyMySQL/mysqlclient-python")
|
|
|
|
|
(synopsis "MySQLdb is an interface to the popular MySQL database server for Python")
|
|
|
|
|
(description "MySQLdb is an interface to the popular MySQL database server
|
|
|
|
|
for Python. The design goals are:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item Compliance with Python database API version 2.0 [PEP-0249],
|
|
|
|
|
@item Thread-safety,
|
|
|
|
|
@item Thread-friendliness (threads will not block each other).
|
|
|
|
|
@end enumerate")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-mysqlclient
|
|
|
|
|
(package-with-python2 python-mysqlclient))
|
|
|
|
|
|
|
|
|
|
(define-public python-hiredis
|
|
|
|
|
(package
|
|
|
|
|
(name "python-hiredis")
|
|
|
|
|
(version "0.2.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "hiredis" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1dfm2k9l9zar9nw9fwmm74zrgraxdxs04vx9li56fjcf289qx5fa"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; no tests
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/redis/hiredis-py")
|
|
|
|
|
(synopsis "Python extension that wraps protocol parsing code in hiredis")
|
|
|
|
|
(description "Python-hiredis is a python extension that wraps protocol
|
|
|
|
|
parsing code in hiredis. It primarily speeds up parsing of multi bulk replies.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-hiredis
|
|
|
|
|
(package-with-python2 python-hiredis))
|
|
|
|
|
|
|
|
|
|
(define-public python-fakeredis
|
|
|
|
|
(package
|
|
|
|
|
(name "python-fakeredis")
|
|
|
|
|
(version "0.8.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "fakeredis" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0zncahj3byyasyfx9i7k991ph0n0lq8v3a21pqri5qxn9564bk9r"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; no tests
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/jamesls/fakeredis")
|
|
|
|
|
(synopsis "Fake implementation of redis API for testing purposes")
|
2018-09-25 04:55:40 -04:00
|
|
|
|
(description
|
|
|
|
|
"Fakeredis is a pure-Python implementation of the redis-py Python client
|
|
|
|
|
that simulates talking to a redis server. It was created for a single purpose:
|
|
|
|
|
to write unit tests.
|
|
|
|
|
|
|
|
|
|
Setting up redis is not hard, but one often wants to write unit tests that don't
|
|
|
|
|
talk to an external server such as redis. This module can be used as a
|
|
|
|
|
reasonable substitute.")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-fakeredis
|
|
|
|
|
(package-with-python2 python-fakeredis))
|
|
|
|
|
|
|
|
|
|
(define-public python-redis
|
|
|
|
|
(package
|
|
|
|
|
(name "python-redis")
|
2019-04-22 09:20:34 -04:00
|
|
|
|
(version "3.2.1")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "redis" version))
|
|
|
|
|
(sha256
|
2019-04-22 09:20:34 -04:00
|
|
|
|
(base32 "0wwj8il4c3aff15xwwcjfci367zxsakq05ps1a2il6yavp91i94c"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
2019-04-22 09:20:34 -04:00
|
|
|
|
;; Tests require a running Redis server.
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(arguments '(#:tests? #f))
|
|
|
|
|
;; As long as we are not running test, we do not need this input :-)
|
|
|
|
|
;;(native-inputs
|
|
|
|
|
;; `(("python-pytest" ,python-pytest)))
|
|
|
|
|
(home-page "https://github.com/andymccurdy/redis-py")
|
|
|
|
|
(synopsis "Redis Python client")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a Python interface to the Redis key-value store.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-redis
|
|
|
|
|
(package-with-python2 python-redis))
|
|
|
|
|
|
|
|
|
|
(define-public python-rq
|
|
|
|
|
(package
|
|
|
|
|
(name "python-rq")
|
2019-03-04 15:07:03 -05:00
|
|
|
|
(version "0.13.0")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "rq" version))
|
|
|
|
|
(sha256
|
2019-03-04 15:07:03 -05:00
|
|
|
|
(base32 "0xvapd2bxnyq480i48bdkddzlqmv2axbsq85rlfy8k3al8zxxxrf"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-click" ,python-click)
|
|
|
|
|
("python-redis" ,python-redis)))
|
|
|
|
|
(home-page "http://python-rq.org/")
|
|
|
|
|
(synopsis "Simple job queues for Python")
|
|
|
|
|
(description
|
|
|
|
|
"RQ (Redis Queue) is a simple Python library for queueing jobs and
|
|
|
|
|
processing them in the background with workers. It is backed by Redis and it
|
|
|
|
|
is designed to have a low barrier to entry.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-rq
|
|
|
|
|
(package-with-python2 python-rq))
|
|
|
|
|
|
|
|
|
|
(define-public python-trollius-redis
|
|
|
|
|
(package
|
|
|
|
|
(name "python-trollius-redis")
|
|
|
|
|
(version "0.1.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "trollius_redis" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0k3vypszmgmaipgw9xscvgm79h2zd6p6ci8gdp5sxl6g5kbqr9fy"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
;; TODO: Tests require packaging 'hiredis'.
|
|
|
|
|
(arguments '(#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/benjolitz/trollius-redis")
|
|
|
|
|
(synopsis "Port of asyncio-redis to trollius")
|
|
|
|
|
(description "@code{trollius-redis} is a Redis client for Python
|
|
|
|
|
trollius. It is an asynchronious IO (PEP 3156) implementation of the
|
|
|
|
|
Redis protocol.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-trollius-redis
|
|
|
|
|
(package-with-python2 python-trollius-redis))
|
|
|
|
|
|
|
|
|
|
(define-public python-sqlparse
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlparse")
|
|
|
|
|
(version "0.2.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "sqlparse" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1v3xh0bkfhb262dbndgzhivpnhdwavdzz8jjhx9vx0xbrx2880nf"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(lambda _ (invoke "py.test"))))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python-pytest" ,python-pytest)))
|
|
|
|
|
(home-page "https://github.com/andialbrecht/sqlparse")
|
|
|
|
|
(synopsis "Non-validating SQL parser")
|
|
|
|
|
(description "Sqlparse is a non-validating SQL parser for Python. It
|
|
|
|
|
provides support for parsing, splitting and formatting SQL statements.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-sqlparse
|
|
|
|
|
(package-with-python2 python-sqlparse))
|
|
|
|
|
|
|
|
|
|
(define-public python-sql
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sql")
|
2019-03-11 16:23:10 -04:00
|
|
|
|
(version "1.0.0")
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "python-sql" version))
|
|
|
|
|
(sha256
|
2019-03-11 16:23:10 -04:00
|
|
|
|
(base32 "05ni936y0ia9xmryl7mlhbj9i80nnvq1bi4zxhb96rv7yvpb3fqb"))))
|
gnu: Move database packages from python.scm to databases.scm.
* gnu/packages/python.scm (python-ccm, python2-ccm, python2-pysqlite,
python-sqlalchemy, python2-sqlalchemy, python-sqlalchemy-utils,
python2-sqlalchemy-utils, python-alembic, python2-alembic,
python-pickleshare, python2-pickleshare, python-apsw, python2-apsw,
python2-neo4j-driver, python2-py2neo, python-psycopg2, python2-psycopg2,
python-sadisplay, python2-sadisplay, python-mysqlclient,
python2-mysqlclient, python-hiredis, python2-hiredis, python-fakeredis,
python2-fakeredis, python-redis, python2-redis, python-rq, python2-rq,
python-trollius-redis, python2-trollius-redis, python-sqlparse,
python2-sqlparse, python-sql, python2-sql): Move from here...
* gnu/packages/databases.scm: ...to here.
* gnu/packages/tryton.scm,
gnu/packages/python-web.scm,
gnu/packages/nutrition.scm,
gnu/packages/medical.scm: Adjust accordingly.
2017-11-17 16:34:32 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(home-page "https://python-sql.tryton.org/")
|
|
|
|
|
(synopsis "Library to write SQL queries in a pythonic way")
|
|
|
|
|
(description "@code{python-sql} is a library to write SQL queries, that
|
|
|
|
|
transforms idiomatic python function calls to well-formed SQL queries.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-sql
|
|
|
|
|
(package-with-python2 python-sql))
|
2018-01-21 06:00:56 -05:00
|
|
|
|
|
|
|
|
|
(define-public mongo-tools
|
|
|
|
|
(package
|
|
|
|
|
(name "mongo-tools")
|
|
|
|
|
(version "3.4.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin (method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/mongodb/mongo-tools")
|
|
|
|
|
(commit (string-append "r" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-01-31 08:45:34 -05:00
|
|
|
|
"1bcsz5cvj39a7nsxsfqmz9igrw33j6yli9kffigqyscs52amw7x1"))))
|
2018-01-21 06:00:56 -05:00
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
2018-01-31 08:45:34 -05:00
|
|
|
|
`(#:import-path "github.com/mongodb/mongo-tools"
|
|
|
|
|
#:modules ((srfi srfi-1)
|
|
|
|
|
(guix build go-build-system)
|
|
|
|
|
(guix build utils))
|
2018-01-06 15:47:47 -05:00
|
|
|
|
#:install-source? #f
|
2018-01-21 06:00:56 -05:00
|
|
|
|
#:phases
|
2018-01-31 08:45:34 -05:00
|
|
|
|
(let ((all-tools
|
|
|
|
|
'("bsondump" "mongodump" "mongoexport" "mongofiles"
|
|
|
|
|
"mongoimport" "mongooplog" "mongorestore"
|
|
|
|
|
"mongostat" "mongotop")))
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'delete-bundled-source-code
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file-recursively
|
|
|
|
|
"src/github.com/mongodb/mongo-tools/vendor")
|
|
|
|
|
#t))
|
2018-12-04 15:22:27 -05:00
|
|
|
|
(add-after 'delete-bundled-source-code 'patch-source
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Remove a redundant argument that causes compilation to fail.
|
|
|
|
|
(substitute*
|
|
|
|
|
"src/github.com/mongodb/mongo-tools/mongorestore/filepath.go"
|
|
|
|
|
(("skipping restore of system.profile collection\", db)")
|
|
|
|
|
"skipping restore of system.profile collection\")"))
|
|
|
|
|
#t))
|
2018-01-31 08:45:34 -05:00
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(for-each (lambda (tool)
|
|
|
|
|
(let ((command
|
|
|
|
|
`("go" "build"
|
|
|
|
|
;; This is where the tests expect to find the
|
|
|
|
|
;; executables
|
|
|
|
|
"-o" ,(string-append
|
|
|
|
|
"src/github.com/mongodb/mongo-tools/bin/"
|
|
|
|
|
tool)
|
|
|
|
|
"-v"
|
|
|
|
|
"-tags=\"ssl sasl\""
|
|
|
|
|
"-ldflags"
|
|
|
|
|
"-extldflags=-Wl,-z,now,-z,relro"
|
|
|
|
|
,(string-append
|
|
|
|
|
"src/github.com/mongodb/mongo-tools/"
|
|
|
|
|
tool "/main/" tool ".go"))))
|
|
|
|
|
(simple-format #t "build: running ~A\n"
|
|
|
|
|
(string-join command))
|
|
|
|
|
(apply invoke command)))
|
|
|
|
|
all-tools)
|
|
|
|
|
#t))
|
2018-01-31 08:45:34 -05:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "src"
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(for-each (lambda (tool)
|
|
|
|
|
(invoke
|
|
|
|
|
"go" "test" "-v"
|
|
|
|
|
(string-append "github.com/mongodb/mongo-tools/"
|
|
|
|
|
tool)))
|
|
|
|
|
all-tools))
|
|
|
|
|
#t))
|
2018-01-31 08:45:34 -05:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(for-each (lambda (tool)
|
|
|
|
|
(install-file
|
2018-06-27 22:24:08 -04:00
|
|
|
|
(string-append "src/github.com/mongodb/mongo-tools/bin/"
|
|
|
|
|
tool)
|
2018-01-31 08:45:34 -05:00
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/bin")))
|
2018-06-27 22:24:08 -04:00
|
|
|
|
all-tools)
|
|
|
|
|
#t))))))
|
2018-01-21 06:00:56 -05:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("go-github.com-howeyc-gopass" ,go-github.com-howeyc-gopass)
|
|
|
|
|
("go-github.com-jessevdk-go-flags" ,go-github.com-jessevdk-go-flags)
|
|
|
|
|
("go-golang.org-x-crypto-ssh-terminal" ,go-golang.org-x-crypto-ssh-terminal)
|
|
|
|
|
("go-gopkg.in-mgo.v2" ,go-gopkg.in-mgo.v2)
|
|
|
|
|
("go-gopkg.in-tomb.v2" ,go-gopkg.in-tomb.v2)
|
2018-01-31 08:45:34 -05:00
|
|
|
|
("go-github.com-nsf-termbox-go" ,go-github.com-nsf-termbox-go)
|
|
|
|
|
("go-github.com-smartystreets-goconvey" ,go-github.com-smartystreets-goconvey)))
|
2018-01-21 06:00:56 -05:00
|
|
|
|
(home-page "https://github.com/mongodb/mongo-tools")
|
|
|
|
|
(synopsis "Various tools for interacting with MongoDB and BSON")
|
|
|
|
|
(description
|
|
|
|
|
"This package includes a collection of tools related to MongoDB.
|
|
|
|
|
@table @code
|
|
|
|
|
@item bsondump
|
|
|
|
|
Display BSON files in a human-readable format
|
|
|
|
|
@item mongoimport
|
|
|
|
|
Convert data from JSON, TSV or CSV and insert them into a collection
|
|
|
|
|
@item mongoexport
|
|
|
|
|
Write an existing collection to CSV or JSON format
|
|
|
|
|
@item mongodump/mongorestore
|
|
|
|
|
Dump MongoDB backups to disk in the BSON format
|
|
|
|
|
@item mongorestore
|
|
|
|
|
Read MongoDB backups in the BSON format, and restore them to a live database
|
|
|
|
|
@item mongostat
|
|
|
|
|
Monitor live MongoDB servers, replica sets, or sharded clusters
|
|
|
|
|
@item mongofiles
|
|
|
|
|
Read, write, delete, or update files in GridFS
|
|
|
|
|
@item mongooplog
|
|
|
|
|
Replay oplog entries between MongoDB servers
|
|
|
|
|
@item mongotop
|
|
|
|
|
Monitor read/write activity on a mongo server
|
|
|
|
|
@end table")
|
|
|
|
|
(license license:asl2.0)))
|
2018-02-21 12:19:33 -05:00
|
|
|
|
|
|
|
|
|
(define-public apache-arrow
|
|
|
|
|
(package
|
|
|
|
|
(name "apache-arrow")
|
2019-03-18 18:37:15 -04:00
|
|
|
|
(version "0.10.0")
|
2018-02-21 12:19:33 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/apache/arrow")
|
|
|
|
|
(commit (string-append "apache-arrow-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-03-18 18:37:15 -04:00
|
|
|
|
(base32
|
|
|
|
|
"04xkp922b8qrrnpvv9ixxnvk7151n1plzx6aqdff6frn9651zvxs"))))
|
2018-02-21 12:19:33 -05:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'enter-source-directory
|
|
|
|
|
(lambda _ (chdir "cpp") #t))
|
|
|
|
|
(add-after 'unpack 'set-env
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "BOOST_ROOT" (assoc-ref %build-inputs "boost"))
|
|
|
|
|
(setenv "BROTLI_HOME" (assoc-ref %build-inputs "brotli"))
|
|
|
|
|
(setenv "FLATBUFFERS_HOME" (assoc-ref %build-inputs "flatbuffers"))
|
|
|
|
|
(setenv "JEMALLOC_HOME" (assoc-ref %build-inputs "jemalloc"))
|
|
|
|
|
(setenv "RAPIDJSON_HOME" (assoc-ref %build-inputs "rapidjson"))
|
|
|
|
|
#t)))
|
2018-03-17 07:23:59 -04:00
|
|
|
|
#:build-type "Release"
|
2018-02-21 12:19:33 -05:00
|
|
|
|
#:configure-flags
|
2018-03-17 07:23:59 -04:00
|
|
|
|
(list "-DARROW_PYTHON=ON"
|
2018-02-21 12:19:33 -05:00
|
|
|
|
|
|
|
|
|
;; Install to PREFIX/lib (the default is
|
|
|
|
|
;; PREFIX/lib64).
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_LIBDIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib")
|
|
|
|
|
|
|
|
|
|
;; XXX These Guix package offer static
|
|
|
|
|
;; libraries that are not position independent,
|
|
|
|
|
;; and ld fails to link them into the arrow .so
|
|
|
|
|
"-DARROW_WITH_SNAPPY=OFF"
|
|
|
|
|
"-DARROW_WITH_ZLIB=OFF"
|
|
|
|
|
"-DARROW_WITH_ZSTD=OFF"
|
|
|
|
|
"-DARROW_WITH_LZ4=OFF"
|
|
|
|
|
|
|
|
|
|
;; Building the tests forces on all the
|
|
|
|
|
;; optional features and the use of static
|
|
|
|
|
;; libraries.
|
|
|
|
|
"-DARROW_BUILD_TESTS=OFF"
|
|
|
|
|
"-DARROW_BUILD_STATIC=OFF")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("rapidjson" ,rapidjson)
|
|
|
|
|
("brotli" ,google-brotli)
|
|
|
|
|
("flatbuffers" ,flatbuffers)
|
2019-03-18 18:37:15 -04:00
|
|
|
|
("jemalloc" ,jemalloc)
|
2018-02-21 12:19:33 -05:00
|
|
|
|
("python-3" ,python)
|
|
|
|
|
("python-numpy" ,python-numpy)))
|
|
|
|
|
(home-page "https://arrow.apache.org/")
|
|
|
|
|
(synopsis "Columnar in-memory analytics")
|
|
|
|
|
(description "Apache Arrow is a columnar in-memory analytics layer
|
|
|
|
|
designed to accelerate big data. It houses a set of canonical in-memory
|
|
|
|
|
representations of flat and hierarchical data along with multiple
|
|
|
|
|
language-bindings for structure manipulation. It also provides IPC and common
|
|
|
|
|
algorithm implementations.")
|
|
|
|
|
(license license:asl2.0)))
|
2018-02-21 12:23:03 -05:00
|
|
|
|
|
|
|
|
|
(define-public python-pyarrow
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyarrow")
|
2019-03-18 18:43:33 -04:00
|
|
|
|
(version "0.10.0")
|
2018-02-21 12:23:03 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/apache/arrow")
|
|
|
|
|
(commit (string-append "apache-arrow-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-03-18 18:43:33 -04:00
|
|
|
|
(base32
|
|
|
|
|
"04xkp922b8qrrnpvv9ixxnvk7151n1plzx6aqdff6frn9651zvxs"))))
|
2018-02-21 12:23:03 -05:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2019-03-18 18:43:33 -04:00
|
|
|
|
'(#:tests? #f ; XXX There are no tests in the "python" directory
|
2018-02-21 12:23:03 -05:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-03-18 18:43:33 -04:00
|
|
|
|
(delete 'build) ; XXX the build is performed again during the install phase
|
2018-02-21 12:23:03 -05:00
|
|
|
|
(add-after 'unpack 'enter-source-directory
|
|
|
|
|
(lambda _ (chdir "python") #t))
|
|
|
|
|
(add-after 'unpack 'set-env
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "ARROW_HOME" (assoc-ref %build-inputs "apache-arrow"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("apache-arrow" ,apache-arrow)
|
|
|
|
|
("python-numpy" ,python-numpy)
|
|
|
|
|
("python-pandas" ,python-pandas)
|
|
|
|
|
("python-six" ,python-six)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("cmake" ,cmake)
|
|
|
|
|
("python-cython" ,python-cython)
|
|
|
|
|
("python-pytest" ,python-pytest)
|
2019-03-18 18:43:33 -04:00
|
|
|
|
("python-pytest-runner" ,python-pytest-runner)
|
2018-02-21 12:23:03 -05:00
|
|
|
|
("python-setuptools-scm" ,python-setuptools-scm)))
|
|
|
|
|
(home-page "https://arrow.apache.org/docs/python/")
|
|
|
|
|
(synopsis "Python bindings for Apache Arrow")
|
|
|
|
|
(description "This library provides a Pythonic API wrapper for the reference
|
|
|
|
|
Arrow C++ implementation, along with tools for interoperability with pandas,
|
|
|
|
|
NumPy, and other traditional Python scientific computing packages.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-pyarrow
|
|
|
|
|
(package-with-python2 python-pyarrow))
|