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 15:48:03 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
2022-06-02 11:32:31 +00:00
|
|
|
|
;;; Copyright © 2012-2016, 2018, 2022 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 21:34:32 +00:00
|
|
|
|
;;; Copyright © 2012, 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
|
|
|
|
|
;;; Copyright © 2013, 2017 Cyril Roelandt <tipecaml@gmail.com>
|
2016-05-06 13:11:08 +00:00
|
|
|
|
;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
|
2018-01-28 05:21:07 +00: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 21:34:32 +00:00
|
|
|
|
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
|
2017-08-05 02:10:00 +00:00
|
|
|
|
;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
|
2015-10-18 19:40:08 +00: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 21:34:32 +00:00
|
|
|
|
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
2022-07-21 13:24:43 +00:00
|
|
|
|
;;; Copyright © 2016, 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2021-08-15 18:15:37 +00:00
|
|
|
|
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
|
2024-05-05 21:52:46 +00:00
|
|
|
|
;;; Copyright © 2015-2024 Efraim Flashner <efraim@flashner.co.il>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, 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/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.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-xyz.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: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 11:05:45 +00:00
|
|
|
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
2018-04-03 11:07:21 +00:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Roel Janssen <roel@gnu.org>
|
2016-08-14 20:25:15 +00:00
|
|
|
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
2016-09-13 18:07:13 +00:00
|
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
2016-09-22 03:58:28 +00: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 21:34:32 +00:00
|
|
|
|
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
|
2022-01-10 19:20:30 +00:00
|
|
|
|
;;; Copyright © 2016-2022 Marius Bakke <marius@gnu.org>
|
2018-07-28 15:38:38 +00:00
|
|
|
|
;;; Copyright © 2017, 2018 Julien Lepiller <julien@lepiller.eu>
|
2020-02-22 16:38:29 +00:00
|
|
|
|
;;; Copyright © 2017, 2020 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 21:34:32 +00:00
|
|
|
|
;;; Copyright © 2017 Jelle Licht <jlicht@fsfe.org>
|
|
|
|
|
;;; Copyright © 2017 Adriano Peluso <catonano@gmail.com>
|
2021-11-19 16:04:48 +00:00
|
|
|
|
;;; Copyright © 2017, 2021 Arun Isaac <arunisaac@systemreboot.net>
|
2022-05-01 00:00:01 +00:00
|
|
|
|
;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
2018-12-18 02:36:25 +00:00
|
|
|
|
;;; Copyright © 2017, 2018 Alex Vong <alexvong1995@gmail.com>
|
2018-07-29 12:38:08 +00:00
|
|
|
|
;;; Copyright © 2017, 2018 Ben Woodcroft <donttrustben@gmail.com>
|
2017-10-09 09:20:34 +00:00
|
|
|
|
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
|
2021-06-15 16:31:41 +00:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
|
2024-01-16 14:40:22 +00:00
|
|
|
|
;;; Copyright © 2015, 2017, 2018, 2019, 2021, 2022, 2023, 2024 Ricardo Wurmus <rekado@elephly.net>
|
2017-11-14 16:25:18 +00:00
|
|
|
|
;;; Copyright © 2017 Kristofer Buffington <kristoferbuffington@gmail.com>
|
2018-01-03 19:43:52 +00:00
|
|
|
|
;;; Copyright © 2018 Amirouche Boubekki <amirouche@hypermove.net>
|
2018-02-21 17:19:33 +00:00
|
|
|
|
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com>
|
2023-03-02 18:09:25 +00:00
|
|
|
|
;;; Copyright © 2018, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
2019-06-10 02:02:15 +00:00
|
|
|
|
;;; Copyright © 2019 Jack Hill <jackhill@jackhill.us>
|
2019-06-11 02:41:28 +00:00
|
|
|
|
;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
|
2019-06-24 08:39:07 +00:00
|
|
|
|
;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
|
2022-02-21 13:46:08 +00:00
|
|
|
|
;;; Copyright © 2019, 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
|
2020-01-18 17:39:41 +00:00
|
|
|
|
;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
gnu: nheko: Update to 0.8.2.
* gnu/packages/messaging.scm (nheko): Update to 0.8.2.
[source snippet]: Remove third_party folder.
[arguments]: Remove -fpermissive flag, remove remove-Werror phase, add phase
wrap-program and unbundle-dependencies.
[inputs]: Add gst-plugins-base, gst-plugins-bad, libnice, qtkeychain,
and unbundle blurhash, cpp-httplib and single-application, remove tweeny.
[native-inputs]: Add doxygen, graphviz used to build documentation.
[description]: Simplify by removing the long list, add new features.
(mtxclient): Update to 0.5.1.
[arguments]: Remove set-home phase.
* gnu/packages/databases.scm (lmdbxx): Update to 1.0.0.
[source]: Change repository to a fork required by nheko.
[home-page]: Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-27 22:54:55 +00:00
|
|
|
|
;;; Copyright © 2020, 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
2020-03-21 11:26:23 +00:00
|
|
|
|
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
|
2020-03-30 06:32:30 +00:00
|
|
|
|
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
|
2020-07-04 19:31:42 +00:00
|
|
|
|
;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
|
2020-07-29 07:53:40 +00:00
|
|
|
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
2020-10-13 00:53:23 +00:00
|
|
|
|
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
|
2020-12-28 18:45:24 +00:00
|
|
|
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
2024-01-25 20:45:20 +00:00
|
|
|
|
;;; Copyright © 2021, 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
|
2024-01-30 17:08:49 +00:00
|
|
|
|
;;; Copyright © 2021, 2024 Greg Hogan <code@greghogan.com>
|
2021-03-31 10:38:50 +00:00
|
|
|
|
;;; Copyright © 2021 David Larsson <david.larsson@selfhosted.xyz>
|
2021-04-26 09:45:05 +00:00
|
|
|
|
;;; Copyright © 2021 Pjotr Prins <pjotr.guix@thebird.nl>
|
2021-05-08 20:41:24 +00:00
|
|
|
|
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
|
2021-06-01 23:11:31 +00:00
|
|
|
|
;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
|
2021-07-19 12:47:03 +00:00
|
|
|
|
;;; Copyright © 2021 Alexandre Hannud Abdo <abdo@member.fsf.org>
|
2021-09-21 06:35:56 +00:00
|
|
|
|
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
2022-01-14 09:09:55 +00:00
|
|
|
|
;;; Copyright © 2021 Foo Chuan Wei <chuanwei.foo@hotmail.com>
|
2022-01-01 06:48:07 +00:00
|
|
|
|
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
2021-12-12 18:31:34 +00:00
|
|
|
|
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
2022-06-20 04:22:39 +00:00
|
|
|
|
;;; Copyright © 2022 muradm <mail@muradm.net>
|
2022-10-11 13:08:34 +00:00
|
|
|
|
;;; Copyright © 2022 Thomas Albers Raviola <thomas@thomaslabs.org>
|
2022-11-11 02:06:24 +00:00
|
|
|
|
;;; Copyright © 2021, 2022 jgart <jgart@dismail.de>
|
2024-06-10 16:33:54 +00:00
|
|
|
|
;;; Copyright © 2023, 2024 Felix Gruber <felgru@posteo.net>
|
2023-09-06 11:12:10 +00:00
|
|
|
|
;;; Copyright © 2023 Munyoki Kilyungi <me@bonfacemunyoki.com>
|
2023-10-29 12:07:24 +00:00
|
|
|
|
;;; Copyright © 2023 Giacomo Leidi <goodoldpaul@autistici.org>
|
2024-01-25 20:45:20 +00:00
|
|
|
|
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.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 15:48:03 +00: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 10:52:07 +00:00
|
|
|
|
#:use-module (gnu packages admin)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2016-04-26 22:44:22 +00:00
|
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
|
#:use-module (gnu packages avahi)
|
2017-02-08 18:56:03 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
2015-10-18 19:40:08 +00:00
|
|
|
|
#:use-module (gnu packages bash)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages bison)
|
2016-03-17 19:58:50 +00:00
|
|
|
|
#:use-module (gnu packages boost)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages check)
|
2018-02-21 17:19:33 +00:00
|
|
|
|
#:use-module (gnu packages cmake)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages compression)
|
2021-06-21 10:15:52 +00:00
|
|
|
|
#:use-module (gnu packages cpp)
|
2016-09-22 03:58:28 +00:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2017-02-08 19:11:17 +00: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 13:48:47 +00:00
|
|
|
|
#:use-module (gnu packages dbm)
|
2021-12-12 18:31:34 +00:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages emacs)
|
2018-11-21 04:12:02 +00:00
|
|
|
|
#:use-module (gnu packages flex)
|
2021-07-19 12:47:03 +00:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2021-09-21 06:35:56 +00:00
|
|
|
|
#:use-module (gnu packages gawk)
|
2019-10-08 08:16:04 +00:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2016-04-26 22:44:22 +00:00
|
|
|
|
#:use-module (gnu packages gettext)
|
|
|
|
|
#:use-module (gnu packages glib)
|
2021-07-19 12:47:03 +00:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages gnupg)
|
2018-01-21 11:00:56 +00:00
|
|
|
|
#:use-module (gnu packages golang)
|
2024-02-07 20:53:56 +00:00
|
|
|
|
#:use-module (gnu packages golang-build)
|
2023-10-19 01:28:55 +00:00
|
|
|
|
#:use-module (gnu packages golang-check)
|
2023-11-29 22:34:47 +00:00
|
|
|
|
#:use-module (gnu packages golang-web)
|
2024-02-17 19:19:15 +00:00
|
|
|
|
#:use-module (gnu packages golang-xyz)
|
2022-05-30 07:03:02 +00:00
|
|
|
|
#:use-module (gnu packages gperf)
|
2021-07-19 12:47:03 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
2021-01-19 22:23:21 +00:00
|
|
|
|
#:use-module (gnu packages guile)
|
2020-10-29 14:17:35 +00:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages jemalloc)
|
2015-03-17 18:00:07 +00:00
|
|
|
|
#:use-module (gnu packages language)
|
2020-10-29 14:17:35 +00:00
|
|
|
|
#:use-module (gnu packages libedit)
|
2017-07-27 16:11:33 +00: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 15:48:03 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2021-01-19 22:23:21 +00:00
|
|
|
|
#:use-module (gnu packages lisp)
|
|
|
|
|
#:use-module (gnu packages lisp-xyz)
|
2021-04-23 14:31:58 +00:00
|
|
|
|
#:use-module (gnu packages llvm)
|
2020-06-02 21:33:36 +00:00
|
|
|
|
#:use-module (gnu packages logging)
|
2017-04-26 16:36:31 +00:00
|
|
|
|
#:use-module (gnu packages man)
|
2020-06-02 21:33:36 +00:00
|
|
|
|
#:use-module (gnu packages maths)
|
2020-10-29 14:17:35 +00:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
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 15:48:03 +00:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2022-01-21 19:55:53 +00:00
|
|
|
|
#:use-module (gnu packages networking)
|
2019-10-03 16:28:56 +00:00
|
|
|
|
#:use-module (gnu packages onc-rpc)
|
2022-07-21 13:24:43 +00:00
|
|
|
|
#:use-module (gnu packages openstack)
|
2021-07-19 12:47:03 +00:00
|
|
|
|
#:use-module (gnu packages pantheon)
|
2017-01-03 06:21:43 +00:00
|
|
|
|
#:use-module (gnu packages parallel)
|
2015-04-16 08:48:31 +00:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2017-02-08 19:11:17 +00: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 22:03:01 +00:00
|
|
|
|
#:use-module (gnu packages perl-check)
|
2019-03-24 18:10:50 +00:00
|
|
|
|
#:use-module (gnu packages perl-web)
|
2016-04-26 22:44:22 +00:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
2017-01-03 06:21:43 +00:00
|
|
|
|
#:use-module (gnu packages popt)
|
2022-09-08 17:55:23 +00:00
|
|
|
|
#:use-module (gnu packages pretty-print)
|
2020-06-02 21:33:36 +00:00
|
|
|
|
#:use-module (gnu packages protobuf)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2022-06-25 01:30:59 +00:00
|
|
|
|
#:use-module (gnu packages python-build)
|
2021-05-08 20:41:24 +00:00
|
|
|
|
#:use-module (gnu packages python-check)
|
2024-01-25 20:45:20 +00:00
|
|
|
|
#:use-module (gnu packages python-compression)
|
2018-07-04 21:04:19 +00:00
|
|
|
|
#:use-module (gnu packages python-crypto)
|
2019-12-04 07:56:36 +00:00
|
|
|
|
#:use-module (gnu packages python-science)
|
2021-01-19 22:23:21 +00:00
|
|
|
|
#:use-module (gnu packages python-web)
|
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 13:21:30 +00:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2022-01-01 06:48:07 +00:00
|
|
|
|
#:use-module (gnu packages qt)
|
2016-04-26 22:44:22 +00:00
|
|
|
|
#:use-module (gnu packages rdf)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages readline)
|
2020-06-02 21:33:36 +00:00
|
|
|
|
#:use-module (gnu packages regex)
|
|
|
|
|
#:use-module (gnu packages rpc)
|
2017-09-22 19:15:56 +00:00
|
|
|
|
#:use-module (gnu packages ruby)
|
2017-10-06 20:24:23 +00:00
|
|
|
|
#:use-module (gnu packages serialization)
|
gnu: Move Sphinx and friends to (gnu packages sphinx).
* gnu/packages/python-xyz.scm (python-sphinxcontrib-websupport,
python2-sphinxcontrib-websupport, python-sphinx, python2-sphinx,
python-sphinx-gallery, python2-sphinx-gallery, python-sphinx-rtd-theme,
python2-sphinx-rtd-theme, python-guzzle-sphinx-theme,
python2-guzzle-sphinx-theme, python-sphinxcontrib-newsfeed,
python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput,
python-sphinx-repoze-interface, python2-sphinx-repoze-interface,
python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme,
python-sphinx-alabaster-theme, python2-sphinx-alabaster-theme,
python-sphinx-me, python-sphinxcontrib-svg2pdfconverter): Move to ...
(gnu):
* gnu/packages/sphinx.scm: ... here. New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/admin.scm, gnu/packages/bioinformatics.scm,
gnu/packages/calendar.scm, gnu/packages/cluster.scm,
gnu/packages/databases.scm, gnu/packages/dav.scm, gnu/packages/disk.scm,
gnu/packages/django.scm, gnu/packages/elf.scm, gnu/packages/emacs-xyz.scm,
gnu/packages/emulators.scm, gnu/packages/finance.scm, gnu/packages/image.scm,
gnu/packages/libffi.scm, gnu/packages/mail.scm, gnu/packages/mpd.scm,
gnu/packages/openstack.scm, gnu/packages/pdf.scm, gnu/packages/python-web.scm,
gnu/packages/search.scm, gnu/packages/statistics.scm,
gnu/packages/storage.scm, gnu/packages/sync.scm, gnu/packages/terminals.scm,
gnu/packages/tls.scm, gnu/packages/web.scm: Adjust module imports.
2019-05-12 20:56:54 +00:00
|
|
|
|
#:use-module (gnu packages sphinx)
|
2021-07-19 12:47:03 +00:00
|
|
|
|
#:use-module (gnu packages ssh)
|
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 20:47:05 +00:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages tcl)
|
2018-01-21 11:00:56 +00:00
|
|
|
|
#:use-module (gnu packages terminals)
|
2021-12-14 00:54:14 +00:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2018-01-21 11:00:56 +00:00
|
|
|
|
#:use-module (gnu packages textutils)
|
2021-01-19 22:23:21 +00:00
|
|
|
|
#:use-module (gnu packages time)
|
2017-02-08 19:11:17 +00:00
|
|
|
|
#:use-module (gnu packages tls)
|
2017-10-06 20:24:23 +00:00
|
|
|
|
#:use-module (gnu packages valgrind)
|
2018-02-21 17:19:33 +00:00
|
|
|
|
#:use-module (gnu packages web)
|
2021-11-19 11:19:29 +00:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2015-04-16 08:48:31 +00:00
|
|
|
|
#:use-module (gnu packages xml)
|
2021-12-19 01:29:06 +00:00
|
|
|
|
#:use-module (guix gexp)
|
2016-08-14 20:25:15 +00: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 15:48:03 +00:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2018-11-21 04:12:02 +00:00
|
|
|
|
#:use-module (guix bzr-download)
|
2017-11-14 16:25:18 +00:00
|
|
|
|
#:use-module (guix git-download)
|
2020-10-13 00:53:23 +00:00
|
|
|
|
#:use-module (guix hg-download)
|
2019-06-10 02:02:15 +00:00
|
|
|
|
#:use-module (guix build-system emacs)
|
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 15:48:03 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-01-21 10:52:07 +00:00
|
|
|
|
#:use-module (guix build-system go)
|
2021-07-19 12:47:03 +00:00
|
|
|
|
#:use-module (guix build-system meson)
|
2014-09-27 22:41:39 +00:00
|
|
|
|
#:use-module (guix build-system perl)
|
2022-12-10 21:04:41 +00:00
|
|
|
|
#:use-module (guix build-system pyproject)
|
2016-09-11 18:22:39 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2022-01-01 06:48:07 +00:00
|
|
|
|
#:use-module (guix build-system qt)
|
2017-09-22 19:15:56 +00:00
|
|
|
|
#:use-module (guix build-system ruby)
|
2015-04-16 08:48:31 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2015-06-09 10:07:46 +00:00
|
|
|
|
#:use-module (guix utils)
|
2017-11-25 20:54:57 +00: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 15:48:03 +00:00
|
|
|
|
#:use-module (srfi srfi-26)
|
|
|
|
|
#:use-module (ice-9 match))
|
|
|
|
|
|
2024-01-30 17:08:49 +00:00
|
|
|
|
(define-public duckdb
|
|
|
|
|
(package
|
|
|
|
|
(name "duckdb")
|
2024-06-10 16:33:54 +00:00
|
|
|
|
(version "1.0.0")
|
2024-01-30 17:08:49 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/duckdb/duckdb")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-06-10 16:33:54 +00:00
|
|
|
|
"11yqgnf354g3fjj0rvsw8zzz915vf9i3jxmpchpwy09yzxd72cbg"))
|
2024-01-30 17:08:49 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
#~(begin
|
|
|
|
|
;; There is no git checkout from which to read the version tag.
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("set\\(DUCKDB_VERSION \"[^\"]*\"")
|
|
|
|
|
(string-append "set(DUCKDB_VERSION \"v" #$version "-dev0\"")))))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(home-page "https://duckdb.org")
|
|
|
|
|
(synopsis "In-process SQL OLAP database management system")
|
|
|
|
|
(description "CLI and C/C++ source libraries for DuckDB, a relational
|
|
|
|
|
(table-oriented) @acronym{DBMS, Database Management System} that supports
|
|
|
|
|
@acronym{SQL, Structured Query Language}, contains a columnar-vectorized query
|
|
|
|
|
execution engine, and provides transactional @acronym{ACID, Atomicity
|
|
|
|
|
Consistency Isolation and Durability} guarantees via bulk-optimized
|
|
|
|
|
@acronym{MVCC, Multi-Version Concurrency Control}. Data can be stored in
|
|
|
|
|
persistent, single-file databases with support for secondary indexes.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2019-10-11 16:20:50 +00:00
|
|
|
|
(define-public ephemeralpg
|
|
|
|
|
(package
|
|
|
|
|
(name "ephemeralpg")
|
2020-11-08 18:03:26 +00:00
|
|
|
|
(version "3.1")
|
2019-10-11 16:20:50 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2020-04-10 21:09:57 +00:00
|
|
|
|
"https://eradman.com/ephemeralpg/code/ephemeralpg-"
|
2019-10-11 16:20:50 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-11-08 18:03:26 +00:00
|
|
|
|
(base32 "1ap22ki8yz6agd0qybcjgs4b9izw1rwwcgpxn3jah2ccfyax34s6"))))
|
2019-10-11 16:20:50 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-11-08 18:48:49 +00:00
|
|
|
|
`(#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
2019-10-11 16:20:50 +00:00
|
|
|
|
(string-append "PREFIX=" %output))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-04-11 18:28:15 +00:00
|
|
|
|
(delete 'configure) ; no configure script
|
2019-10-11 16:20:50 +00:00
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(wrap-program (string-append out "/bin/pg_tmp")
|
|
|
|
|
`("PATH" ":" prefix
|
|
|
|
|
(,(string-append (assoc-ref inputs "util-linux")
|
|
|
|
|
"/bin")
|
|
|
|
|
,(string-append (assoc-ref inputs "postgresql")
|
|
|
|
|
"/bin")
|
2020-04-10 21:11:44 +00:00
|
|
|
|
;; For getsocket.
|
2019-10-11 16:20:50 +00:00
|
|
|
|
,(string-append out "/bin")))))
|
2020-04-11 18:28:15 +00:00
|
|
|
|
#t)))
|
|
|
|
|
#:test-target "test"))
|
2019-10-11 16:20:50 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list postgresql util-linux))
|
2019-10-11 16:20:50 +00:00
|
|
|
|
(native-inputs
|
2020-04-11 18:28:15 +00:00
|
|
|
|
;; For tests.
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list ruby which))
|
2020-04-10 21:09:57 +00:00
|
|
|
|
(home-page "https://eradman.com/ephemeralpg/")
|
2019-10-11 16:20:50 +00:00
|
|
|
|
(synopsis "Run temporary PostgreSQL databases")
|
|
|
|
|
(description
|
|
|
|
|
"@code{pg_tmp} creates temporary PostgreSQL databases, suitable for tasks
|
|
|
|
|
like running software test suites. Temporary databases created with
|
|
|
|
|
@code{pg_tmp} have a limited shared memory footprint and are automatically
|
|
|
|
|
garbage-collected after a configurable number of seconds (the default is
|
|
|
|
|
60).")
|
|
|
|
|
(license license:isc)))
|
|
|
|
|
|
2017-09-22 19:15:56 +00: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 07:42:02 +00:00
|
|
|
|
'(#:tests? #f)) ;; No testsuite.
|
2017-09-22 19:15:56 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list ruby-httpclient ruby-multi-json ruby-progress_bar ruby-rubyzip
|
|
|
|
|
ruby-thor))
|
2017-09-22 19:15:56 +00:00
|
|
|
|
(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)))
|
|
|
|
|
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(define-public firebird
|
|
|
|
|
(package
|
|
|
|
|
(name "firebird")
|
2022-09-24 17:35:33 +00:00
|
|
|
|
(version "3.0.10")
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(source
|
2022-09-24 17:35:33 +00:00
|
|
|
|
(let ((revision "33601-0"))
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/FirebirdSQL/"
|
2022-09-24 17:35:33 +00:00
|
|
|
|
"firebird/releases/download/v"
|
|
|
|
|
version "/"
|
2020-10-29 14:17:35 +00:00
|
|
|
|
"Firebird-" version "." revision ".tar.bz2"))
|
|
|
|
|
(sha256
|
2022-09-24 17:35:33 +00:00
|
|
|
|
(base32 "0h033xj1kxwgvdv4ncm6kk0mqybvvn203gf88xcv3avys9hbnf4i"))
|
2022-09-24 19:15:58 +00:00
|
|
|
|
(patches (search-patches "firebird-riscv64-support-pt1.patch"
|
|
|
|
|
"firebird-riscv64-support-pt2.patch"))
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
`(begin
|
|
|
|
|
(for-each
|
|
|
|
|
delete-file-recursively
|
|
|
|
|
(list "extern/btyacc/test" ; TODO: package and remove entirely
|
|
|
|
|
"extern/editline"
|
|
|
|
|
"extern/icu"
|
|
|
|
|
"extern/libtommath"
|
|
|
|
|
"extern/zlib"
|
|
|
|
|
"src/include/firebird/impl/boost"
|
|
|
|
|
|
|
|
|
|
;; Missing licence.
|
|
|
|
|
"builds/install/arch-specific/solaris"
|
|
|
|
|
"extern/SfIO"
|
|
|
|
|
"src/msgs/templates.sql"
|
|
|
|
|
|
|
|
|
|
;; Generated files missing sources.
|
|
|
|
|
"doc/Firebird-3-QuickStart.pdf"
|
|
|
|
|
(string-append "doc/Firebird-" ,version
|
|
|
|
|
"-ReleaseNotes.pdf")
|
2022-09-24 17:35:33 +00:00
|
|
|
|
"doc/README.SecureRemotePassword.html")))))))
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(outputs (list "debug" "out"))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "--with-fbsbin=" out "/sbin")
|
|
|
|
|
(string-append "--with-fbdoc=" out "/share/doc/"
|
|
|
|
|
,name "-" ,version)
|
|
|
|
|
(string-append "--with-fbconf=" out "/lib/firebird")
|
|
|
|
|
(string-append "--with-fbintl=" out "/lib/firebird/intl")
|
|
|
|
|
(string-append "--with-fbmisc=" out "/lib/firebird/misc")
|
|
|
|
|
(string-append "--with-fbmsg=" out "/lib/firebird")
|
|
|
|
|
(string-append "--with-fbplugins=" out "/lib/firebird/plugins")
|
|
|
|
|
(string-append "--with-fbudf=" out "/lib/firebird/UDF")
|
|
|
|
|
"--with-fbglock=/run/firebird"
|
|
|
|
|
"--with-fblog=/var/log/firebird"
|
|
|
|
|
"--with-fbhelp=/var/lib/firebird/system"
|
|
|
|
|
"--with-fbsecure-db=/var/lib/firebird/secure"
|
|
|
|
|
"--without-fbsample"
|
|
|
|
|
"--without-fbsample-db"
|
|
|
|
|
"--with-system-editline"))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "CC=" ,(cc-for-target))
|
|
|
|
|
;; The plugins/ can't find libfbclient otherwise.
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))
|
|
|
|
|
#:tests? #f ; no test suite
|
|
|
|
|
#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-26))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2022-09-24 19:15:58 +00:00
|
|
|
|
,@(if (target-riscv64?)
|
|
|
|
|
`((add-before 'bootstrap 'force-bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "configure")
|
|
|
|
|
;; This file prevents automake from running.
|
|
|
|
|
(delete-file "autogen.sh"))))
|
|
|
|
|
'())
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(add-after 'unpack 'use-system-boost
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/include/firebird/Message.h"
|
|
|
|
|
(("\"\\./impl/boost/preprocessor/seq/for_each_i\\.hpp\"")
|
|
|
|
|
"<boost/preprocessor/seq/for_each_i.hpp>")
|
2022-09-24 17:35:33 +00:00
|
|
|
|
(("FB_BOOST_") "BOOST_"))))
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(add-after 'unpack 'patch-installation
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute*
|
|
|
|
|
"builds/install/arch-specific/linux/makeInstallImage.sh.in"
|
|
|
|
|
(("/bin/sh") (which "bash"))
|
|
|
|
|
;; Remove shell script helpers from $PATH.
|
|
|
|
|
(("(addLibs|cp) .*\\.sh .*@FB_SBINDIR@") ":")
|
|
|
|
|
;; Put files where Guix users expect them.
|
|
|
|
|
(("(License\\.txt.*)@FB_CONFDIR" match)
|
|
|
|
|
(string-append match "@FB_DOCDIR@"))
|
|
|
|
|
(("@FB_CONFDIR@(.*License\\.txt.*)" match)
|
|
|
|
|
(string-append "@FB_DOCDIR@" match))
|
|
|
|
|
(("(cp .*/doc/.*)@FB_CONFDIR@(.*)" _ head tail)
|
|
|
|
|
(string-append head "@FB_DOCDIR@" tail "\n")))
|
|
|
|
|
(substitute*
|
|
|
|
|
(list "builds/install/posix-common/changeServerMode.sh.in"
|
|
|
|
|
"builds/install/posix-common/install.sh.in")
|
|
|
|
|
;; Skip phases that (could) cause problems in Guix.
|
|
|
|
|
(("check(InstallUser|IfServerRunning|Libraries)|addFirebirdUser")
|
|
|
|
|
":")
|
|
|
|
|
;; Skip phases that are merely pointless on Guix.
|
|
|
|
|
(("buildUninstallFile|installInitdScript|startFirebird") ":")
|
|
|
|
|
;; Omit randomly generated password with bonus timestamp.
|
|
|
|
|
(("setDBAPassword") ":"))
|
|
|
|
|
|
|
|
|
|
;; These promote proprietary workflows not relevant on Guix.
|
|
|
|
|
(for-each delete-file-recursively
|
2022-09-24 17:35:33 +00:00
|
|
|
|
(find-files "doc" "README\\.(build\\.msvc|NT|Win)"))))
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(add-after 'configure 'delete-init-scripts
|
|
|
|
|
(lambda _
|
2022-09-24 17:35:33 +00:00
|
|
|
|
(delete-file-recursively "gen/install/misc")))
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(add-before 'build 'set-build-environment-variables
|
|
|
|
|
(lambda _
|
|
|
|
|
;; ‘isql’ needs to run & find libfbclient.so during the build.
|
|
|
|
|
;; This doubles as a rudimentary test in lieu of a test suite.
|
|
|
|
|
(setenv "LD_LIBRARY_PATH"
|
2022-09-24 17:35:33 +00:00
|
|
|
|
(string-append (assoc-ref %build-inputs "icu4c") "/lib"))))
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(add-before 'install 'keep-embedded-debug-symbols
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Let the gnu-build-system separate & deal with them later.
|
|
|
|
|
;; XXX Upstream would use ‘--strip-unneeded’, shaving a whole
|
|
|
|
|
;; megabyte off Guix's 7.7M libEngine12.so, for example.
|
|
|
|
|
(substitute* "gen/Makefile.install"
|
2022-09-24 17:35:33 +00:00
|
|
|
|
(("readelf") "false"))))
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(add-after 'install 'prune-undesirable-files
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(with-directory-excursion out
|
|
|
|
|
;; Remove example binaries.
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(find-files "." "example"))
|
|
|
|
|
;; Delete (now-)empty directories.
|
|
|
|
|
(for-each rmdir
|
|
|
|
|
(list "include/firebird/impl"
|
2022-09-24 17:35:33 +00:00
|
|
|
|
"lib/firebird/plugins/udr")))))))))
|
2022-09-24 19:15:58 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(if (target-riscv64?)
|
|
|
|
|
(list autoconf automake libtool)
|
|
|
|
|
'()))
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list boost
|
|
|
|
|
editline
|
2022-09-24 17:35:33 +00:00
|
|
|
|
icu4c
|
2021-12-13 16:18:24 +00:00
|
|
|
|
libtommath
|
|
|
|
|
ncurses
|
|
|
|
|
zlib))
|
2020-10-29 14:17:35 +00:00
|
|
|
|
(home-page "https://www.firebirdsql.org")
|
|
|
|
|
(synopsis "Relational database with many ANSI SQL standard features")
|
|
|
|
|
(description
|
|
|
|
|
"Firebird is an SQL @acronym{RDBMS, relational database management system}
|
2020-11-07 13:02:41 +00:00
|
|
|
|
with rich support for ANSI SQL (e.g., @code{INSERT...RETURNING}) including
|
|
|
|
|
@acronym{UDFs, user-defined functions} and PSQL stored procedures, cursors, and
|
|
|
|
|
triggers. Transactions provide full ACID-compliant referential integrity.
|
2020-10-29 14:17:35 +00:00
|
|
|
|
|
|
|
|
|
The database requires very little manual maintenance once set up, making it
|
|
|
|
|
ideal for small business or embedded use.
|
|
|
|
|
|
|
|
|
|
When installed as a traditional local or remote (network) database server,
|
|
|
|
|
Firebird can grow to terabyte scale with proper tuning---although PostgreSQL
|
|
|
|
|
may be a better choice for such very large environments.
|
|
|
|
|
|
|
|
|
|
Firebird can also be embedded into stand-alone applications that don't want or
|
|
|
|
|
need a full client & server. Used in this manner, it offers richer SQL support
|
|
|
|
|
than SQLite as well as the option to seamlessly migrate to a client/server
|
|
|
|
|
database later.")
|
|
|
|
|
(license
|
|
|
|
|
;; See doc/license/README.license.usage.txt for rationale & details.
|
|
|
|
|
(list license:bsd-3 ; src/common/sha2/
|
|
|
|
|
license:bsd-4 ; src/common/enc.cpp
|
|
|
|
|
license:gpl2+ ; builds/posix/make.defaults
|
|
|
|
|
(license:non-copyleft "file:///builds/install/misc/IPLicense.txt"
|
|
|
|
|
"InterBase Public License v1.0")
|
|
|
|
|
(license:non-copyleft "file:///builds/install/misc/IDPLicense.txt"
|
|
|
|
|
"Initial Developer's Public License v1.0")
|
|
|
|
|
license:lgpl2.1 ; exception for OSI-compatible licences
|
|
|
|
|
license:mpl1.1 ; examples/interfaces/0{6,8}*.cpp
|
|
|
|
|
license:public-domain)))) ; including files without explicit licence
|
|
|
|
|
|
2016-12-27 20:56:01 +00:00
|
|
|
|
(define-public leveldb
|
|
|
|
|
(package
|
|
|
|
|
(name "leveldb")
|
2021-12-19 01:29:06 +00:00
|
|
|
|
(version "1.23")
|
2016-12-27 20:56:01 +00:00
|
|
|
|
(source (origin
|
2019-03-31 14:16:02 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/google/leveldb")
|
2019-03-31 14:17:18 +00:00
|
|
|
|
(commit version)))
|
2019-03-31 14:16:02 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2016-12-27 20:56:01 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-12-19 01:29:06 +00:00
|
|
|
|
"1chxkhb6ajdmj4p8535k4472fbmqvcismll6aapkarsr45yrvgs4"))))
|
2019-03-31 14:17:18 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2016-12-27 20:56:01 +00:00
|
|
|
|
(arguments
|
2021-12-19 01:29:06 +00:00
|
|
|
|
(list #:configure-flags
|
|
|
|
|
#~(list "-DBUILD_SHARED_LIBS=ON"
|
|
|
|
|
"-DLEVELDB_BUILD_TESTS=ON"
|
|
|
|
|
|
|
|
|
|
;; Don't install(!) the third_party test frameworks below.
|
|
|
|
|
"-DINSTALL_GTEST=OFF"
|
|
|
|
|
"-DBENCHMARK_ENABLE_INSTALL=OFF")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
2021-12-20 19:28:21 +00:00
|
|
|
|
;; Ceph uses leveldb and depends on RTTI.
|
|
|
|
|
(add-after 'unpack 'allow-RTTI
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("set\\(CMAKE_CXX_FLAGS \"\\$\\{CMAKE_CXX_FLAGS\\} -fno-rtti\"\\)")
|
|
|
|
|
""))))
|
2021-12-19 01:29:06 +00:00
|
|
|
|
(add-after 'unpack 'unpack-third_party-sources
|
|
|
|
|
;; These are only for testing, so copying source is fine.
|
|
|
|
|
(lambda _
|
|
|
|
|
(copy-recursively #$(package-source googletest)
|
|
|
|
|
"third_party/googletest")
|
|
|
|
|
(copy-recursively #$(package-source googlebenchmark)
|
|
|
|
|
"third_party/benchmark"))))))
|
2016-12-27 20:56:01 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list snappy))
|
2019-11-01 19:58:56 +00:00
|
|
|
|
(home-page "https://github.com/google/leveldb")
|
2016-12-27 20:56:01 +00:00
|
|
|
|
(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 19:17:36 +00:00
|
|
|
|
(license license:bsd-3)))
|
2016-12-27 20:56:01 +00:00
|
|
|
|
|
2017-07-27 16:11:33 +00:00
|
|
|
|
(define-public memcached
|
|
|
|
|
(package
|
|
|
|
|
(name "memcached")
|
2024-06-12 10:03:37 +00:00
|
|
|
|
(version "1.6.28")
|
2017-07-27 16:11:33 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://memcached.org/files/memcached-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2024-06-12 10:03:37 +00:00
|
|
|
|
(base32 "0ma8qn97hng8vp52s3906g9id75yicf96950hm40zn47k1z2vl5i"))))
|
2017-07-27 16:11:33 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libevent cyrus-sasl))
|
2017-07-27 16:11:33 +00:00
|
|
|
|
(home-page "https://memcached.org/")
|
2018-08-14 13:29:51 +00:00
|
|
|
|
(synopsis "In-memory caching service")
|
|
|
|
|
(description "Memcached is an in-memory key-value store. It has a small
|
2017-07-27 16:11:33 +00:00
|
|
|
|
and generic API, and was originally intended for use with dynamic web
|
|
|
|
|
applications.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2018-11-21 04:12:02 +00:00
|
|
|
|
(define-public libmemcached
|
|
|
|
|
(package
|
|
|
|
|
(name "libmemcached")
|
|
|
|
|
(version "1.0.18")
|
|
|
|
|
;; We build from the sources since we want to build the extra HTML
|
|
|
|
|
;; documentation which is not included with the release.
|
|
|
|
|
(source (origin
|
|
|
|
|
(method bzr-fetch)
|
|
|
|
|
(uri (bzr-reference
|
|
|
|
|
(url "lp:libmemcached/1.0")
|
|
|
|
|
(revision (string-append "tag:" version))))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-22 22:17:48 +00:00
|
|
|
|
"1842s4dxdh21gdr46q4dgxigidcs6dkqnbnqjwb9l8r0bqx5nb10"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "libmemcached-build-with-gcc7.patch"))))
|
2018-11-21 04:12:02 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list memcached
|
|
|
|
|
libtool
|
|
|
|
|
autoconf
|
|
|
|
|
automake
|
|
|
|
|
bison
|
|
|
|
|
flex
|
|
|
|
|
perl
|
|
|
|
|
python-sphinx)) ;to build the HTML doc.
|
2018-11-21 04:12:02 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libevent cyrus-sasl))
|
2018-11-21 04:12:02 +00:00
|
|
|
|
(outputs '("out" "doc"))
|
|
|
|
|
(arguments
|
2021-03-16 02:48:35 +00:00
|
|
|
|
'(#:tests? #f ;many tests fail and use too much time
|
|
|
|
|
#:phases
|
2018-11-21 04:12:02 +00:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'bootstrap 'fix-configure.ac
|
|
|
|
|
;; Move the AC_CONFIG_AUX_DIR macro use under AC_INIT, otherwise we
|
|
|
|
|
;; get the error ``configure: error: cannot find install-sh,
|
|
|
|
|
;; install.sh, or shtool in "." "./.." "./../.."`` (see:
|
|
|
|
|
;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19539 and
|
|
|
|
|
;; https://bugs.launchpad.net/libmemcached/+bug/1803922).
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file "bootstrap.sh") ;not useful in the context of Guix
|
|
|
|
|
(substitute* "configure.ac"
|
|
|
|
|
(("^AC_CONFIG_AUX_DIR\\(\\[build-aux\\]\\).*") "")
|
2021-03-16 02:48:35 +00:00
|
|
|
|
(("^AC_INIT.*" anchor)
|
|
|
|
|
(string-append anchor "AC_CONFIG_AUX_DIR([build-aux])\n")))))
|
|
|
|
|
(add-before 'build 'build-and-install-html-doc
|
2018-11-21 04:12:02 +00:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((html (string-append (assoc-ref outputs "doc")
|
|
|
|
|
"/share/doc/libmemcached/html/")))
|
|
|
|
|
(invoke "make" "install-html")
|
|
|
|
|
;; Cleanup useless files.
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(map (lambda (x) (string-append html x))
|
2021-03-16 02:48:35 +00:00
|
|
|
|
'("_sources" ".doctrees" ".buildinfo")))))))))
|
|
|
|
|
(home-page "https://libmemcached.org/libMemcached.html")
|
2018-11-21 04:12:02 +00:00
|
|
|
|
(synopsis "C++ library for memcached")
|
|
|
|
|
(description "libMemcached is a library to use memcached in C/C++
|
|
|
|
|
applications. It comes with a complete reference guide and documentation of
|
|
|
|
|
the API, and provides features such as:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Asynchronous and synchronous transport support
|
|
|
|
|
@item Consistent hashing and distribution
|
|
|
|
|
@item Tunable hashing algorithm to match keys
|
|
|
|
|
@item Access to large object support
|
|
|
|
|
@item Local replication
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2024-07-08 22:26:35 +00:00
|
|
|
|
(define-public python-adbc-driver-manager
|
|
|
|
|
(package
|
|
|
|
|
(name "python-adbc-driver-manager")
|
|
|
|
|
(version "1.1.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "adbc_driver_manager" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "00i3zg6rbzdz767j9w22ajw8rxwbhkrmzwwlmx11q56cvnig0cm3"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
;; TODO: Pack arrow-adbc/c/driver/sqlite for tests.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:build-backend "setuptools.build_meta"))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-typing-extensions))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-cython-3
|
|
|
|
|
python-pytest))
|
|
|
|
|
(home-page "https://arrow.apache.org/adbc/")
|
|
|
|
|
(synopsis "Generic entrypoint for ADBC drivers in Python")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains bindings for the ADBC Driver Manager, as well as a
|
|
|
|
|
@url{https://peps.python.org/pep-0249/,DBAPI 2.0/PEP 249-compatible} interface
|
|
|
|
|
on top. This can be used to load ADBC drivers at runtime and use them from
|
|
|
|
|
Python. Backend-specific packages like @code{adbc_driver_postgresql} wrap
|
|
|
|
|
this package in a more convenient interface, and should be preferred where
|
|
|
|
|
they exist.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2024-01-16 14:40:22 +00:00
|
|
|
|
(define-public python-prisma
|
|
|
|
|
(package
|
|
|
|
|
(name "python-prisma")
|
|
|
|
|
(version "0.12.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "prisma" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1y9m3bailnvid59dl4vx31vysaqbcg6gsppskyymaxg3m96808pc"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-cached-property
|
|
|
|
|
python-click
|
|
|
|
|
python-dotenv
|
|
|
|
|
python-httpx
|
|
|
|
|
python-jinja2
|
|
|
|
|
python-nodeenv
|
|
|
|
|
python-pydantic
|
|
|
|
|
python-strenum
|
|
|
|
|
python-tomlkit
|
|
|
|
|
python-typing-extensions))
|
|
|
|
|
(home-page "https://github.com/RobertCraigie/prisma-client-py")
|
|
|
|
|
(synopsis "Fully type-safe database client")
|
|
|
|
|
(description
|
|
|
|
|
"Prisma Client Python is an auto-generated and fully type-safe database
|
|
|
|
|
client.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2018-11-21 04:12:23 +00:00
|
|
|
|
(define-public python-pylibmc
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pylibmc")
|
2022-12-11 00:00:01 +00:00
|
|
|
|
(version "1.6.3")
|
2018-11-21 04:12:23 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pylibmc" version))
|
|
|
|
|
(sha256
|
2022-12-11 00:00:01 +00:00
|
|
|
|
(base32 "1q06696lxpqn155sydg3z6dksimks6n35q72zdjsvarpal8ldypf"))))
|
2018-11-21 04:12:23 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'start-memcached-daemon
|
|
|
|
|
;; The test suite requires a memcached server.
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "memcached" "-d"))))))
|
|
|
|
|
(native-inputs
|
2022-12-11 00:00:01 +00:00
|
|
|
|
(list memcached python-pytest))
|
2018-11-21 04:12:23 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list libmemcached zlib cyrus-sasl))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://sendapatch.se/projects/pylibmc/")
|
2019-10-16 00:24:07 +00:00
|
|
|
|
(synopsis "Python client for memcached")
|
2018-11-21 04:12:23 +00:00
|
|
|
|
(description
|
|
|
|
|
"@code{pylibmc} is a client in Python for memcached. It is a wrapper
|
|
|
|
|
around TangentOrg’s libmemcached library, and can be used as a drop-in
|
|
|
|
|
replacement for the code@{python-memcached} library.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2022-01-18 13:33:39 +00:00
|
|
|
|
(define-public go-github-com-bradfitz-gomemcache
|
|
|
|
|
(package
|
|
|
|
|
(name "go-github-com-bradfitz-gomemcache")
|
|
|
|
|
(version "0.0.0-20190913173617-a41fca850d0b")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/bradfitz/gomemcache")
|
|
|
|
|
(commit (go-version->git-ref version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "18qpds6xr73jy80pj7l3pc1l1ndcy3va2dl8fzk17bgwg49sxwfz"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Fixes the 'untyped-int -> string of one rune' issue.
|
|
|
|
|
;; https://github.com/golang/go/issues/32479
|
|
|
|
|
(substitute* "memcache/memcache_test.go"
|
|
|
|
|
(("string\\(0x7f") "string(rune(0x7f)"))))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:unpack-path "github.com/bradfitz/gomemcache"
|
|
|
|
|
#:import-path "github.com/bradfitz/gomemcache/memcache"))
|
|
|
|
|
(home-page "https://github.com/bradfitz/gomemcache")
|
|
|
|
|
(synopsis "Memcache client library in Go")
|
|
|
|
|
(description
|
|
|
|
|
"This is a memcache client library for the Go programming language.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2022-01-18 13:43:44 +00:00
|
|
|
|
(define-public go-github-com-couchbase-gomemcached
|
|
|
|
|
(package
|
|
|
|
|
(name "go-github-com-couchbase-gomemcached")
|
|
|
|
|
(version "0.1.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/couchbase/gomemcached")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "10w74gc05x5naspls39sv2r92krrg31mk266w3lyqqwc0s3fxysl"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments '(#:import-path "github.com/couchbase/gomemcached"))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list go-github-com-stretchr-testify))
|
|
|
|
|
(home-page "https://github.com/couchbase/gomemcached")
|
|
|
|
|
(synopsis "Memcached binary protocol toolkit for go")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides memcache client and server functionality.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-11-20 09:26:47 +00:00
|
|
|
|
(define-public litecli
|
|
|
|
|
(package
|
|
|
|
|
(name "litecli")
|
2022-06-17 05:37:23 +00:00
|
|
|
|
(version "1.9.0")
|
2021-11-20 09:26:47 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "litecli" version))
|
|
|
|
|
(sha256
|
2022-06-17 05:37:23 +00:00
|
|
|
|
(base32 "1897divrdqlhl1p5jvvm29rg3d99f48s58na7hgdzm1x13x2rbr1"))))
|
2021-11-20 09:26:47 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-cli-helpers
|
|
|
|
|
python-click
|
|
|
|
|
python-configobj
|
|
|
|
|
python-prompt-toolkit
|
|
|
|
|
python-pygments
|
|
|
|
|
python-sqlparse))
|
2021-11-20 09:26:47 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-mock python-pytest))
|
2021-11-20 09:26:47 +00:00
|
|
|
|
(home-page "https://litecli.com")
|
|
|
|
|
(synopsis "CLI for SQLite databases")
|
|
|
|
|
(description
|
|
|
|
|
"@code{litecli} is a command-line client for SQLite databases that has
|
|
|
|
|
auto-completion and syntax highlighting.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2022-01-14 09:09:55 +00:00
|
|
|
|
(define-public python-pgspecial
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pgspecial")
|
|
|
|
|
(version "1.13.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pgspecial" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "00ddkf565rjcxmfml1z4mmkns1aq8x5s5g85xmnz2scln42y4irq"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-click python-sqlparse python-psycopg2))
|
|
|
|
|
(home-page "https://github.com/dbcli/pgspecial")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Python implementation of PostgreSQL meta commands (backslash commands)")
|
|
|
|
|
(description
|
|
|
|
|
"This Python package provides an API to execute meta-commands (AKA
|
|
|
|
|
\"special\", or \"backslash commands\") on PostgreSQL.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2022-08-16 09:06:19 +00:00
|
|
|
|
(define-public python-sqlitedict
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlitedict")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "sqlitedict" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05sxy016k3p5sjjhdg0ad9z15i6vm3rq4cr9m8nrc7jfdx0p18r3"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest" "-vv"
|
|
|
|
|
"-k"
|
|
|
|
|
;; No idea why these fail.
|
|
|
|
|
(string-append "not test_py24_error"
|
|
|
|
|
" and not test_tablenames"))))))))
|
|
|
|
|
(native-inputs (list python-pytest))
|
|
|
|
|
(home-page "https://github.com/piskvorky/sqlitedict")
|
|
|
|
|
(synopsis "Persistent dict backed up by sqlite3 and pickle")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a lightweight wrapper around the sqlite3 database
|
|
|
|
|
with a simple, Pythonic @code{dict}-like interface and support for
|
|
|
|
|
multi-thread access.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2021-11-19 06:00:48 +00:00
|
|
|
|
(define-public pgcli
|
|
|
|
|
(package
|
|
|
|
|
(name "pgcli")
|
|
|
|
|
(version "3.2.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pgcli" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1dy6yzak696107pqv83296h0xhc3ahlfaydm80593gwn37krgpkc"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-cli-helpers
|
|
|
|
|
python-click
|
|
|
|
|
python-configobj
|
|
|
|
|
python-pendulum
|
|
|
|
|
python-pgspecial
|
|
|
|
|
python-prompt-toolkit
|
|
|
|
|
python-psycopg2
|
|
|
|
|
python-pygments
|
|
|
|
|
python-setproctitle
|
|
|
|
|
python-sqlparse))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-ipython-sql))
|
|
|
|
|
(home-page "https://www.pgcli.com")
|
|
|
|
|
(synopsis "PostgreSQL CLI with autocompletion and syntax highlighting")
|
|
|
|
|
(description
|
|
|
|
|
"@code{pgcli} is a command line interface for PostgreSQL with
|
|
|
|
|
autocompletion and syntax highlighting.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2020-07-04 19:31:42 +00:00
|
|
|
|
(define-public mycli
|
|
|
|
|
(package
|
|
|
|
|
(name "mycli")
|
2022-05-29 00:00:00 +00:00
|
|
|
|
(version "1.25.0")
|
2020-07-04 19:31:42 +00:00
|
|
|
|
(source
|
2022-01-14 09:09:55 +00:00
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "mycli" version))
|
|
|
|
|
(sha256
|
2022-05-29 00:00:00 +00:00
|
|
|
|
(base32 "0231v7f6q84mjmi1h0ni3s55m2g8p5d7x5q49bgkxlaz2bc2xwgy"))))
|
2020-07-04 19:31:42 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2022-05-29 00:00:00 +00:00
|
|
|
|
'(#:tests? #f)) ; tests expect a running MySQL
|
2020-07-04 19:31:42 +00:00
|
|
|
|
(propagated-inputs
|
2022-01-14 09:09:55 +00:00
|
|
|
|
(list python-cli-helpers
|
|
|
|
|
python-click
|
|
|
|
|
python-configobj
|
|
|
|
|
python-prompt-toolkit
|
|
|
|
|
python-pyaes
|
|
|
|
|
python-pygments
|
|
|
|
|
python-pymysql
|
|
|
|
|
python-pyperclip
|
|
|
|
|
python-sqlparse))
|
2021-11-19 16:04:48 +00:00
|
|
|
|
(home-page "https://www.mycli.net")
|
2020-07-04 19:31:42 +00:00
|
|
|
|
(synopsis
|
2022-01-14 09:09:55 +00:00
|
|
|
|
"Terminal Client for MySQL with AutoCompletion and Syntax Highlighting")
|
2020-07-04 19:31:42 +00:00
|
|
|
|
(description
|
2022-01-14 09:09:55 +00:00
|
|
|
|
"MyCLI is a command line interface for MySQL, MariaDB, and Percona with
|
2020-07-04 19:31:42 +00:00
|
|
|
|
auto-completion and syntax highlighting.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2018-08-15 21:26:39 +00: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 15:48:03 +00:00
|
|
|
|
(define-public mysql
|
|
|
|
|
(package
|
|
|
|
|
(name "mysql")
|
2021-03-10 11:22:17 +00:00
|
|
|
|
(version "5.7.33")
|
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 15:48:03 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-03-17 19:58:50 +00:00
|
|
|
|
(uri (list (string-append
|
2018-08-15 21:12:31 +00:00
|
|
|
|
"https://dev.mysql.com/get/Downloads/MySQL-"
|
2016-03-17 19:58:50 +00:00
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
name "-" version ".tar.gz")
|
|
|
|
|
(string-append
|
2018-08-15 21:12:31 +00:00
|
|
|
|
"https://downloads.mysql.com/archives/get/file/"
|
2016-03-17 19:58:50 +00: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 15:48:03 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-10 11:22:17 +00:00
|
|
|
|
"1bb343mf7n0qg2qz497gxjsqprygrjz1q1pbz76hgqxnsy08sfxd"))))
|
2015-06-09 10:07:46 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2016-09-23 03:33:19 +00:00
|
|
|
|
`(#:configure-flags
|
2015-06-09 10:07:46 +00: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 21:39:31 +00:00
|
|
|
|
"-DINSTALL_SQLBENCHDIR=")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2015-06-27 08:13:39 +00: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$"))
|
2021-09-21 06:35:56 +00:00
|
|
|
|
#t)))
|
|
|
|
|
(add-after
|
|
|
|
|
'install 'wrap-mysql_helpers
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(awk (assoc-ref inputs "gawk"))
|
|
|
|
|
(coreutils (assoc-ref inputs "coreutils"))
|
|
|
|
|
(grep (assoc-ref inputs "grep"))
|
|
|
|
|
(ps (assoc-ref inputs "procps"))
|
|
|
|
|
(sed (assoc-ref inputs "sed")))
|
|
|
|
|
(wrap-program (string-append bin "/mysql_config")
|
|
|
|
|
`("PATH" ":" suffix
|
|
|
|
|
(,(string-append awk "/bin")
|
|
|
|
|
,(string-append coreutils "/bin")
|
|
|
|
|
,(string-append sed "/bin"))))
|
|
|
|
|
(wrap-program (string-append bin "/mysqld_safe")
|
|
|
|
|
`("PATH" ":" suffix
|
|
|
|
|
(,(string-append awk "/bin")
|
|
|
|
|
,(string-append coreutils "/bin")
|
|
|
|
|
,(string-append grep "/bin")
|
|
|
|
|
,(string-append ps "/bin")
|
|
|
|
|
,(string-append sed "/bin"))))
|
2017-09-01 07:48:44 +00:00
|
|
|
|
#t))))))
|
2015-06-09 10:07:46 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list bison perl 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 15:48:03 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list boost-for-mysql
|
|
|
|
|
coreutils
|
|
|
|
|
gawk
|
|
|
|
|
grep
|
|
|
|
|
libaio
|
|
|
|
|
libtirpc
|
|
|
|
|
ncurses
|
2023-04-17 09:55:12 +00:00
|
|
|
|
openssl-1.1
|
2021-12-13 16:18:24 +00:00
|
|
|
|
procps
|
|
|
|
|
rpcsvc-proto ; rpcgen
|
|
|
|
|
sed
|
|
|
|
|
zlib))
|
2018-08-15 21:12:31 +00:00
|
|
|
|
(home-page "https://www.mysql.com/")
|
2014-09-13 13:50:30 +00: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 15:48:03 +00: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 19:17:36 +00: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 15:48:03 +00:00
|
|
|
|
|
2015-04-16 08:48:31 +00:00
|
|
|
|
(define-public mariadb
|
|
|
|
|
(package
|
|
|
|
|
(name "mariadb")
|
2022-09-08 17:55:23 +00:00
|
|
|
|
(version "10.10.2")
|
2015-04-16 08:48:31 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-08-01 12:20:47 +00:00
|
|
|
|
(uri (string-append "https://downloads.mariadb.com/MariaDB"
|
|
|
|
|
"/mariadb-" version "/source/mariadb-"
|
|
|
|
|
version ".tar.gz"))
|
2015-04-16 08:48:31 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-09-08 17:55:23 +00:00
|
|
|
|
"1ciw7y08wms9g3hzhyria49r1b9n5wpbhkndazv95d925c8x1jsp"))
|
2018-07-16 19:31:42 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
2022-09-08 17:55:23 +00:00
|
|
|
|
;; Delete bundled libraries, but preserve CMakeLists.txt.
|
2018-07-16 19:31:42 +00:00
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(unless (string-suffix? "CMakeLists.txt" file)
|
|
|
|
|
(delete-file file)))
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(append (find-files "extra/wolfssl")
|
2021-10-21 02:24:09 +00:00
|
|
|
|
(find-files "zlib")))))))
|
2015-04-16 08:48:31 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2019-08-30 20:52:06 +00:00
|
|
|
|
(outputs '("out" "lib" "dev"))
|
2015-04-16 08:48:31 +00:00
|
|
|
|
(arguments
|
2018-07-28 09:00:49 +00:00
|
|
|
|
`(#:configure-flags
|
2019-08-30 20:52:06 +00:00
|
|
|
|
(list
|
|
|
|
|
"-DBUILD_CONFIG=mysql_release"
|
2019-07-14 21:06:24 +00:00
|
|
|
|
|
2018-07-16 19:31:42 +00:00
|
|
|
|
;; Ensure the system libraries are used.
|
|
|
|
|
"-DWITH_JEMALLOC=yes"
|
2022-09-08 17:55:23 +00:00
|
|
|
|
"-DWITH_LIBFMT=system"
|
2018-07-16 19:31:42 +00:00
|
|
|
|
"-DWITH_PCRE=system"
|
|
|
|
|
"-DWITH_SSL=system"
|
|
|
|
|
"-DWITH_ZLIB=system"
|
|
|
|
|
|
2015-04-16 08:48:31 +00:00
|
|
|
|
"-DDEFAULT_CHARSET=utf8"
|
|
|
|
|
"-DDEFAULT_COLLATION=utf8_general_ci"
|
|
|
|
|
"-DMYSQL_DATADIR=/var/lib/mysql"
|
|
|
|
|
"-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
|
2020-11-29 19:09:32 +00:00
|
|
|
|
|
2020-12-20 15:12:50 +00:00
|
|
|
|
;; Do not install the benchmark suite.
|
2020-11-29 19:09:32 +00:00
|
|
|
|
"-DINSTALL_SQLBENCHDIR=false"
|
|
|
|
|
|
2019-08-30 20:52:06 +00:00
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX=" (assoc-ref %outputs "lib"))
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_RPATH=" (assoc-ref %outputs "lib")
|
|
|
|
|
"/lib")
|
|
|
|
|
(string-append "-DINSTALL_INFODIR=" (assoc-ref %outputs "out")
|
|
|
|
|
"/share/mysql/docs")
|
|
|
|
|
(string-append "-DINSTALL_MANDIR=" (assoc-ref %outputs "out")
|
|
|
|
|
"/share/man")
|
|
|
|
|
(string-append "-DINSTALL_SCRIPTDIR=" (assoc-ref %outputs "out") "/bin")
|
|
|
|
|
(string-append "-DINSTALL_BINDIR=" (assoc-ref %outputs "out") "/bin")
|
|
|
|
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
2015-04-16 08:48:31 +00:00
|
|
|
|
"-DINSTALL_PLUGINDIR=lib/mysql/plugin"
|
2019-08-30 20:52:06 +00:00
|
|
|
|
(string-append "-DINSTALL_INCLUDEDIR=" (assoc-ref %outputs "dev")
|
|
|
|
|
"/include/mysql")
|
|
|
|
|
(string-append "-DINSTALL_DOCREADMEDIR=" (assoc-ref %outputs "out")
|
|
|
|
|
"/share/mysql/docs")
|
|
|
|
|
(string-append "-DINSTALL_DOCDIR=" (assoc-ref %outputs "out")
|
|
|
|
|
"/share/mysql/docs")
|
|
|
|
|
(string-append "-DINSTALL_SUPPORTFILESDIR=" (assoc-ref %outputs "out")
|
|
|
|
|
"/share/mysql/support-files")
|
2015-04-16 08:48:31 +00:00
|
|
|
|
"-DINSTALL_MYSQLSHAREDIR=share/mysql"
|
2018-07-26 12:34:27 +00:00
|
|
|
|
"-DINSTALL_SHAREDIR=share")
|
2021-10-26 05:37:17 +00:00
|
|
|
|
;; The test suite has spurious failures (mostly timeouts) if run in
|
|
|
|
|
;; parallel on various machines. Only enable parallel tests on
|
|
|
|
|
;; architectures which are likely to not have this issue.
|
|
|
|
|
#:parallel-tests? ,(target-x86-64?)
|
2015-04-16 08:48:31 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2023-05-15 08:11:49 +00:00
|
|
|
|
;; TODO: Move this patch to the source field.
|
|
|
|
|
,@(if (target-riscv64?)
|
|
|
|
|
`((add-after 'unpack 'patch-source
|
|
|
|
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
|
|
|
|
(invoke "patch" "-p1" "--force" "--input"
|
|
|
|
|
(assoc-ref (or native-inputs inputs)
|
|
|
|
|
"patch-file")))))
|
|
|
|
|
'())
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(add-after 'unpack 'adjust-output-references
|
2018-07-16 19:31:42 +00:00
|
|
|
|
(lambda _
|
2020-08-31 11:35:19 +00:00
|
|
|
|
;; The build system invariably prepends $CMAKE_INSTALL_PREFIX
|
|
|
|
|
;; to other variables such as $INSTALL_INCLUDEDIR, which does
|
|
|
|
|
;; not work when the latter uses an absolute file name.
|
|
|
|
|
(substitute* "libmariadb/mariadb_config/mariadb_config.c.in"
|
2020-12-20 15:12:50 +00:00
|
|
|
|
(("%s/@INSTALL_INCLUDEDIR@")
|
|
|
|
|
(string-append "@INSTALL_INCLUDEDIR@"))
|
|
|
|
|
;; As of 10.5.8, the mariadb_config program tries to be
|
|
|
|
|
;; clever and computes the installation directory relative
|
|
|
|
|
;; to /proc/self/exe when running on Linux. Make it fall
|
|
|
|
|
;; back to the old behaviour.
|
|
|
|
|
(("defined\\(__linux__\\)")
|
|
|
|
|
"0"))
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(substitute* "libmariadb/mariadb_config/libmariadb.pc.in"
|
|
|
|
|
(("\\$\\{prefix\\}/@INSTALL_INCLUDEDIR@")
|
|
|
|
|
"@INSTALL_INCLUDEDIR@"))
|
2020-12-20 15:12:50 +00:00
|
|
|
|
(substitute* "support-files/mariadb.pc.in"
|
|
|
|
|
(("^(include|bin|script|doc|man)dir=\\$\\{prefix\\}/" _ dir)
|
|
|
|
|
(string-append dir "dir=")))
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(substitute* "include/CMakeLists.txt"
|
|
|
|
|
(("\\\\\\$\\{CMAKE_INSTALL_PREFIX\\}/\\$\\{INSTALL_INCLUDEDIR\\}")
|
|
|
|
|
"${INSTALL_INCLUDEDIR}"))
|
2020-12-20 15:12:50 +00:00
|
|
|
|
(substitute* "cmake/mariadb_connector_c.cmake"
|
|
|
|
|
(("\\\\\\$\\{CMAKE_INSTALL_PREFIX\\}/\\$\\{INSTALL_BINDIR\\}")
|
2021-10-21 02:24:09 +00:00
|
|
|
|
"${INSTALL_BINDIR}"))))
|
2018-07-17 22:49:08 +00: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.explain_non_select"
|
2020-11-29 19:09:32 +00:00
|
|
|
|
"main.upgrade_MDEV-19650"
|
2018-08-06 22:51:48 +00:00
|
|
|
|
"roles.acl_statistics"
|
2022-09-08 17:55:23 +00:00
|
|
|
|
"main.stat_tables_innodb"
|
|
|
|
|
"main.stat_tables"
|
|
|
|
|
"main.mysql_upgrade"
|
2019-02-06 22:30:34 +00:00
|
|
|
|
|
2021-09-29 08:00:32 +00:00
|
|
|
|
;; Probably same as above, test failure reported upstream:
|
|
|
|
|
;; <https://jira.mariadb.org/browse/MDEV-26320>.
|
|
|
|
|
"main.selectivity_no_engine"
|
|
|
|
|
|
2020-11-29 19:09:32 +00:00
|
|
|
|
;; FIXME: This test checks various table encodings and
|
|
|
|
|
;; fails because Guix defaults to UTF8 instead of the
|
|
|
|
|
;; upstream default latin1_swedish_ci. It's not easily
|
|
|
|
|
;; substitutable because several encodings are tested.
|
2021-09-29 08:00:32 +00:00
|
|
|
|
"main.system_mysql_db"
|
2020-11-29 19:09:32 +00:00
|
|
|
|
|
2020-12-21 22:35:03 +00:00
|
|
|
|
;; XXX: This test occasionally fails on i686-linux:
|
|
|
|
|
;; <https://jira.mariadb.org/browse/MDEV-24458>
|
|
|
|
|
,@(if (string-prefix? "i686" (%current-system))
|
|
|
|
|
'("main.myisampack")
|
2021-09-29 08:00:32 +00:00
|
|
|
|
'())))
|
2018-07-17 22:49:08 +00: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)
|
|
|
|
|
|
2020-02-12 16:40:49 +00:00
|
|
|
|
(substitute* "mysql-test/suite/binlog/t/binlog_mysqlbinlog_stop_never.test"
|
|
|
|
|
(("/bin/bash")
|
|
|
|
|
(which "bash")))
|
|
|
|
|
|
2022-09-08 17:55:23 +00:00
|
|
|
|
(substitute* "mysql-test/mariadb-test-run.pl"
|
2018-07-17 22:49:08 +00:00
|
|
|
|
(("/bin/ls") (which "ls"))
|
2021-10-21 02:24:09 +00:00
|
|
|
|
(("/bin/sh") (which "sh"))))))
|
2018-07-17 22:49:08 +00:00
|
|
|
|
(replace 'check
|
2021-09-29 07:04:45 +00:00
|
|
|
|
(lambda* (#:key (tests? #t) parallel-tests? #:allow-other-keys)
|
2018-07-17 22:49:08 +00:00
|
|
|
|
(if tests?
|
|
|
|
|
(with-directory-excursion "mysql-test"
|
2022-09-08 17:55:23 +00:00
|
|
|
|
(invoke "./mariadb-test-run"
|
|
|
|
|
"--verbose"
|
2018-08-06 22:51:48 +00:00
|
|
|
|
"--retry=3"
|
2021-10-21 02:24:09 +00:00
|
|
|
|
"--suite=main"
|
2018-08-07 11:41:08 +00:00
|
|
|
|
"--testcase-timeout=40"
|
|
|
|
|
"--suite-timeout=600"
|
2021-09-29 07:04:45 +00:00
|
|
|
|
"--parallel" (number->string (if parallel-tests?
|
|
|
|
|
(parallel-job-count)
|
|
|
|
|
1))
|
2020-09-12 13:43:27 +00:00
|
|
|
|
;; Skip the replication tests: they are very I/O
|
|
|
|
|
;; intensive and frequently causes indeterministic
|
|
|
|
|
;; failures even on powerful hardware.
|
|
|
|
|
"--skip-rpl"
|
2018-07-17 22:49:08 +00:00
|
|
|
|
"--skip-test-list=unstable-tests"))
|
2021-10-21 02:24:09 +00:00
|
|
|
|
(format #t "test suite not run~%"))))
|
2022-10-28 19:58:05 +00:00
|
|
|
|
(add-after 'install 'post-install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
2019-08-30 20:52:06 +00:00
|
|
|
|
(dev (assoc-ref outputs "dev"))
|
2019-12-10 15:19:23 +00:00
|
|
|
|
(lib (assoc-ref outputs "lib"))
|
2022-10-28 19:58:05 +00:00
|
|
|
|
(openssl (dirname (search-input-file inputs "lib/libssl.so"))))
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(substitute* (list (string-append out "/bin/mariadb-install-db")
|
|
|
|
|
(string-append out "/bin/mysql_install_db"))
|
2015-04-16 08:48:31 +00:00
|
|
|
|
(("basedir=\"\"")
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(string-append "basedir=\"" out "\""))
|
|
|
|
|
(("\\$basedir/share/mysql")
|
|
|
|
|
(string-append lib "/share/mysql")))
|
|
|
|
|
|
2019-08-30 20:52:06 +00:00
|
|
|
|
(with-directory-excursion lib
|
2020-12-20 15:12:50 +00:00
|
|
|
|
;; Remove tests.
|
|
|
|
|
(delete-file-recursively "mysql-test")
|
2020-11-29 19:09:32 +00:00
|
|
|
|
;; Remove static libraries.
|
2018-07-17 00:50:58 +00:00
|
|
|
|
(for-each delete-file (find-files "lib" "\\.a$")))
|
2020-11-29 19:09:32 +00:00
|
|
|
|
|
2019-08-30 20:52:06 +00:00
|
|
|
|
(with-directory-excursion out
|
|
|
|
|
(delete-file "share/man/man1/mysql-test-run.pl.1")
|
|
|
|
|
;; Delete huge and unnecessary executables.
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(for-each delete-file (find-files "bin" "test$")))
|
2019-08-30 20:52:06 +00:00
|
|
|
|
(mkdir-p (string-append dev "/share"))
|
|
|
|
|
(mkdir-p (string-append dev "/bin"))
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(rename-file (string-append lib "/bin/mariadbd")
|
|
|
|
|
(string-append out "/bin/mariadbd"))
|
2019-08-30 20:52:06 +00:00
|
|
|
|
(rename-file (string-append lib "/bin/mysqld")
|
|
|
|
|
(string-append out "/bin/mysqld"))
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(mkdir-p (string-append dev "/lib"))
|
|
|
|
|
(rename-file (string-append lib "/lib/pkgconfig")
|
|
|
|
|
(string-append dev "/lib/pkgconfig"))
|
2022-09-08 17:55:23 +00:00
|
|
|
|
(rename-file (string-append out "/bin/mariadb_config")
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(string-append dev "/bin/mariadb_config"))
|
2019-08-30 20:52:06 +00:00
|
|
|
|
(rename-file (string-append out "/bin/mysql_config")
|
|
|
|
|
(string-append dev "/bin/mysql_config"))
|
2019-12-10 15:19:23 +00:00
|
|
|
|
|
|
|
|
|
;; Embed an absolute reference to OpenSSL in mysql_config
|
|
|
|
|
;; and the pkg-config file to avoid propagation.
|
2020-08-31 11:35:19 +00:00
|
|
|
|
;; XXX: how to do this for mariadb_config.c.in?
|
2019-12-10 15:19:23 +00:00
|
|
|
|
(substitute* (list (string-append dev "/bin/mysql_config")
|
2020-08-31 11:35:19 +00:00
|
|
|
|
(string-append dev "/lib/pkgconfig/mariadb.pc"))
|
2019-12-10 15:19:23 +00:00
|
|
|
|
(("-lssl -lcrypto" all)
|
2022-10-28 19:58:05 +00:00
|
|
|
|
(string-append "-L" openssl " " all)))))))))
|
2015-04-16 08:48:31 +00:00
|
|
|
|
(native-inputs
|
2023-05-15 08:11:49 +00:00
|
|
|
|
`(,@(if (target-riscv64?)
|
|
|
|
|
`(("patch" ,patch)
|
|
|
|
|
("patch-file" ,(search-patch "mariadb-rocksdb-atomic-linking.patch")))
|
|
|
|
|
`())
|
|
|
|
|
("bison" ,bison)
|
|
|
|
|
("perl" ,perl)))
|
2015-04-16 08:48:31 +00:00
|
|
|
|
(inputs
|
2022-10-28 19:58:05 +00:00
|
|
|
|
(list fmt
|
|
|
|
|
jemalloc
|
|
|
|
|
libaio
|
|
|
|
|
libxml2
|
|
|
|
|
ncurses
|
|
|
|
|
openssl
|
|
|
|
|
linux-pam
|
|
|
|
|
pcre2
|
|
|
|
|
xz
|
|
|
|
|
zlib))
|
2018-07-17 22:49:08 +00: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 08:48:31 +00: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 19:17:36 +00:00
|
|
|
|
(license license:gpl2)))
|
2015-04-16 08:48:31 +00:00
|
|
|
|
|
2020-01-18 17:39:41 +00:00
|
|
|
|
(define-public mariadb-connector-c
|
|
|
|
|
(package
|
|
|
|
|
(name "mariadb-connector-c")
|
2021-06-25 16:53:10 +00:00
|
|
|
|
(version "3.1.13")
|
2020-11-09 21:59:27 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://downloads.mariadb.org/f/connector-c-" version
|
|
|
|
|
"/mariadb-connector-c-" version "-src.tar.gz"
|
|
|
|
|
"/from/https%3A//mirrors.ukfast.co.uk/sites/mariadb/?serve"))
|
2021-03-04 15:57:03 +00:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2020-11-09 21:59:27 +00:00
|
|
|
|
(sha256
|
2021-06-25 16:53:10 +00:00
|
|
|
|
(base32 "0xb8fiissblxb319y5ifqqp86zblwis789ipb753pcb4zpnsaw82"))))
|
2019-12-18 21:20:07 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list openssl))
|
2020-01-18 17:39:41 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2019-12-18 21:20:07 +00:00
|
|
|
|
(arguments
|
2020-06-01 19:24:29 +00:00
|
|
|
|
'(#:tests? #f)) ; no tests
|
2020-01-18 17:39:41 +00:00
|
|
|
|
(home-page "https://mariadb.com/kb/en/mariadb-connector-c/")
|
|
|
|
|
(synopsis "Client library to connect to MySQL or MariaDB")
|
|
|
|
|
(description "The MariaDB Connector/C is used to connect applications
|
|
|
|
|
developed in C/C++ to MariaDB and MySQL databases.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2019-12-18 21:20:07 +00:00
|
|
|
|
|
2021-03-31 10:38:50 +00:00
|
|
|
|
(define-public galera
|
|
|
|
|
(package
|
|
|
|
|
(name "galera")
|
2024-05-05 21:52:46 +00:00
|
|
|
|
(version "26.4.18")
|
2021-03-31 10:38:50 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/codership/galera")
|
2021-12-19 05:59:06 +00:00
|
|
|
|
(commit (string-append "release_" version))
|
2021-03-31 10:38:50 +00:00
|
|
|
|
(recursive? #t)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2024-05-05 21:52:46 +00:00
|
|
|
|
(base32 "1agw763qx9778krcpmgvwcps73ipyjwl0niwsykcxldvzzs314r5"))))
|
2021-03-31 10:38:50 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
2024-05-05 21:52:46 +00:00
|
|
|
|
(list boost openssl))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list check))
|
2021-03-31 10:38:50 +00:00
|
|
|
|
(home-page "https://github.com/codership/galera/")
|
|
|
|
|
(synopsis "Extension to the MariaDB database server")
|
|
|
|
|
(description
|
|
|
|
|
"Galera is a wsrep-provider that is used with MariaDB for load-balancing
|
|
|
|
|
and high-availability (HA).")
|
|
|
|
|
(license license:gpl2))) ;'COPYING' says "version 2" only
|
|
|
|
|
|
2018-07-15 18:46:16 +00:00
|
|
|
|
;; Don't forget to update the other postgresql packages when upgrading this one.
|
2022-11-20 15:37:01 +00:00
|
|
|
|
(define-public postgresql-15
|
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 15:48:03 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "postgresql")
|
2024-07-01 14:04:42 +00:00
|
|
|
|
(version "15.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 15:48:03 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-04-01 10:57:21 +00:00
|
|
|
|
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
2015-04-23 10:27:47 +00: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 15:48:03 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-07-01 14:04:42 +00:00
|
|
|
|
"1xwq1592k1r64ki9bmkcyw39416kymabdfxbkpiqaqxbhnaf8vx4"))
|
2018-07-28 15:38:38 +00: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 15:48:03 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2016-03-24 13:23:55 +00:00
|
|
|
|
(arguments
|
2021-12-12 18:31:34 +00:00
|
|
|
|
(list
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "--with-uuid=e2fs" "--with-openssl"
|
|
|
|
|
(string-append "--mandir=" #$output "/share/man")
|
|
|
|
|
;; PostgreSQL installs its own Makefile (should it?).
|
|
|
|
|
;; Prevent it from retaining needless references to
|
|
|
|
|
;; the build tools in order to save size.
|
|
|
|
|
"MKDIR_P=mkdir -p" "INSTALL_BIN=install -c"
|
|
|
|
|
"LD=ld" "TAR=tar")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-/bin/sh
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Refer to the actual shell.
|
|
|
|
|
(substitute* '("src/bin/pg_ctl/pg_ctl.c"
|
|
|
|
|
"src/bin/psql/command.c")
|
|
|
|
|
(("/bin/sh") (which "sh")))))
|
|
|
|
|
(add-before 'configure 'set-socket-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("src/include/pg_config_manual.h")
|
|
|
|
|
(("DEFAULT_PGSOCKET_DIR[^\n]*")
|
|
|
|
|
"DEFAULT_PGSOCKET_DIR \"/var/run/postgresql\""))))
|
|
|
|
|
(add-after 'build 'build-contrib
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "-C" "contrib")))
|
|
|
|
|
(add-after 'install 'install-contrib
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "-C" "contrib" "install")))
|
|
|
|
|
(add-after 'install 'install-manuals
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "doc/src/sgml"
|
|
|
|
|
(invoke "make" "install-man")
|
|
|
|
|
(invoke "make" "postgres.info")
|
|
|
|
|
(install-file "postgres.info"
|
|
|
|
|
(string-append #$output "/share/info"))))))))
|
2023-04-20 18:40:45 +00:00
|
|
|
|
(native-inputs (list docbook-xml-4.5 docbook2x libxml2 perl texinfo))
|
2021-12-12 18:31:34 +00:00
|
|
|
|
(inputs (list readline `(,util-linux "lib") openssl zlib))
|
2016-11-09 09:39:30 +00: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 15:48:03 +00: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 19:17:36 +00: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 15:48:03 +00:00
|
|
|
|
|
2022-11-20 15:37:01 +00:00
|
|
|
|
(define-public postgresql-14
|
|
|
|
|
(package
|
|
|
|
|
(inherit postgresql-15)
|
|
|
|
|
(name "postgresql")
|
2022-12-12 10:34:31 +00:00
|
|
|
|
(version "14.6")
|
2022-11-20 15:37:01 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (package-source postgresql-15))
|
|
|
|
|
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
|
|
|
|
version "/postgresql-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-12-12 10:34:31 +00:00
|
|
|
|
"08nzkq321fzfi8ba8gck9zxxg7xvv8vz3mbl4avrmlq933y4122h"))))))
|
2022-11-20 15:37:01 +00:00
|
|
|
|
|
2022-01-21 14:08:27 +00:00
|
|
|
|
(define-public postgresql-13
|
|
|
|
|
(package
|
|
|
|
|
(inherit postgresql-14)
|
2024-07-01 14:04:46 +00:00
|
|
|
|
(version "13.15")
|
2022-01-21 14:08:27 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(inherit (package-source postgresql-14))
|
|
|
|
|
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
|
|
|
|
version "/postgresql-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-07-01 14:04:46 +00:00
|
|
|
|
"09f99rp5q1xp769r71if9ckb4cbm0nnx2xmy8b1bhcvd8hax9va2"))))))
|
2022-06-14 12:20:59 +00:00
|
|
|
|
|
2020-12-13 20:13:03 +00:00
|
|
|
|
(define-public postgresql-11
|
2020-12-12 18:46:23 +00:00
|
|
|
|
(package
|
2020-12-13 20:13:03 +00:00
|
|
|
|
(inherit postgresql-13)
|
|
|
|
|
(name "postgresql")
|
2024-07-01 14:04:46 +00:00
|
|
|
|
(version "11.22")
|
2020-12-12 18:46:23 +00:00
|
|
|
|
(source (origin
|
2020-12-13 20:13:03 +00:00
|
|
|
|
(inherit (package-source postgresql-13))
|
2020-12-12 18:46:23 +00:00
|
|
|
|
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
|
|
|
|
version "/postgresql-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-07-01 14:04:46 +00:00
|
|
|
|
"1w71xf97i3hha6vl05xqf960k75nczs6375w3f2phwhdg9ywkdrc"))))
|
2022-06-02 11:32:31 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(modify-inputs (package-native-inputs postgresql-13)
|
|
|
|
|
(replace "docbook-xml" docbook-xml-4.2)))))
|
2020-12-12 18:46:23 +00:00
|
|
|
|
|
2020-12-13 20:13:03 +00:00
|
|
|
|
(define-public postgresql-10
|
2019-06-24 08:39:07 +00:00
|
|
|
|
(package
|
2020-12-13 20:13:03 +00:00
|
|
|
|
(inherit postgresql-11)
|
2022-11-20 15:49:05 +00:00
|
|
|
|
(version "10.23")
|
2019-06-24 08:39:07 +00:00
|
|
|
|
(source (origin
|
2020-12-13 20:13:03 +00:00
|
|
|
|
(inherit (package-source postgresql-11))
|
2019-06-24 08:39:07 +00:00
|
|
|
|
(uri (string-append "https://ftp.postgresql.org/pub/source/v"
|
|
|
|
|
version "/postgresql-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-11-20 15:49:05 +00:00
|
|
|
|
"1sgfssjc9lnzijhn108r6z26fri655k413f1c9b8wibjhd9b594l"))))
|
2022-06-05 14:27:15 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(modify-inputs (package-native-inputs postgresql-11)
|
|
|
|
|
(append opensp docbook-sgml-4.2)
|
|
|
|
|
(delete "docbook-xml")))))
|
2017-10-12 20:38:00 +00:00
|
|
|
|
|
2022-06-14 19:36:00 +00:00
|
|
|
|
(define-public postgresql postgresql-14)
|
2020-12-13 20:13:03 +00:00
|
|
|
|
|
2022-01-28 21:57:27 +00:00
|
|
|
|
(define-public timescaledb
|
|
|
|
|
(package
|
|
|
|
|
(name "timescaledb")
|
2022-11-11 02:06:24 +00:00
|
|
|
|
(version "2.8.1")
|
2022-01-28 21:57:27 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/timescale/timescaledb")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-11-11 02:06:24 +00:00
|
|
|
|
"1gbadna0ilmqad7sbrixm12wd71h43njhsbp1kh5lispb6drdb6r"))
|
2022-01-28 21:57:27 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove files carrying the proprietary TIMESCALE license.
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "tsl")
|
|
|
|
|
(for-each delete-file
|
2022-06-14 15:58:08 +00:00
|
|
|
|
'("scripts/c_license_header-timescale.h"
|
|
|
|
|
"scripts/license_tsl.spec"
|
|
|
|
|
"scripts/sql_license_tsl.sql"
|
|
|
|
|
"test/perl/AccessNode.pm"
|
2022-01-28 21:57:27 +00:00
|
|
|
|
"test/perl/DataNode.pm"
|
|
|
|
|
"test/perl/TimescaleNode.pm"))))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:imported-modules `((guix build union)
|
|
|
|
|
,@%cmake-build-system-modules)
|
|
|
|
|
#:modules `(,@%cmake-build-system-modules
|
|
|
|
|
(guix build union)
|
|
|
|
|
(ice-9 match))
|
|
|
|
|
#:configure-flags #~(list "-DAPACHE_ONLY=ON"
|
|
|
|
|
"-DSEND_TELEMETRY_DEFAULT=OFF")
|
|
|
|
|
#:test-target "regresschecklocal"
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases (@ (guix build cmake-build-system) %standard-phases)
|
|
|
|
|
(add-after 'unpack 'patch-install-location
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Install extension to the output instead of the
|
|
|
|
|
;; PostgreSQL store directory.
|
|
|
|
|
(substitute* '("CMakeLists.txt"
|
|
|
|
|
"cmake/GenerateScripts.cmake"
|
|
|
|
|
"sql/CMakeLists.txt")
|
|
|
|
|
(("\\$\\{PG_SHAREDIR\\}/extension")
|
|
|
|
|
(string-append #$output "/share/extension")))
|
|
|
|
|
;; Likewise for the library.
|
|
|
|
|
(substitute* '("src/CMakeLists.txt"
|
|
|
|
|
"src/loader/CMakeLists.txt")
|
|
|
|
|
(("\\$\\{PG_PKGLIBDIR\\}")
|
|
|
|
|
(string-append #$output "/lib")))))
|
2022-06-06 04:00:37 +00:00
|
|
|
|
(add-after 'unpack 'remove-kernel-version
|
|
|
|
|
;; Do not embed the running kernel version for reproducible
|
|
|
|
|
;; builds
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/config.h.in"
|
|
|
|
|
(("BUILD_OS_VERSION ..CMAKE_SYSTEM_VERSION.")
|
|
|
|
|
"BUILD_OS_VERSION \""))))
|
2022-01-28 21:57:27 +00:00
|
|
|
|
;; Run the tests after install to make it easier to create the
|
|
|
|
|
;; required PostgreSQL+TimescaleDB filesystem union.
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'prepare-tests
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((pg-data (string-append (getcwd) "/../pg-data"))
|
|
|
|
|
(pg-union (string-append (getcwd) "/../pg-union")))
|
|
|
|
|
(match inputs
|
|
|
|
|
(((names . directories) ...)
|
2022-06-07 21:58:16 +00:00
|
|
|
|
;; PG will only load extensions from its own $libdir,
|
|
|
|
|
;; which it calculates based on argv[0]. As of
|
|
|
|
|
;; PostgreSQL 13.6, it calls 'canonicalize_path' on
|
|
|
|
|
;; argv[0] so a merge symlink is not enough to trick
|
|
|
|
|
;; it; thus, the code below makes a full copy of PG
|
|
|
|
|
;; and friends such that 'pg_config --libdir', for
|
|
|
|
|
;; instance, points to PG-UNION, allowing it to load
|
|
|
|
|
;; the timescaledb extension.
|
2022-06-14 12:20:59 +00:00
|
|
|
|
;; TODO: The above comment and the #:symlink trick can
|
|
|
|
|
;; be removed in the next rebuild cycle.
|
2022-06-07 21:58:16 +00:00
|
|
|
|
(union-build pg-union (cons #$output directories)
|
|
|
|
|
#:symlink
|
|
|
|
|
(lambda (old new)
|
|
|
|
|
(if (file-is-directory? old)
|
|
|
|
|
(copy-recursively old new)
|
|
|
|
|
(copy-file old new))))))
|
2022-01-28 21:57:27 +00:00
|
|
|
|
(setenv "PATH" (string-append pg-union "/bin:"
|
|
|
|
|
(getenv "PATH")))
|
|
|
|
|
(invoke "initdb" "-D" pg-data)
|
|
|
|
|
(copy-file "test/postgresql.conf"
|
|
|
|
|
(string-append pg-data "/postgresql.conf"))
|
2022-06-07 21:58:16 +00:00
|
|
|
|
|
2022-01-28 21:57:27 +00:00
|
|
|
|
(invoke "pg_ctl" "-D" pg-data
|
|
|
|
|
"-o" (string-append "-k " pg-data)
|
|
|
|
|
"-l" (string-append pg-data "/db.log")
|
|
|
|
|
"start"))))
|
|
|
|
|
(add-after 'prepare-tests 'check
|
|
|
|
|
(assoc-ref %standard-phases 'check)))))
|
|
|
|
|
(inputs (list openssl postgresql))
|
|
|
|
|
(home-page "https://www.timescale.com/")
|
|
|
|
|
(synopsis "Time-series extension for PostgreSQL")
|
|
|
|
|
(description
|
2022-06-05 00:00:00 +00:00
|
|
|
|
"TimescaleDB is a database designed to make SQL scalable for
|
2022-01-28 21:57:27 +00:00
|
|
|
|
time-series data. It is engineered up from PostgreSQL and packaged as a
|
|
|
|
|
PostgreSQL extension, providing automatic partitioning across time and space
|
|
|
|
|
(partitioning key), as well as full SQL support.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2024-02-29 16:00:17 +00:00
|
|
|
|
(define-public pgvector
|
|
|
|
|
(package
|
|
|
|
|
(name "pgvector")
|
|
|
|
|
(version "0.6.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/pgvector/pgvector")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"19zcjrlmyj7gfbn8prh014yq50iy4dg97pirsm7idxsr829vwyc5"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
;; Do not use -march=native
|
|
|
|
|
#:make-flags
|
2024-02-29 16:45:20 +00:00
|
|
|
|
'(list "OPTFLAGS=")
|
2024-02-29 16:00:17 +00:00
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
2024-02-29 16:45:20 +00:00
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((extension (string-append #$output "/share/extension"))
|
|
|
|
|
(lib (string-append #$output "/lib"))
|
|
|
|
|
(headers (string-append #$output "/include/server/extension/vector")))
|
|
|
|
|
(for-each mkdir-p (list extension lib headers))
|
|
|
|
|
(install-file "vector.so" lib)
|
|
|
|
|
(chmod (string-append lib "/vector.so") #o755)
|
|
|
|
|
(install-file "vector.control" extension)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file extension))
|
|
|
|
|
(find-files "sql" "\\.sql$"))
|
|
|
|
|
(install-file "src/vector.h" headers)))))))
|
2024-02-29 16:00:17 +00:00
|
|
|
|
(inputs (list postgresql))
|
|
|
|
|
(home-page "https://github.com/pgvector/pgvector")
|
|
|
|
|
(synopsis "Vector similarity search for Postgres")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a vector similarity search extension for Postgres.
|
|
|
|
|
Store your vectors with the rest of your data. It supports:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item exact and approximate nearest neighbor search;
|
|
|
|
|
@item L2 distance, inner product, and cosine distance;
|
|
|
|
|
@item any language with a Postgres client.
|
|
|
|
|
@end itemize
|
|
|
|
|
")
|
|
|
|
|
(license (license:x11-style "file://COPYRIGHT"))))
|
|
|
|
|
|
2021-01-19 22:23:21 +00:00
|
|
|
|
(define-public pgloader
|
|
|
|
|
(package
|
|
|
|
|
(name "pgloader")
|
2022-10-23 00:00:01 +00:00
|
|
|
|
(version "3.6.9")
|
2021-01-19 22:23:21 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/dimitri/pgloader")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(sha256
|
2022-10-23 00:00:01 +00:00
|
|
|
|
(base32 "03kp3ms2sjz4gwb94xs404mi63fnv1bq00hyqxyvc9csmicxzawn"))
|
2021-01-19 22:23:21 +00:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; NOTE: (Sharlatan-20210119T211511+0000) Tests are disabled due to being
|
|
|
|
|
;; dependent on Quicklisp, main build target is `pgloader-standalone' which
|
|
|
|
|
;; does not require Quicklisp workarounds. There is no `install' target
|
|
|
|
|
;; configured in Makefile.
|
2022-01-04 04:24:02 +00:00
|
|
|
|
(list #:tests? #f
|
|
|
|
|
#:strip-binaries? #f
|
|
|
|
|
#:make-flags
|
|
|
|
|
#~(list "pgloader-standalone" "BUILDAPP_SBCL=buildapp")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'set-home
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" "/tmp")))
|
|
|
|
|
(add-after 'unpack 'patch-Makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("--sbcl.*") "--sbcl $(CL) --asdf-path . \\\n"))))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((bin (string-append #$output "/bin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(install-file "build/bin/pgloader" bin)))))))
|
2021-01-19 22:23:21 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list buildapp sbcl))
|
2021-01-19 22:23:21 +00:00
|
|
|
|
(inputs
|
2022-01-04 04:24:02 +00:00
|
|
|
|
(list sbcl-alexandria
|
|
|
|
|
sbcl-cl-abnf
|
|
|
|
|
sbcl-cl-base64
|
|
|
|
|
sbcl-cl-csv
|
|
|
|
|
sbcl-cl-fad
|
|
|
|
|
sbcl-cl-log
|
|
|
|
|
sbcl-cl-markdown
|
|
|
|
|
sbcl-cl-mustache
|
|
|
|
|
sbcl-cl-ppcre
|
|
|
|
|
sbcl-cl-sqlite
|
|
|
|
|
sbcl-closer-mop
|
|
|
|
|
sbcl-command-line-arguments
|
|
|
|
|
sbcl-db3
|
|
|
|
|
sbcl-drakma
|
|
|
|
|
sbcl-esrap
|
|
|
|
|
sbcl-flexi-streams
|
|
|
|
|
sbcl-ixf
|
|
|
|
|
sbcl-local-time
|
|
|
|
|
sbcl-lparallel
|
|
|
|
|
sbcl-metabang-bind
|
|
|
|
|
sbcl-mssql
|
|
|
|
|
sbcl-postmodern
|
|
|
|
|
sbcl-py-configparser
|
|
|
|
|
sbcl-qmynd
|
|
|
|
|
sbcl-quri
|
|
|
|
|
sbcl-split-sequence
|
|
|
|
|
sbcl-trivial-backtrace
|
|
|
|
|
sbcl-usocket
|
|
|
|
|
sbcl-uuid
|
|
|
|
|
sbcl-yason
|
|
|
|
|
sbcl-zs3))
|
2021-01-19 22:23:21 +00:00
|
|
|
|
(home-page "https://pgloader.io/")
|
|
|
|
|
(synopsis "Tool to migrate data to PostgreSQL")
|
|
|
|
|
(description
|
|
|
|
|
"@code{pgloader} is a program that can load data or migrate databases from
|
|
|
|
|
CSV, DB3, iXF, SQLite, MS-SQL or MySQL to PostgreSQL.")
|
|
|
|
|
(license (license:x11-style "file://LICENSE"))))
|
|
|
|
|
|
2018-07-04 21:04:19 +00:00
|
|
|
|
(define-public python-pymysql
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pymysql")
|
2024-05-22 09:02:32 +00:00
|
|
|
|
(version "1.1.1")
|
2018-07-04 21:04:19 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2024-05-22 09:02:32 +00:00
|
|
|
|
(uri (pypi-uri "pymysql" version))
|
2018-07-04 21:04:19 +00:00
|
|
|
|
(sha256
|
2024-05-22 09:02:32 +00:00
|
|
|
|
(base32 "1l2cj0ps96g3bblvhdszgyjv9bi405bxrx0bqq1p8h9bmwd629z1"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
2024-05-22 09:08:20 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-cryptography python-pynacl))
|
2018-07-04 21:04:19 +00:00
|
|
|
|
(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)))
|
|
|
|
|
|
2017-01-24 17:03:31 +00: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
|
2020-02-22 16:38:29 +00:00
|
|
|
|
`(#:configure-flags (list (string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib"))
|
|
|
|
|
#:make-flags (list "CFLAGS=-fPIC")))
|
2020-01-18 23:01:45 +00:00
|
|
|
|
(home-page "https://fallabs.com/qdbm/")
|
2017-01-24 17:03:31 +00:00
|
|
|
|
(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 15:48:03 +00:00
|
|
|
|
(define-public recutils
|
|
|
|
|
(package
|
|
|
|
|
(name "recutils")
|
2022-05-08 00:00:03 +00:00
|
|
|
|
(version "1.9")
|
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 15:48:03 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/recutils/recutils-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-05-08 00:00:03 +00:00
|
|
|
|
"03kf91f20brn2ffljfjzirxh5xj99m1mvvspcx2lph9000mmj0b3"))))
|
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 15:48:03 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2022-05-08 00:00:01 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(list #:configure-flags
|
2022-06-04 08:30:12 +00:00
|
|
|
|
#~(list "--disable-static"
|
|
|
|
|
(string-append "--with-bash-headers="
|
|
|
|
|
(search-input-directory %build-inputs
|
2023-06-18 07:20:22 +00:00
|
|
|
|
"include/bash")))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'symlink-bash-loadables
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion (string-append
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/lib")
|
|
|
|
|
(mkdir "bash")
|
|
|
|
|
(for-each
|
|
|
|
|
(compose symlink
|
|
|
|
|
(lambda (loadable)
|
|
|
|
|
(values
|
|
|
|
|
(string-append (getcwd) "/" loadable ".so")
|
|
|
|
|
(string-append "bash/" loadable))))
|
|
|
|
|
'("readrec" "testrec"))))))))
|
2022-05-08 00:00:01 +00:00
|
|
|
|
(native-inputs
|
2022-06-04 08:30:12 +00:00
|
|
|
|
(list bc check-0.14 pkg-config))
|
2022-05-08 00:00:01 +00:00
|
|
|
|
(inputs
|
|
|
|
|
;; TODO: Add more optional inputs.
|
2022-06-04 08:30:12 +00:00
|
|
|
|
(list bash ; /bin/bash for native compilation
|
|
|
|
|
`(,bash "include")
|
|
|
|
|
curl
|
2022-05-08 00:00:01 +00:00
|
|
|
|
libgcrypt
|
|
|
|
|
`(,util-linux "lib")))
|
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 15:48:03 +00: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 13:31:31 +00: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 19:17:36 +00:00
|
|
|
|
(license license:gpl3+)
|
2017-03-29 22:48:16 +00: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 15:48:03 +00:00
|
|
|
|
|
2021-12-14 20:29:01 +00:00
|
|
|
|
(define-public emacs-rec-mode
|
2019-06-10 02:02:15 +00:00
|
|
|
|
(package
|
2021-12-14 20:29:01 +00:00
|
|
|
|
(name "emacs-rec-mode")
|
2024-01-01 17:25:17 +00:00
|
|
|
|
(version "1.9.3")
|
2021-12-14 00:54:14 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://elpa.gnu.org/packages/"
|
|
|
|
|
"rec-mode-" version ".tar"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-01-01 17:25:17 +00:00
|
|
|
|
"15m0h84fcrcxpx67mc9any4ap2dcqysfjm1d2a7sx4clx8h3mgk0"))
|
2022-11-26 12:21:39 +00:00
|
|
|
|
(snippet #~(begin (delete-file "rec-mode.info")))))
|
2019-06-10 02:02:15 +00:00
|
|
|
|
(build-system emacs-build-system)
|
|
|
|
|
(arguments
|
2022-11-26 12:21:39 +00:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
2022-11-26 10:09:05 +00:00
|
|
|
|
(add-after 'unpack 'patch-program-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(emacs-substitute-variables "rec-mode.el"
|
|
|
|
|
("rec-recfix" (search-input-file inputs "bin/recfix"))
|
|
|
|
|
("rec-recinf" (search-input-file inputs "bin/recinf"))
|
|
|
|
|
("rec-recsel" (search-input-file inputs "bin/recsel")))))
|
2022-11-26 12:21:39 +00:00
|
|
|
|
(add-before 'install 'make-info
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "makeinfo" "--no-split"
|
|
|
|
|
"-o" "rec-mode.info" "rec-mode.texi"))))))
|
2022-11-26 10:09:05 +00:00
|
|
|
|
(inputs (list recutils))
|
2022-11-26 12:21:39 +00:00
|
|
|
|
(native-inputs (list texinfo))
|
2021-12-14 00:54:14 +00:00
|
|
|
|
(home-page "https://www.gnu.org/software/recutils/")
|
2019-06-10 02:02:15 +00:00
|
|
|
|
(synopsis "Emacs mode for working with recutils database files")
|
|
|
|
|
(description "This package provides an Emacs major mode @code{rec-mode}
|
|
|
|
|
for working with GNU Recutils text-based, human-editable databases. It
|
|
|
|
|
supports editing, navigation, and querying of recutils database files
|
2021-12-14 00:54:14 +00:00
|
|
|
|
including field and record folding.")
|
|
|
|
|
(license license:gpl3+)))
|
2019-06-10 02:02:15 +00:00
|
|
|
|
|
2021-12-14 20:29:01 +00:00
|
|
|
|
(define-public emacs-recutils
|
|
|
|
|
(deprecated-package "emacs-recutils" emacs-rec-mode))
|
|
|
|
|
|
2017-01-03 06:21:43 +00:00
|
|
|
|
(define-public rocksdb
|
|
|
|
|
(package
|
|
|
|
|
(name "rocksdb")
|
2021-12-19 22:36:57 +00:00
|
|
|
|
(version "6.26.1")
|
2017-01-03 06:21:43 +00:00
|
|
|
|
(source (origin
|
2018-09-27 15:24:33 +00: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 06:21:43 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-12-19 22:36:57 +00:00
|
|
|
|
"0mylma106w93kxhj89g9y1ccdq7m9m94wrmv5nyr17yc1zsk87sg"))
|
2017-01-03 06:21:43 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; TODO: unbundle gtest.
|
|
|
|
|
(delete-file "build_tools/gnu_parallel")
|
2018-02-21 02:06:39 +00:00
|
|
|
|
(substitute* "Makefile"
|
2021-11-05 15:53:13 +00:00
|
|
|
|
(("build_tools/gnu_parallel") "parallel"))))))
|
2021-12-19 22:36:57 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2017-01-03 06:21:43 +00:00
|
|
|
|
(arguments
|
2021-12-19 22:36:57 +00:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "-DROCKSDB_BUILD_SHARED=1"
|
|
|
|
|
;; Ceph requires that RTTI is enabled.
|
|
|
|
|
"-DUSE_RTTI=1"
|
|
|
|
|
;; Prevent the build from passing '-march=native' to the compiler.
|
|
|
|
|
"-DPORTABLE=1")
|
2018-02-21 02:06:39 +00:00
|
|
|
|
|
2021-12-19 22:36:57 +00: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. What's worse: Release builds don't
|
|
|
|
|
;; include tests, and overriding the build system to build
|
|
|
|
|
;; tests anyway fails with missing TEST_ symbols.
|
|
|
|
|
#:tests? #false
|
2017-01-03 06:21:43 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2021-12-19 22:36:57 +00:00
|
|
|
|
(add-after 'unpack 'patch-CMakeLists.txt
|
2017-01-03 06:21:43 +00:00
|
|
|
|
(lambda _
|
2021-12-19 22:36:57 +00:00
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
;; build reproducibly
|
|
|
|
|
(("set\\(BUILD_DATE \"\\$\\{TS\\}\"")
|
|
|
|
|
"set(BUILD_DATE \"1970-01-01\""))))
|
|
|
|
|
(add-after 'unpack 'build-generically
|
2021-11-05 15:53:13 +00:00
|
|
|
|
(lambda _
|
2021-12-19 22:36:57 +00:00
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("if\\(HAVE_SSE42\\)") "if(FALSE)")))))))
|
2017-01-03 06:21:43 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list parallel perl procps python which))
|
2017-01-03 06:21:43 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list bzip2
|
|
|
|
|
gflags
|
|
|
|
|
jemalloc
|
|
|
|
|
lz4
|
|
|
|
|
snappy
|
|
|
|
|
zlib))
|
2020-01-18 23:44:41 +00:00
|
|
|
|
(home-page "https://rocksdb.org/")
|
2017-01-03 06:21:43 +00:00
|
|
|
|
(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-21 02:06:39 +00: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 06:21:43 +00:00
|
|
|
|
|
2016-06-10 12:45:41 +00:00
|
|
|
|
(define-public sparql-query
|
|
|
|
|
(package
|
|
|
|
|
(name "sparql-query")
|
|
|
|
|
(version "1.1")
|
|
|
|
|
(source (origin
|
2020-04-19 18:30:14 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/tialaramex/sparql-query")
|
|
|
|
|
(commit version)))
|
2016-06-10 12:45:41 +00:00
|
|
|
|
(sha256
|
2020-04-19 18:30:14 +00:00
|
|
|
|
(base32 "0a84a89idpjhj9w2y3fmvzv7ldps1cva1kxvfmh897k02kaniwxk"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
2016-06-10 12:45:41 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list curl glib libxml2 ncurses readline))
|
2016-06-10 12:45:41 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2016-06-10 12:45:41 +00:00
|
|
|
|
(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-28 02:24:08 +00:00
|
|
|
|
(string-append "gitrev = \"v" ,version "\"")))
|
|
|
|
|
#t))
|
2016-06-10 12:45:41 +00: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-28 02:24:08 +00:00
|
|
|
|
(symlink (string-append bin "/sparql-query")
|
|
|
|
|
(string-append bin "/sparql-update")))
|
|
|
|
|
#t))
|
2016-06-10 12:45:41 +00:00
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
2018-06-28 02:24:08 +00:00
|
|
|
|
(apply invoke "make" `(,@make-flags "scan-test"))
|
|
|
|
|
(invoke "./scan-test"))))))
|
2016-06-10 12:45:41 +00: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 13:39:43 +00:00
|
|
|
|
endpoints over HTTP. It has been intentionally designed to @code{feel} similar to
|
2016-06-10 12:45:41 +00: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 19:17:36 +00:00
|
|
|
|
(license (list license:gpl3+))))
|
2016-06-10 12:45:41 +00:00
|
|
|
|
|
2019-03-24 18:10:50 +00:00
|
|
|
|
(define-public sqitch
|
|
|
|
|
(package
|
|
|
|
|
(name "sqitch")
|
2020-09-19 08:35:41 +00:00
|
|
|
|
(version "1.1.0")
|
2019-03-24 18:10:50 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2019-10-14 14:47:37 +00:00
|
|
|
|
"mirror://cpan/authors/id/D/DW/DWHEELER/App-Sqitch-v"
|
|
|
|
|
version ".tar.gz"))
|
2019-03-24 18:10:50 +00:00
|
|
|
|
(sha256
|
2020-09-19 08:35:41 +00:00
|
|
|
|
(base32 "1ayiwg9kh3w0nbacbcln7h944z94vq5vnnd5diz86033bpbnq57f"))))
|
2019-03-24 18:10:50 +00:00
|
|
|
|
(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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-capture-tiny
|
|
|
|
|
perl-io-pager
|
|
|
|
|
perl-module-build
|
|
|
|
|
perl-module-runtime
|
|
|
|
|
perl-path-class
|
|
|
|
|
perl-test-deep
|
|
|
|
|
perl-test-dir
|
|
|
|
|
perl-test-exception
|
|
|
|
|
perl-test-file
|
|
|
|
|
perl-test-file-contents
|
|
|
|
|
perl-test-mockmodule
|
|
|
|
|
perl-test-mockobject
|
|
|
|
|
perl-test-nowarnings
|
|
|
|
|
perl-test-warn))
|
2019-03-24 18:10:50 +00:00
|
|
|
|
(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)
|
2020-09-19 08:29:22 +00:00
|
|
|
|
("perl-dbd-mysql" ,perl-dbd-mysql)
|
2019-03-24 18:10:50 +00:00
|
|
|
|
("perl-dbd-pg" ,perl-dbd-pg)
|
2020-09-19 08:29:22 +00:00
|
|
|
|
("perl-dbd-sqlite" ,perl-dbd-sqlite)
|
2019-03-24 18:10:50 +00:00
|
|
|
|
("perl-dbi" ,perl-dbi)
|
|
|
|
|
("perl-devel-stacktrace" ,perl-devel-stacktrace)
|
|
|
|
|
("perl-encode-locale" ,perl-encode-locale)
|
|
|
|
|
("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 21:05:14 +00:00
|
|
|
|
(define-public sqlcrush
|
|
|
|
|
;; Unfortunately, there is no proper upstream release and may never be.
|
2023-08-13 00:00:00 +00:00
|
|
|
|
(let ((commit "502a583e97a84efdeb48e59f1bfe403daa9681ee")
|
|
|
|
|
(revision "2"))
|
2018-07-04 21:05:14 +00:00
|
|
|
|
(package
|
|
|
|
|
(name "sqlcrush")
|
|
|
|
|
(version (git-version "0.1.5" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/coffeeandscripts/sqlcrush")
|
2018-07-04 21:05:14 +00:00
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-08-13 00:00:00 +00:00
|
|
|
|
"0x2q4m9ryw68kifalnm3x4bv9v2xrc2ffsiap8m9wnw6lf1h05la"))))
|
2018-07-04 21:05:14 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2024-05-22 09:08:20 +00:00
|
|
|
|
(list python-psycopg2 python-pymysql python-sqlalchemy))
|
2018-07-04 21:05:14 +00:00
|
|
|
|
(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 16:00:03 +00:00
|
|
|
|
(define-public tdb
|
|
|
|
|
(package
|
|
|
|
|
(name "tdb")
|
2022-09-16 17:49:35 +00:00
|
|
|
|
(version "1.4.7")
|
2014-09-08 16:00:03 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2015-12-14 04:13:56 +00:00
|
|
|
|
(uri (string-append "https://www.samba.org/ftp/tdb/tdb-"
|
2014-09-08 16:00:03 +00:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-09-16 17:49:35 +00:00
|
|
|
|
"03n2hz4sv003gpkyp57hk5kiw4xk9f2dkxq75kzk2gskxy6idyx4"))))
|
2014-09-08 16:00:03 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-10-08 19:14:36 +00: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-28 02:24:08 +00:00
|
|
|
|
(invoke "./configure"
|
|
|
|
|
(string-append "--prefix=" out))))))))
|
2014-09-08 16:00:03 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list ;; TODO: Build the documentation.
|
|
|
|
|
;; ("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
;; ("libxml2" ,libxml2)
|
|
|
|
|
;; ("libxslt" ,libxslt)
|
|
|
|
|
python ;for the Waf build system
|
|
|
|
|
which))
|
2016-10-08 19:11:14 +00: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 04:46:59 +00:00
|
|
|
|
(synopsis "Trivial database")
|
2014-09-08 16:00:03 +00: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 19:17:36 +00:00
|
|
|
|
(license license:lgpl3+)))
|
2014-09-27 22:41:39 +00:00
|
|
|
|
|
|
|
|
|
(define-public perl-dbi
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbi")
|
2020-05-20 15:21:51 +00:00
|
|
|
|
(version "1.643")
|
2014-09-27 22:41:39 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/T/TI/TIMB/DBI-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-20 15:21:51 +00:00
|
|
|
|
"1yinx39960y241vf2sknxj0dfz82a5m9gvklq5rw78k0nlyrjawa"))))
|
2014-09-27 22:41:39 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(synopsis "Database independent interface for Perl")
|
2022-06-05 00:00:00 +00:00
|
|
|
|
(description "This package provides a database interface for Perl.")
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/DBI")
|
2017-05-02 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2014-09-27 22:41:39 +00:00
|
|
|
|
|
2015-03-13 18:31:23 +00:00
|
|
|
|
(define-public perl-dbix-class
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class")
|
2024-05-21 08:08:05 +00:00
|
|
|
|
(version "0.082843")
|
2015-03-13 18:31:23 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
|
|
|
|
|
"DBIx-Class-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2024-05-21 08:08:05 +00:00
|
|
|
|
(base32 "0lgjw7z4y2inf3yyfph1ljdp4f5zdmy9vh56fj8w9n19rdp0n7il"))))
|
2015-03-13 18:31:23 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-dbd-sqlite
|
|
|
|
|
perl-module-install
|
|
|
|
|
perl-package-stash
|
|
|
|
|
perl-test-deep
|
|
|
|
|
perl-test-exception
|
|
|
|
|
perl-test-warn))
|
2015-03-13 18:31:23 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-class-accessor-grouped
|
|
|
|
|
perl-class-c3-componentised
|
|
|
|
|
perl-class-inspector
|
|
|
|
|
perl-config-any
|
|
|
|
|
perl-context-preserve
|
|
|
|
|
perl-data-dumper-concise
|
|
|
|
|
perl-data-page
|
|
|
|
|
perl-dbi
|
|
|
|
|
perl-devel-globaldestruction
|
|
|
|
|
perl-hash-merge
|
|
|
|
|
perl-module-find
|
2024-05-21 08:08:05 +00:00
|
|
|
|
perl-moo-2
|
2021-12-13 16:18:24 +00:00
|
|
|
|
perl-mro-compat
|
|
|
|
|
perl-namespace-clean
|
|
|
|
|
perl-path-class
|
|
|
|
|
perl-scope-guard
|
|
|
|
|
perl-sql-abstract-classic
|
|
|
|
|
perl-sub-name
|
|
|
|
|
perl-try-tiny))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/DBIx-Class")
|
2015-03-13 18:31:23 +00: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.")
|
2024-05-21 08:08:05 +00:00
|
|
|
|
(properties
|
|
|
|
|
;; This is needed for perl-catalyst-authentication-store-dbix-class
|
|
|
|
|
`((updater-extra-propagated-inputs . ("perl-data-page"))))
|
2017-05-02 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 03:11:26 +00:00
|
|
|
|
|
2015-03-18 14:53:56 +00:00
|
|
|
|
(define-public perl-dbix-class-cursor-cached
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class-cursor-cached")
|
2016-11-29 20:27:16 +00:00
|
|
|
|
(version "1.001004")
|
2015-03-18 14:53:56 +00: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 20:27:16 +00:00
|
|
|
|
"09b2jahn2x12qm4f7qm1jzsxbz7qn1czp6a3fnl5l2i3l4r5421p"))))
|
2015-03-18 14:53:56 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-cache-cache perl-dbd-sqlite perl-module-install))
|
2015-03-18 14:53:56 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-carp-clan perl-dbix-class))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/DBIx-Class-Cursor-Cached")
|
2015-03-18 14:53:56 +00: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 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-18 14:53:56 +00:00
|
|
|
|
|
2015-03-17 03:11:26 +00:00
|
|
|
|
(define-public perl-dbix-class-introspectablem2m
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class-introspectablem2m")
|
2016-11-29 20:29:55 +00:00
|
|
|
|
(version "0.001002")
|
2015-03-17 03:11:26 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-12-12 20:15:16 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
|
2015-03-17 03:11:26 +00:00
|
|
|
|
"DBIx-Class-IntrospectableM2M-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-29 20:29:55 +00:00
|
|
|
|
"1w47rh2241iy5x3a9bqsyd5kdp9sk43dksr99frzv4qn4jsazfn6"))))
|
2015-03-17 03:11:26 +00: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 20:18:58 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-module-install))
|
2015-03-17 03:11:26 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-dbix-class))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/DBIx-Class-IntrospectableM2M")
|
2015-03-17 03:11:26 +00: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 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-03-17 18:00:07 +00:00
|
|
|
|
|
|
|
|
|
(define-public perl-dbix-class-schema-loader
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbix-class-schema-loader")
|
2018-04-30 18:36:47 +00:00
|
|
|
|
(version "0.07049")
|
2015-03-17 18:00:07 +00: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 18:36:47 +00:00
|
|
|
|
"0r57fv71ypxafb85cpxph1hdqii7ipjwvc19yb6fpkvq2ggcssg8"))))
|
2015-03-17 18:00:07 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-config-any
|
|
|
|
|
perl-config-general
|
|
|
|
|
perl-dbd-sqlite
|
|
|
|
|
perl-dbix-class-introspectablem2m
|
|
|
|
|
perl-module-install
|
|
|
|
|
perl-moose
|
|
|
|
|
perl-moosex-markasmethods
|
|
|
|
|
perl-moosex-nonmoose
|
|
|
|
|
perl-namespace-autoclean
|
|
|
|
|
perl-test-deep
|
|
|
|
|
perl-test-differences
|
|
|
|
|
perl-test-exception
|
|
|
|
|
perl-test-pod
|
|
|
|
|
perl-test-warn))
|
2015-03-17 18:00:07 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-class-unload
|
|
|
|
|
perl-class-inspector
|
|
|
|
|
perl-class-accessor-grouped
|
|
|
|
|
perl-class-c3-componentised
|
|
|
|
|
perl-carp-clan
|
|
|
|
|
perl-data-dump
|
|
|
|
|
perl-dbix-class
|
|
|
|
|
perl-hash-merge
|
|
|
|
|
perl-list-moreutils
|
|
|
|
|
perl-lingua-en-inflect-phrase
|
|
|
|
|
perl-lingua-en-inflect-number
|
|
|
|
|
perl-lingua-en-tagger
|
|
|
|
|
perl-namespace-clean
|
|
|
|
|
perl-mro-compat
|
|
|
|
|
perl-scope-guard
|
|
|
|
|
perl-string-camelcase
|
|
|
|
|
perl-string-toidentifier-en
|
|
|
|
|
perl-sub-name
|
|
|
|
|
perl-try-tiny))
|
2015-03-17 18:00:07 +00:00
|
|
|
|
(arguments `(#:tests? #f)) ;TODO: t/20invocations.t fails
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/DBIx-Class-Schema-Loader")
|
2015-03-17 18:00:07 +00: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 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2014-09-27 22:41:39 +00:00
|
|
|
|
|
2015-04-06 16:25:23 +00:00
|
|
|
|
(define-public perl-dbd-pg
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbd-pg")
|
2022-06-14 16:50:27 +00:00
|
|
|
|
(version "3.15.1")
|
2015-04-06 16:25:23 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/T/TU/TURNSTEP/"
|
|
|
|
|
"DBD-Pg-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-06-14 16:50:27 +00:00
|
|
|
|
"0zn17xb6bmixkmv53p576igzw1jd43cwql35r19m56jwahxm9iqk"))))
|
2015-04-06 16:25:23 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-dbi))
|
2015-04-06 16:25:23 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-dbi postgresql))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/DBD-Pg")
|
2015-04-06 16:25:23 +00:00
|
|
|
|
(synopsis "DBI PostgreSQL interface")
|
2016-07-29 08:22:31 +00:00
|
|
|
|
(description "This package provides a PostgreSQL driver for the Perl5
|
|
|
|
|
@dfn{Database Interface} (DBI).")
|
2017-05-02 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-06 16:25:23 +00:00
|
|
|
|
|
2015-11-12 15:04:49 +00:00
|
|
|
|
(define-public perl-dbd-mysql
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbd-mysql")
|
2019-03-11 19:54:34 +00:00
|
|
|
|
(version "4.050")
|
2015-11-12 15:04:49 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-03-11 19:54:34 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/D/DV/DVEEDEN/"
|
2015-11-12 15:04:49 +00:00
|
|
|
|
"DBD-mysql-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2019-03-11 19:54:34 +00:00
|
|
|
|
(base32 "0y4djb048i09dk19av7mzfb3khr72vw11p3ayw2p82jsy4gm8j2g"))))
|
2015-11-12 15:04:49 +00:00
|
|
|
|
(build-system perl-build-system)
|
2018-09-11 16:31:55 +00: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 15:04:49 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-dbi" ,perl-dbi)
|
2019-08-30 20:52:06 +00:00
|
|
|
|
("mysql" ,mariadb "lib")
|
|
|
|
|
("mysql-dev" ,mariadb "dev")))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/DBD-mysql")
|
2015-11-12 15:04:49 +00:00
|
|
|
|
(synopsis "DBI MySQL interface")
|
|
|
|
|
(description "This package provides a MySQL driver for the Perl5
|
|
|
|
|
@dfn{Database Interface} (DBI).")
|
2017-05-02 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-11-12 15:04:49 +00:00
|
|
|
|
|
2014-09-27 22:41:39 +00:00
|
|
|
|
(define-public perl-dbd-sqlite
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-dbd-sqlite")
|
2020-09-30 10:19:11 +00:00
|
|
|
|
(version "1.66")
|
2014-09-27 22:41:39 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://cpan/authors/id/I/IS/ISHIGAKI/DBD-SQLite-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-30 10:19:11 +00:00
|
|
|
|
"1zljln5nh61gj3k22a1fv2vhx5l83waizmarwkh77hk6kzzmvrw9"))))
|
2014-09-27 22:41:39 +00:00
|
|
|
|
(build-system perl-build-system)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list sqlite))
|
|
|
|
|
(propagated-inputs (list perl-dbi))
|
2014-09-27 22:41:39 +00:00
|
|
|
|
(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 14:57:52 +00:00
|
|
|
|
(license license:perl-license)
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/DBD-SQLite")))
|
2014-10-12 07:02:33 +00:00
|
|
|
|
|
2019-03-24 18:11:40 +00: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
|
gnu: Fix typoes in package descriptions.
* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo.
* gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma)
(r-bigmemoryextras)[description]: Likewise.
* gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise.
(r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise.
* gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4)
(rust-tokio-fs-0.1)[synopsis, description]: Likewise.
(rust-blas-sys-0.7)[description]: Likewise.
(rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise.
* gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise.
* gnu/packages/disk.scm (hddtemp)[description]: Likewise.
* gnu/packages/django.scm (python-djangorestframework)[description]:
Likewise.
* gnu/packages/documentation.scm (doc++)[description]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless)
(emacs-scpaste)[description]: Likewise.
* gnu/packages/file-systems.scm (dbxfs)[description]: Likewise.
* gnu/packages/finance.scm (python-stdnum)[description]: Likewise.
* gnu/packages/fontutils.scm (woff2)[description]: Likewise.
* gnu/packages/games.scm (openttd-opengfx)[description]: Likewise.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux)
[description]: Likewise.
* gnu/packages/gnome.scm (libgrss)[description]: Likewise.
* gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk)
[description]: Likewise.
(go-github-com-go-git-go-billy)[synopsis, description]: Likewise.
* gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]:
Likewise.
* gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise.
* gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise.
* gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]:
Likewise.
* gnu/packages/java.scm (java-mail)[synopsis]: Likewise.
(java-native-access-platform)[description]: Likewise.
* gnu/packages/kde-frameworks.scm (kactivities-stats)[description]:
Likewise.
* gnu/packages/kde-utils.scm (krusader)[description]: Likewise.
* gnu/packages/language.scm (praat)[description]: Likewise.
* gnu/packages/linux.scm (light)[description]: Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]:
Likewise.
* gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]:
Likewise.
* gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo)
(ocaml4.07-ppx-variants-conv)[description]: Likewise.
* gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise.
* gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise.
* gnu/packages/python-web.scm (python-html5lib)[synopsis, description]:
Likewise.
(python-venusian)[synopsis]: Likewise.
* gnu/packages/python-xyz.scm (python-readlike, python-gssapi)
(python-flufl-i18n)[description]: Likewise.
(python-pox, python-watchdog, python-xattr)[synopsis, description]:
Likewise.
* gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise.
* gnu/packages/rust-apps.scm (watchexec)[description]: Likewise.
* gnu/packages/rust.scm (mrustc)[synopsis]: Likewise.
* gnu/packages/shells.scm (s-shell)[description]: Likewise.
* gnu/packages/ssh.scm (sshpass)[description]: Likewise.
* gnu/packages/terminals.scm (beep)[description]: Likewise.
* gnu/packages/web.scm (perl-lwp-useragent-cached)[description]:
Likewise.
* gnu/packages/wv.scm (wv)[description]: Likewise.
2020-09-22 19:31:52 +00:00
|
|
|
|
libmysqlclient. It will fill an array with long options, ready to be parsed by
|
2019-03-24 18:11:40 +00:00
|
|
|
|
@code{Getopt::Long}.")
|
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2015-03-13 17:10:02 +00:00
|
|
|
|
(define-public perl-sql-abstract
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-sql-abstract")
|
2020-06-09 14:53:16 +00:00
|
|
|
|
(version "1.87")
|
2015-03-13 17:10:02 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-12-10 09:35:08 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
|
2015-03-13 17:10:02 +00:00
|
|
|
|
"SQL-Abstract-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-06-09 14:53:16 +00:00
|
|
|
|
(base32 "0jhw91b23wc9bkfwcgvka4x5ddxk58m9bcp5ay7a3vx77nla09p9"))))
|
2015-03-13 17:10:02 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-module-install perl-test-deep perl-test-exception
|
|
|
|
|
perl-test-warn))
|
2015-03-13 17:10:02 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-hash-merge perl-moo perl-mro-compat perl-text-balanced))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/SQL-Abstract")
|
2015-03-13 17:10:02 +00: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 12:16:07 +00:00
|
|
|
|
time your data changes.")
|
2017-05-02 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2014-10-12 07:02:33 +00:00
|
|
|
|
|
2020-06-29 11:40:17 +00:00
|
|
|
|
(define-public perl-sql-abstract-classic
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-sql-abstract-classic")
|
|
|
|
|
(version "1.91")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
|
|
|
|
|
"SQL-Abstract-Classic-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0a7g13hs3kdxrjn43sfli09mgsi9d6w0dfw6hlk268av17yisgaf"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-test-deep perl-test-exception perl-test-warn))
|
2020-06-29 11:40:17 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-mro-compat perl-sql-abstract))
|
2020-06-29 11:40:17 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/SQL-Abstract-Classic")
|
|
|
|
|
(synopsis "Generate SQL from Perl data structures")
|
|
|
|
|
(description
|
|
|
|
|
"This module is nearly identical to @code{SQL::Abstract} 1.81, and exists
|
|
|
|
|
to preserve the ability of users to opt into the new way of doing things in
|
|
|
|
|
later versions according to their own schedules.
|
|
|
|
|
|
|
|
|
|
It is an abstract SQL generation module based on the concepts used by
|
|
|
|
|
@code{DBIx::Abstract}, with several important differences, especially when it
|
|
|
|
|
comes to @code{WHERE} clauses. These concepts were 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. You shouldn't have to modify your code every time
|
|
|
|
|
your data changes, as this module figures it out.")
|
|
|
|
|
(license license:perl-license)))
|
|
|
|
|
|
2015-04-07 22:17:13 +00:00
|
|
|
|
(define-public perl-sql-splitstatement
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-sql-splitstatement")
|
2021-07-02 00:41:43 +00:00
|
|
|
|
(version "1.00023")
|
2015-04-07 22:17:13 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2021-07-02 00:41:43 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/V/VE/VEESH/"
|
2015-04-07 22:17:13 +00:00
|
|
|
|
"SQL-SplitStatement-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-07-02 00:41:43 +00:00
|
|
|
|
(base32 "0ppkx46nydzlnsxf9a8pkyb74wggfrdiiwafab143lrarlh88x0s"))))
|
2015-04-07 22:17:13 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-test-differences perl-test-exception perl-test-script))
|
2015-04-07 22:17:13 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list perl-class-accessor perl-list-moreutils perl-regexp-common
|
|
|
|
|
perl-sql-tokenizer))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/SQL-SplitStatement")
|
2015-04-07 22:17:13 +00: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 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-07 22:17:13 +00:00
|
|
|
|
|
2015-04-07 22:16:16 +00: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 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/SQL-Tokenizer")
|
2015-04-07 22:16:16 +00: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 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2015-04-07 22:16:16 +00:00
|
|
|
|
|
2014-10-12 07:02:33 +00:00
|
|
|
|
(define-public unixodbc
|
|
|
|
|
(package
|
|
|
|
|
(name "unixodbc")
|
2020-10-11 14:37:54 +00:00
|
|
|
|
(version "2.3.9")
|
2014-10-12 07:02:33 +00: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 12:16:07 +00:00
|
|
|
|
(uri
|
2014-10-12 07:02:33 +00:00
|
|
|
|
(string-append
|
2016-05-13 05:56:00 +00:00
|
|
|
|
"ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-"
|
|
|
|
|
version ".tar.gz"))
|
2014-10-12 07:02:33 +00:00
|
|
|
|
(sha256
|
2020-10-11 14:37:54 +00:00
|
|
|
|
(base32 "01xj65d02i3yjy7p9z08y9jakcs5szmz4rask868n7387nn3x0sj"))))
|
2014-10-12 07:02:33 +00: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 19:17:36 +00:00
|
|
|
|
(license license:lgpl2.1+)
|
2014-10-12 07:02:33 +00:00
|
|
|
|
;; COPYING contains copy of lgpl2.1 - but copyright notices just say "LGPL"
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://www.unixodbc.org")))
|
2015-03-27 21:15:02 +00:00
|
|
|
|
|
2021-04-20 14:34:43 +00:00
|
|
|
|
(define-public nanodbc
|
|
|
|
|
(package
|
|
|
|
|
(name "nanodbc")
|
2022-07-24 00:00:01 +00:00
|
|
|
|
(version "2.14.0")
|
2021-04-20 14:34:43 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(git-reference
|
|
|
|
|
(url "https://github.com/nanodbc/nanodbc")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-07-24 00:00:01 +00:00
|
|
|
|
"1253bnrmchga3ra99jqkd2p29bc5h2ip79xd8afblz6b1v00wmbm"))))
|
2021-04-20 14:34:43 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
;; The tests require ODBC backends to be installed.
|
2021-04-22 13:47:32 +00:00
|
|
|
|
(list "-DNANODBC_DISABLE_TESTS=ON"
|
|
|
|
|
"-DBUILD_SHARED_LIBS=ON")
|
2021-04-20 14:34:43 +00:00
|
|
|
|
#:tests? #false))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list unixodbc))
|
2021-04-20 14:34:43 +00:00
|
|
|
|
(home-page "https://nanodbc.io/")
|
|
|
|
|
(synopsis "C++ wrapper for the native C ODBC API")
|
|
|
|
|
(description "The goal for nanodbc is to make developers happy by providing
|
|
|
|
|
a simpler and less verbose API for working with ODBC. Common tasks should be
|
|
|
|
|
easy, requiring concise and simple code.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-04-23 14:31:58 +00:00
|
|
|
|
(define-public nanodbc-for-irods
|
|
|
|
|
(package
|
|
|
|
|
(inherit nanodbc)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #false
|
|
|
|
|
#:configure-flags
|
|
|
|
|
'("-DBUILD_SHARED_LIBS=ON"
|
|
|
|
|
;; The tests require ODBC backends to be installed.
|
|
|
|
|
"-DNANODBC_DISABLE_TESTS=ON"
|
|
|
|
|
"-DCMAKE_CXX_COMPILER=clang++"
|
|
|
|
|
"-DCMAKE_CXX_FLAGS=-stdlib=libc++"
|
|
|
|
|
"-DCMAKE_EXE_LINKER_FLAGS=-lc++abi")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'set-paths 'adjust-CPLUS_INCLUDE_PATH
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((gcc (assoc-ref inputs "gcc")))
|
|
|
|
|
(setenv "CPLUS_INCLUDE_PATH"
|
|
|
|
|
(string-join
|
|
|
|
|
(cons (string-append (assoc-ref inputs "libcxx")
|
|
|
|
|
"/include/c++/v1")
|
|
|
|
|
;; Hide GCC's C++ headers so that they do not interfere with
|
|
|
|
|
;; the Clang headers.
|
|
|
|
|
(delete (string-append gcc "/include/c++")
|
|
|
|
|
(string-split (getenv "CPLUS_INCLUDE_PATH")
|
|
|
|
|
#\:)))
|
|
|
|
|
":"))
|
|
|
|
|
(format #true
|
|
|
|
|
"environment variable `CPLUS_INCLUDE_PATH' changed to ~a~%"
|
|
|
|
|
(getenv "CPLUS_INCLUDE_PATH"))))))))
|
|
|
|
|
(properties `((hidden? . #true)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("unixodbc" ,unixodbc)
|
|
|
|
|
("libcxx" ,libcxx+libcxxabi-6)
|
|
|
|
|
("libcxxabi" ,libcxxabi-6)
|
|
|
|
|
("clang" ,clang-6)))))
|
|
|
|
|
|
2015-03-27 21:15:02 +00: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
|
2020-01-18 21:56:13 +00:00
|
|
|
|
(home-page "https://www.unqlite.org")
|
2015-03-27 21:15:02 +00:00
|
|
|
|
(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
|
2021-11-03 14:27:37 +00:00
|
|
|
|
Redis, CouchDB, etc., as well as a standard key/value store
|
2015-07-23 07:40:05 +00: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 19:17:36 +00:00
|
|
|
|
(license license:bsd-2)))
|
2015-06-06 00:09:10 +00:00
|
|
|
|
|
|
|
|
|
(define-public redis
|
|
|
|
|
(package
|
|
|
|
|
(name "redis")
|
2023-07-09 00:00:02 +00:00
|
|
|
|
(version "7.0.12")
|
2015-06-06 00:09:10 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2023-07-09 00:00:05 +00:00
|
|
|
|
(uri (string-append "https://download.redis.io/releases/redis-"
|
2015-06-06 00:09:10 +00:00
|
|
|
|
version".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-07-09 00:00:02 +00:00
|
|
|
|
"1dwayif99cipf0xs26zipbnj800px31pbsxz747bzclb4xdkvn4x"))
|
2020-12-28 18:45:25 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Delete bundled jemalloc, as the package will use the libc one
|
2021-10-05 23:00:50 +00:00
|
|
|
|
'(begin (delete-file-recursively "deps/jemalloc")))))
|
2015-06-06 00:09:10 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2023-03-05 20:24:38 +00:00
|
|
|
|
(list
|
2023-07-09 00:00:02 +00:00
|
|
|
|
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
|
2023-03-05 20:24:38 +00:00
|
|
|
|
"MALLOC=libc"
|
|
|
|
|
"LDFLAGS=-ldl"
|
|
|
|
|
(string-append "PREFIX=" #$output))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'patch-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "runtest"
|
|
|
|
|
(("^TCLSH=.*")
|
|
|
|
|
(string-append "TCLSH=" (which "tclsh"))))
|
|
|
|
|
(substitute* "tests/support/server.tcl"
|
|
|
|
|
(("/usr/bin/env")
|
|
|
|
|
(which "env")))))
|
|
|
|
|
(add-after 'unpack 'adjust-tests
|
|
|
|
|
(lambda _
|
2023-07-09 00:00:02 +00:00
|
|
|
|
;; Disable failing tests.
|
2023-03-05 20:24:38 +00:00
|
|
|
|
(substitute* "tests/test_helper.tcl"
|
|
|
|
|
;; The AOF tests cause the test suite to hang waiting for a
|
|
|
|
|
;; "background AOF rewrite to finish", perhaps because dead
|
|
|
|
|
;; processes persist as zombies in the build environment.
|
|
|
|
|
(("unit/aofrw") "")
|
|
|
|
|
(("integration/aof(-multi-part)?") "")
|
|
|
|
|
(("integration/failover") "")
|
|
|
|
|
(("integration/replication-4") "")
|
|
|
|
|
(("integration/replication-psync") "")
|
|
|
|
|
(("integration/replication[^-]") "")))))))
|
|
|
|
|
(native-inputs (list pkg-config procps tcl which))
|
2015-06-06 00:09:10 +00:00
|
|
|
|
(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.")
|
2020-01-18 23:39:00 +00:00
|
|
|
|
(home-page "https://redis.io/")
|
2023-03-05 19:55:38 +00:00
|
|
|
|
;; These two CVEs have long been fixed.
|
|
|
|
|
(properties `((lint-hidden-cve . ("CVE-2022-3647" "CVE-2022-33105"))))
|
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 19:17:36 +00:00
|
|
|
|
(license license:bsd-3)))
|
2016-02-24 21:12:42 +00:00
|
|
|
|
|
2022-10-11 13:08:34 +00:00
|
|
|
|
(define-public hiredis
|
|
|
|
|
(package
|
|
|
|
|
(name "hiredis")
|
2023-03-05 19:49:34 +00:00
|
|
|
|
(version "1.1.0")
|
2022-10-11 13:08:34 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/redis/hiredis")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2023-03-05 19:49:34 +00:00
|
|
|
|
(base32 "1zld30j3kpzqr9w3vkpd6mm3f1b1yk3dlgp9lp6gpsybjjfr2i6h"))))
|
2022-10-11 13:08:34 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
;; needed for testing
|
|
|
|
|
(list redis))
|
|
|
|
|
(synopsis "Minimalistic C client library for the Redis database")
|
|
|
|
|
(description "This package provides a library for sending commands and
|
|
|
|
|
receiving replies to and from a Redis server. It comes with a synchronous
|
|
|
|
|
API, asynchronous API and reply parsing API. Only the binary-safe Redis
|
|
|
|
|
protocol is supported.")
|
|
|
|
|
(home-page "https://github.com/redis/hiredis")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2023-03-02 18:09:25 +00:00
|
|
|
|
(define-public ruby-hiredis
|
|
|
|
|
(package
|
|
|
|
|
(name "ruby-hiredis")
|
|
|
|
|
(version "0.6.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/redis/hiredis-rb")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05y4g7frhym59m9x208zpvg2qvqvfjlgqmygxj8sqgl07n0ww1ks"))
|
|
|
|
|
(patches (search-patches
|
|
|
|
|
"ruby-hiredis-use-system-hiredis.patch"))))
|
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:tests? #f ;require native extension
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-hiredis-include-directory
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "ext/hiredis_ext/extconf.rb"
|
|
|
|
|
;; Adjust the hiredis include directory.
|
|
|
|
|
(("\\$CFLAGS << \" -I/usr/include/hiredis\"")
|
|
|
|
|
(format #f "$CFLAGS << \" -I~a\""
|
|
|
|
|
(search-input-directory inputs "include/hiredis"))))))
|
|
|
|
|
(add-after 'unpack 'disable-building-c-extension
|
|
|
|
|
(lambda _
|
|
|
|
|
;; FIXME: The produced native extension appears to segfault when
|
|
|
|
|
;; run; disable building it until a solution is found (see:
|
|
|
|
|
;; https://github.com/redis/hiredis-rb/issues/93).
|
|
|
|
|
(substitute* "ext/hiredis_ext/extconf.rb"
|
|
|
|
|
(("build_hiredis = true")
|
|
|
|
|
"build_hiredis = false"))))
|
|
|
|
|
;; FIXME: Un-comment phase after the extension can be made to run
|
|
|
|
|
;; without crashing (see above).
|
|
|
|
|
;; (add-after 'build 'build-ext
|
|
|
|
|
;; (lambda _
|
|
|
|
|
;; (setenv "CC" #$(cc-for-target))
|
|
|
|
|
;; (invoke "rake" "compile")))
|
|
|
|
|
(add-before 'check 'start-redis
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "redis-server" "--daemonize" "yes")))
|
|
|
|
|
(add-after 'install 'delete-mkmf.log
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This build log captures non-deterministic file names (see:
|
|
|
|
|
;; https://github.com/rubygems/rubygems/issues/6259).
|
|
|
|
|
(for-each delete-file (find-files #$output "^mkmf\\.log$")))))))
|
|
|
|
|
(native-inputs (list redis ruby-rake-compiler))
|
|
|
|
|
(inputs (list hiredis))
|
|
|
|
|
(synopsis "Ruby wrapper for hiredis")
|
|
|
|
|
(description "@code{hiredis-rb} is a Ruby extension that wraps
|
|
|
|
|
@code{hiredis}, a minimalist C client for Redis. Both the synchronous
|
|
|
|
|
connection API and a separate protocol reader are supported. It is primarily
|
|
|
|
|
intended to speed up parsing multi bulk replies.")
|
|
|
|
|
(home-page "https://github.com/redis/hiredis-rb")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2021-04-26 09:45:05 +00:00
|
|
|
|
(define-public ruby-redis
|
|
|
|
|
(package
|
|
|
|
|
(name "ruby-redis")
|
|
|
|
|
(version "4.2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (rubygems-uri "redis" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15x2sr6h094rjbvg8pkq6m3lcd5abpyx93aifvfdz3wv6x55xa48"))))
|
|
|
|
|
(build-system ruby-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f)) ; Tests require a running redis server.
|
|
|
|
|
(synopsis "Ruby client for Redis' API")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a Ruby client that tries to match Redis' API
|
|
|
|
|
one-to-one, while still providing an idiomatic interface.")
|
|
|
|
|
(home-page "https://github.com/redis/redis-rb")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2022-01-18 13:51:44 +00:00
|
|
|
|
(define-public go-github-com-cupcake-rdb
|
|
|
|
|
(package
|
|
|
|
|
(name "go-github-com-cupcake-rdb")
|
|
|
|
|
(version "0.0.0-20161107195141-43ba34106c76")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/tent/rdb")
|
|
|
|
|
(commit (go-version->git-ref version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1l4bsn5yj8r875crz1rsk6dlvhv0bd8mgazsch5vl4c19v0fs2ib"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments '(#:import-path "github.com/cupcake/rdb"))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list go-gopkg-in-check-v1))
|
|
|
|
|
(home-page "https://github.com/tent/rdb")
|
|
|
|
|
(synopsis "Redis RDB parser for Go")
|
|
|
|
|
(description
|
|
|
|
|
"Package rdb implements parsing and encoding of the Redis RDB file format.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2022-01-18 14:31:36 +00:00
|
|
|
|
(define-public go-github-com-gomodule-redigo
|
|
|
|
|
(package
|
|
|
|
|
(name "go-github-com-gomodule-redigo")
|
|
|
|
|
(version "1.8.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/gomodule/redigo")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0wplaaxg7f6c6c08gdp33l48hygn8gq1rhlnjzr1c9qcggsm07k1"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:unpack-path "github.com/gomodule/redigo"
|
|
|
|
|
#:import-path "github.com/gomodule/redigo/redis"))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list go-github-com-stretchr-testify
|
|
|
|
|
redis))
|
|
|
|
|
(home-page "https://github.com/gomodule/redigo")
|
|
|
|
|
(synopsis "Go client for Redis")
|
|
|
|
|
(description
|
|
|
|
|
"Redigo is a Go client for the Redis database.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2016-02-24 21:12:42 +00:00
|
|
|
|
(define-public kyotocabinet
|
|
|
|
|
(package
|
|
|
|
|
(name "kyotocabinet")
|
2021-01-14 19:15:39 +00:00
|
|
|
|
(version "1.2.79")
|
2016-02-24 21:12:42 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-07-16 17:01:03 +00:00
|
|
|
|
(uri (string-append "https://fallabs.com/kyotocabinet/pkg/"
|
|
|
|
|
"kyotocabinet-" version ".tar.gz"))
|
2016-02-24 21:12:42 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-01-14 19:15:39 +00:00
|
|
|
|
"079ymsahlrijswgwfr2la9yw5h57l752cprhp5dz31iamsj1vyv7"))))
|
2016-02-24 21:12:42 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
2017-06-17 13:05:03 +00:00
|
|
|
|
"--disable-opt" ;"-march=native". XXX this also turns off -O0.
|
2016-02-24 21:12:42 +00:00
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list zlib))
|
2020-07-16 17:01:03 +00:00
|
|
|
|
(home-page "https://fallabs.com/kyotocabinet/")
|
2016-02-24 21:12:42 +00:00
|
|
|
|
(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 19:17:36 +00:00
|
|
|
|
(license license:gpl3+)))
|
2016-05-15 02:20:05 +00:00
|
|
|
|
|
2017-02-14 19:21:27 +00: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
|
2023-05-15 18:33:56 +00:00
|
|
|
|
(list "--enable-pthread" "--enable-off64"
|
|
|
|
|
,@(if (target-x86?)
|
|
|
|
|
;; Enables x86 specific cflags.
|
|
|
|
|
'("--enable-fastest")
|
|
|
|
|
'())
|
2017-02-14 19:21:27 +00:00
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath="
|
|
|
|
|
(assoc-ref %outputs "out") "/lib"))))
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list zlib))
|
2017-02-14 19:21:27 +00:00
|
|
|
|
(home-page "http://fallabs.com/tokyocabinet/")
|
|
|
|
|
(synopsis "Tokyo Cabinet is a modern implementation of the DBM database")
|
|
|
|
|
(description
|
|
|
|
|
"Tokyo Cabinet is a library of routines for managing a database.
|
|
|
|
|
The database is a simple data file containing records, each is a pair of a
|
|
|
|
|
key and a value. Every key and value is serial bytes with variable length.
|
|
|
|
|
Both binary data and character string can be used as a key and a value.
|
|
|
|
|
There is neither concept of data tables nor data types. Records are
|
|
|
|
|
organized in hash table, B+ tree, or fixed-length array.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2016-05-15 02:20:05 +00:00
|
|
|
|
(define-public wiredtiger
|
|
|
|
|
(package
|
|
|
|
|
(name "wiredtiger")
|
2017-01-24 18:35:58 +00:00
|
|
|
|
(version "2.9.1")
|
2016-05-15 02:20:05 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://source.wiredtiger.com/releases/wiredtiger-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-01-24 18:35:58 +00:00
|
|
|
|
"0krwnb2zfbhvjaskwl875qzd3y626s84zcciq2mxr5c5riw3yh6s"))))
|
2016-05-15 02:20:05 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-12-27 10:18:17 +00:00
|
|
|
|
'(#:configure-flags '("--enable-lz4" "--with-builtins=snappy,zlib")
|
2016-05-15 02:20:05 +00: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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list lz4 zlib snappy))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://source.wiredtiger.com/")
|
2016-05-15 02:20:05 +00:00
|
|
|
|
(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 19:17:36 +00:00
|
|
|
|
(license license:gpl3) ; or GPL-2
|
2016-05-15 02:20:05 +00:00
|
|
|
|
;; configure.ac: WiredTiger requires a 64-bit build.
|
2024-06-30 06:57:51 +00:00
|
|
|
|
(supported-systems (delete "riscv64-linux" %64bit-supported-systems))))
|
2016-07-26 19:05:20 +00:00
|
|
|
|
|
2018-10-15 18:54:45 +00: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 16:25:18 +00:00
|
|
|
|
(define-public guile-wiredtiger
|
|
|
|
|
(package
|
|
|
|
|
(name "guile-wiredtiger")
|
2018-10-16 18:45:28 +00:00
|
|
|
|
(version "0.7.0")
|
2017-11-14 16:25:18 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://framagit.org/a-guile-mind/guile-wiredtiger.git")
|
2018-10-16 18:45:28 +00:00
|
|
|
|
(commit "340ad4bc2ff4dcc6216a2f5c6f9172ca320ac66b")))
|
2017-11-14 16:25:18 +00:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-10-16 18:45:28 +00:00
|
|
|
|
"15j36bvxxzil7qpwlmh1rffqpva3ynvrcpqhhqbj2c9208ayz595"))))
|
2017-11-14 16:25:18 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-01-03 19:43:52 +00:00
|
|
|
|
'(#:parallel-tests? #f ;; tests can't be run in parallel, yet.
|
2017-11-14 16:25:18 +00:00
|
|
|
|
#:configure-flags
|
|
|
|
|
(list (string-append "--with-libwiredtiger-prefix="
|
|
|
|
|
(assoc-ref %build-inputs "wiredtiger")))
|
2018-03-11 20:46:30 +00:00
|
|
|
|
#:make-flags '("GUILE_AUTO_COMPILE=0")))
|
2017-11-14 16:25:18 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf automake pkg-config))
|
2017-11-14 16:25:18 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list wiredtiger-3 guile-2.2))
|
2017-11-14 16:25:18 +00:00
|
|
|
|
(propagated-inputs
|
2022-02-25 20:42:37 +00:00
|
|
|
|
(list guile2.2-bytestructures))
|
2018-01-03 19:43:52 +00:00
|
|
|
|
(synopsis "WiredTiger bindings for GNU Guile")
|
2017-11-14 16:25:18 +00:00
|
|
|
|
(description
|
|
|
|
|
"This package provides Guile bindings to the WiredTiger ``NoSQL''
|
2018-10-16 18:45:28 +00:00
|
|
|
|
database.")
|
2017-11-14 16:25:18 +00:00
|
|
|
|
(home-page "https://framagit.org/a-guile-mind/guile-wiredtiger")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2016-07-26 19:05:20 +00:00
|
|
|
|
(define-public perl-db-file
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-db-file")
|
2023-07-23 00:00:00 +00:00
|
|
|
|
(version "1.858")
|
2016-07-26 19:05:20 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-05-20 15:21:38 +00:00
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/P/PM/PMQS/DB_File-"
|
|
|
|
|
version ".tar.gz"))
|
2016-07-26 19:05:20 +00:00
|
|
|
|
(sha256
|
2023-07-23 00:00:00 +00:00
|
|
|
|
(base32 "1xm7s2ag15498kp7g8r20gxk22ncz3b3hz4b3srqf7ypif3a5dyf"))))
|
2016-07-26 19:05:20 +00:00
|
|
|
|
(build-system perl-build-system)
|
2023-07-23 00:00:00 +00:00
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'modify-config.in
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "config.in"
|
|
|
|
|
(("/usr/local/BerkeleyDB")
|
|
|
|
|
#$(this-package-input "bdb"))))))))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list bdb))
|
|
|
|
|
(native-inputs (list perl-test-pod))
|
2018-08-11 13:53:20 +00:00
|
|
|
|
(home-page "https://metacpan.org/release/DB_File")
|
2020-09-30 10:18:53 +00:00
|
|
|
|
(synopsis "Perl5 access to Berkeley DB version 1.x")
|
2016-07-26 19:05:20 +00:00
|
|
|
|
(description
|
|
|
|
|
"The DB::File module provides Perl bindings to the Berkeley DB version 1.x.")
|
2017-05-02 14:57:52 +00:00
|
|
|
|
(license license:perl-license)))
|
2016-08-14 20:25:15 +00:00
|
|
|
|
|
|
|
|
|
(define-public lmdb
|
|
|
|
|
(package
|
|
|
|
|
(name "lmdb")
|
2021-05-23 13:11:57 +00:00
|
|
|
|
(version "0.9.29")
|
2019-02-12 17:07:01 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2020-06-01 22:28:09 +00:00
|
|
|
|
(url "https://git.openldap.org/openldap/openldap.git")
|
2019-02-12 17:07:01 +00:00
|
|
|
|
(commit (string-append "LMDB_" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2021-05-23 13:11:57 +00:00
|
|
|
|
(base32 "0airps4cd0d91nbgy7hgvifa801snxwxzwxyr6pdv61plsi7h8l3"))))
|
2016-08-14 20:25:15 +00: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 17:07:01 +00:00
|
|
|
|
(chdir "libraries/liblmdb")
|
2016-08-14 20:25:15 +00:00
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/local") (assoc-ref outputs "out")))
|
2020-12-16 09:18:48 +00:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'create-pkg-config-file
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p (string-append out "/lib/pkgconfig"))
|
|
|
|
|
(with-output-to-file (string-append out "/lib/pkgconfig/liblmdb.pc")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t "prefix=~a~@
|
|
|
|
|
exec_prefix=~a~@
|
|
|
|
|
libdir=~a/lib~@
|
|
|
|
|
includedir=~a/include~@
|
|
|
|
|
~@
|
|
|
|
|
Name: liblmdb~@
|
|
|
|
|
Version: ~a~@
|
|
|
|
|
Description: Lightning Memory-Mapped Database library~@
|
|
|
|
|
Libs: -L${libdir} -llmdb~@
|
|
|
|
|
Cflags: -I${includedir}~%"
|
|
|
|
|
out out out out ,version)))
|
|
|
|
|
#t))))))
|
2020-06-01 19:14:30 +00:00
|
|
|
|
(home-page "https://symas.com/lmdb/")
|
2017-06-14 16:00:07 +00: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 20:25:15 +00:00
|
|
|
|
(license license:openldap2.8)))
|
2016-09-13 18:07:13 +00:00
|
|
|
|
|
2020-02-15 20:04:07 +00:00
|
|
|
|
(define-public lmdbxx
|
|
|
|
|
(package
|
|
|
|
|
(name "lmdbxx")
|
gnu: nheko: Update to 0.8.2.
* gnu/packages/messaging.scm (nheko): Update to 0.8.2.
[source snippet]: Remove third_party folder.
[arguments]: Remove -fpermissive flag, remove remove-Werror phase, add phase
wrap-program and unbundle-dependencies.
[inputs]: Add gst-plugins-base, gst-plugins-bad, libnice, qtkeychain,
and unbundle blurhash, cpp-httplib and single-application, remove tweeny.
[native-inputs]: Add doxygen, graphviz used to build documentation.
[description]: Simplify by removing the long list, add new features.
(mtxclient): Update to 0.5.1.
[arguments]: Remove set-home phase.
* gnu/packages/databases.scm (lmdbxx): Update to 1.0.0.
[source]: Change repository to a fork required by nheko.
[home-page]: Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-27 22:54:55 +00:00
|
|
|
|
(version "1.0.0")
|
2020-02-15 20:04:07 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: nheko: Update to 0.8.2.
* gnu/packages/messaging.scm (nheko): Update to 0.8.2.
[source snippet]: Remove third_party folder.
[arguments]: Remove -fpermissive flag, remove remove-Werror phase, add phase
wrap-program and unbundle-dependencies.
[inputs]: Add gst-plugins-base, gst-plugins-bad, libnice, qtkeychain,
and unbundle blurhash, cpp-httplib and single-application, remove tweeny.
[native-inputs]: Add doxygen, graphviz used to build documentation.
[description]: Simplify by removing the long list, add new features.
(mtxclient): Update to 0.5.1.
[arguments]: Remove set-home phase.
* gnu/packages/databases.scm (lmdbxx): Update to 1.0.0.
[source]: Change repository to a fork required by nheko.
[home-page]: Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-27 22:54:55 +00:00
|
|
|
|
(url "https://github.com/hoytech/lmdbxx")
|
2020-02-15 20:04:07 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
gnu: nheko: Update to 0.8.2.
* gnu/packages/messaging.scm (nheko): Update to 0.8.2.
[source snippet]: Remove third_party folder.
[arguments]: Remove -fpermissive flag, remove remove-Werror phase, add phase
wrap-program and unbundle-dependencies.
[inputs]: Add gst-plugins-base, gst-plugins-bad, libnice, qtkeychain,
and unbundle blurhash, cpp-httplib and single-application, remove tweeny.
[native-inputs]: Add doxygen, graphviz used to build documentation.
[description]: Simplify by removing the long list, add new features.
(mtxclient): Update to 0.5.1.
[arguments]: Remove set-home phase.
* gnu/packages/databases.scm (lmdbxx): Update to 1.0.0.
[source]: Change repository to a fork required by nheko.
[home-page]: Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-27 22:54:55 +00:00
|
|
|
|
(base32 "12k5rz74d1l0skcks9apry1svkl96g9lf5dcgylgjmh7v1jm0b7c"))))
|
2020-02-15 20:04:07 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(build-system gnu-build-system)
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list lmdb))
|
gnu: nheko: Update to 0.8.2.
* gnu/packages/messaging.scm (nheko): Update to 0.8.2.
[source snippet]: Remove third_party folder.
[arguments]: Remove -fpermissive flag, remove remove-Werror phase, add phase
wrap-program and unbundle-dependencies.
[inputs]: Add gst-plugins-base, gst-plugins-bad, libnice, qtkeychain,
and unbundle blurhash, cpp-httplib and single-application, remove tweeny.
[native-inputs]: Add doxygen, graphviz used to build documentation.
[description]: Simplify by removing the long list, add new features.
(mtxclient): Update to 0.5.1.
[arguments]: Remove set-home phase.
* gnu/packages/databases.scm (lmdbxx): Update to 1.0.0.
[source]: Change repository to a fork required by nheko.
[home-page]: Update accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2021-01-27 22:54:55 +00:00
|
|
|
|
(home-page "https://github.com/hoytech/lmdbxx")
|
2020-02-15 20:04:07 +00:00
|
|
|
|
(synopsis "C++11 wrapper for the LMDB embedded B+ tree database library")
|
|
|
|
|
(description "@code{lmdbxx} is a comprehensive @code{C++} wrapper for the
|
|
|
|
|
@code{LMDB} embedded database library, offering both an error-checked
|
|
|
|
|
procedural interface and an object-oriented resource interface with RAII
|
|
|
|
|
semantics.")
|
|
|
|
|
(license license:unlicense)))
|
|
|
|
|
|
2016-09-13 18:07:13 +00:00
|
|
|
|
(define-public libpqxx
|
|
|
|
|
(package
|
|
|
|
|
(name "libpqxx")
|
2022-12-11 00:00:03 +00:00
|
|
|
|
(version "7.7.4")
|
2016-09-13 18:07:13 +00:00
|
|
|
|
(source (origin
|
2022-05-13 18:41:54 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/jtv/libpqxx")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-09-13 18:07:13 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-12-11 00:00:03 +00:00
|
|
|
|
"1qwpfba8g55jjv0xnsk4hhf2cmhk7mdirxx115cvnjjw97ppy0z0"))))
|
2016-09-13 18:07:13 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2022-05-13 18:41:54 +00:00
|
|
|
|
(native-inputs (list gcc-11 python-wrapper))
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(inputs (list postgresql))
|
2022-05-13 18:41:54 +00:00
|
|
|
|
(arguments '(#:tests? #f)) ;tests require a running PostgreSQL server
|
2016-09-13 18:07:13 +00: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.")
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://pqxx.org/")
|
2016-09-13 18:07:13 +00:00
|
|
|
|
(license license:bsd-3)))
|
2016-09-11 18:22:39 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-peewee
|
|
|
|
|
(package
|
|
|
|
|
(name "python-peewee")
|
2021-10-15 02:40:13 +00:00
|
|
|
|
(version "3.14.4")
|
2020-11-05 01:55:49 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "peewee" version))
|
|
|
|
|
(sha256
|
2021-10-15 02:40:13 +00:00
|
|
|
|
(base32 "18jidir2wid0cp8a61m9vf9mf0pdvm6nzspc8bfwdbifghr6ndcy"))))
|
2016-09-11 18:22:39 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2020-11-16 10:58:14 +00:00
|
|
|
|
`(#:tests? #f)) ; fails to import test data
|
2020-11-05 01:55:49 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list sqlite))
|
2016-09-11 18:22:39 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-cython))
|
2016-09-11 18:22:39 +00:00
|
|
|
|
(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)))
|
|
|
|
|
|
2021-11-05 01:38:29 +00:00
|
|
|
|
(define-public python-pypika-tortoise
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pypika-tortoise")
|
2023-10-07 21:39:37 +00:00
|
|
|
|
(version "0.1.6")
|
2021-11-05 01:38:29 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pypika-tortoise" version))
|
|
|
|
|
(sha256
|
2023-10-07 21:39:37 +00:00
|
|
|
|
(base32 "0dmzpsnlqjjz0vm0r9xjk69xfsm235bpnk3jccr8ww4s8y7qc0nq"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list poetry))
|
2021-11-05 01:38:29 +00:00
|
|
|
|
(home-page "https://github.com/tortoise/pypika-tortoise")
|
|
|
|
|
(synopsis "Pypika fork for tortoise-orm")
|
|
|
|
|
(description "Pypika-tortoise is a fork of pypika which has been
|
|
|
|
|
streamlined for its use in the context of tortoise-orm. It removes support
|
|
|
|
|
for many database kinds that tortoise-orm doesn't need, for example.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2021-11-05 01:39:33 +00:00
|
|
|
|
(define-public python-sphinxcontrib-asyncio
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sphinxcontrib-asyncio")
|
|
|
|
|
(version "0.3.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "sphinxcontrib-asyncio" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0bkj010ygsr7m769llf2aq4bbjfhdwqrrabi98j8gpvyzvh2dzcr"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments '(#:tests? #f)) ;no test suite
|
|
|
|
|
(propagated-inputs (list python-sphinx))
|
|
|
|
|
(home-page "https://github.com/aio-libs/sphinxcontrib-asyncio")
|
|
|
|
|
(synopsis "Sphinx extension to support coroutines in markup")
|
|
|
|
|
(description "This package is a Sphinx extension providing additional
|
|
|
|
|
coroutine-specific markup.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2021-11-05 01:43:12 +00:00
|
|
|
|
(define-public python-asyncpg
|
|
|
|
|
(package
|
|
|
|
|
(name "python-asyncpg")
|
2022-06-14 14:09:56 +00:00
|
|
|
|
(version "0.25.0")
|
2021-11-05 01:43:12 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "asyncpg" version))
|
|
|
|
|
(sha256
|
2022-06-14 14:09:56 +00:00
|
|
|
|
(base32 "0h1573lp4607nppflnnjrhn7yrfy6i54cm98gi4qbcikjykfdy33"))))
|
2021-11-05 01:43:12 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs (list python-typing-extensions))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list postgresql
|
|
|
|
|
python-cython
|
|
|
|
|
python-pytest
|
|
|
|
|
python-uvloop))
|
|
|
|
|
(home-page "https://github.com/MagicStack/asyncpg")
|
|
|
|
|
(synopsis "Fast PostgreSQL database client library for Python")
|
|
|
|
|
(description "@code{asyncpg} is a database interface library designed
|
|
|
|
|
specifically for PostgreSQL and Python/asyncio. @code{asyncpg} is an
|
|
|
|
|
efficient, clean implementation of PostgreSQL server binary protocol for use
|
|
|
|
|
with Python's asyncio framework.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2021-11-05 01:58:48 +00:00
|
|
|
|
(define-public python-asyncmy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-asyncmy")
|
2022-12-11 00:00:01 +00:00
|
|
|
|
(version "0.2.5")
|
2021-11-05 01:58:48 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "asyncmy" version))
|
|
|
|
|
(sha256
|
2022-12-11 00:00:01 +00:00
|
|
|
|
(base32 "0i18zxy6xvzv6dk791xifn2sw2q4zvqwpzrzy8qx51d3mp8z6gng"))))
|
2021-11-05 01:58:48 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs (list python-cython))
|
|
|
|
|
(home-page "https://github.com/long2ice/asyncmy")
|
|
|
|
|
(synopsis "Fast MySQL driver for Python")
|
|
|
|
|
(description "@code{asyncmy} is a fast @code{asyncio} MySQL driver, which
|
|
|
|
|
reuses most of @code{pymysql} and @code{aiomysql} but rewrites the core
|
|
|
|
|
protocol with Cython for performance.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2021-11-05 02:13:15 +00:00
|
|
|
|
(define-public python-aiomysql
|
|
|
|
|
(package
|
|
|
|
|
(name "python-aiomysql")
|
2023-03-18 07:57:23 +00:00
|
|
|
|
(version "0.1.1")
|
2021-11-05 02:13:15 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "aiomysql" version))
|
|
|
|
|
(sha256
|
2023-03-18 07:57:23 +00:00
|
|
|
|
(base32 "0zhhisf2bz2hv0vcklw45k54yr0f7gx61gnq4lc7vdp6v97nqs0d"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
2021-11-05 02:13:15 +00:00
|
|
|
|
(arguments '(#:tests? #f)) ;test suite requires docker
|
|
|
|
|
(propagated-inputs (list python-pymysql))
|
|
|
|
|
(home-page "https://github.com/aio-libs/aiomysql")
|
|
|
|
|
(synopsis "MySQL driver for Python")
|
|
|
|
|
(description "@code{aiomysql} is a driver for accessing a MySQL database
|
|
|
|
|
from the @code{asyncio} Python framework. It depends on and reuses most parts
|
|
|
|
|
of PyMySQL. @code{aiomysql} tries to preserve the same API as the
|
|
|
|
|
@code{aiopg} library.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2020-03-30 06:41:12 +00:00
|
|
|
|
(define-public python-tortoise-orm
|
|
|
|
|
(package
|
|
|
|
|
(name "python-tortoise-orm")
|
2023-10-07 21:39:38 +00:00
|
|
|
|
(version "0.20.0")
|
2020-03-30 06:41:12 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2023-10-07 21:39:38 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/tortoise/tortoise-orm")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2020-03-30 06:41:12 +00:00
|
|
|
|
(sha256
|
2023-10-07 21:39:38 +00:00
|
|
|
|
(base32 "19rgyvs2y9gn27x71y7djdz6rb6bszgvprv55q1hr4266wy6g999"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
2021-11-05 02:22:54 +00:00
|
|
|
|
;; The test suite relies on asynctest, which is abandoned and doesn't
|
|
|
|
|
;; support Python >= 3.8.
|
|
|
|
|
(arguments '(#:tests? #f))
|
2023-10-07 21:39:38 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list poetry))
|
2020-03-30 06:41:12 +00:00
|
|
|
|
(propagated-inputs
|
2021-11-05 02:22:54 +00:00
|
|
|
|
(list python-aiomysql
|
2023-10-07 21:39:36 +00:00
|
|
|
|
python-aiosqlite-0.17
|
2021-11-05 02:22:54 +00:00
|
|
|
|
python-asyncmy
|
|
|
|
|
python-asyncpg
|
|
|
|
|
python-ciso8601
|
|
|
|
|
python-iso8601
|
|
|
|
|
python-pypika-tortoise
|
|
|
|
|
python-pytz
|
|
|
|
|
python-rapidjson
|
|
|
|
|
python-uvloop))
|
|
|
|
|
(home-page "https://github.com/tortoise/tortoise-orm")
|
|
|
|
|
(synopsis "Asynchronous Object Relational Mapper (ORM) for Python")
|
|
|
|
|
(description "Tortoise ORM is an easy-to-use asyncio ORM (Object
|
|
|
|
|
Relational Mapper) inspired by Django. Tortoise ORM was built with relations
|
|
|
|
|
in mind and admiration for the excellent and popular Django ORM. It's
|
|
|
|
|
engraved in its design that you are working not with just tables, you work
|
|
|
|
|
with relational data.")
|
2020-03-30 06:41:12 +00:00
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2023-10-29 12:07:24 +00:00
|
|
|
|
(define-public aerich
|
|
|
|
|
(package
|
|
|
|
|
(name "aerich")
|
|
|
|
|
(version "0.7.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/tortoise/aerich")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0pcy945bg890p12s7cyw0mg7hxwsxyy570j600sbf7kwj2d3lilg"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list poetry
|
|
|
|
|
python-bandit
|
|
|
|
|
python-cryptography
|
|
|
|
|
python-isort
|
|
|
|
|
python-pydantic
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-asyncio
|
|
|
|
|
python-pytest-mock
|
|
|
|
|
python-pytest-xdist))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-asyncmy
|
|
|
|
|
python-asyncpg
|
|
|
|
|
python-click
|
|
|
|
|
python-ddlparse
|
|
|
|
|
python-dictdiffer
|
|
|
|
|
python-tomlkit
|
|
|
|
|
python-tortoise-orm))
|
|
|
|
|
(home-page "https://github.com/tortoise/aerich")
|
|
|
|
|
(synopsis "Database migrations tool for Tortoise @acronym{ORM, Object Relational
|
|
|
|
|
Mapper}")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides @code{aerich}, a Python database migrations tool
|
|
|
|
|
for Tortoise @acronym{ORM, Object Relational Mapper}. It can be used both
|
|
|
|
|
programmatically or as a standalone CLI application.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2016-09-22 03:58:28 +00:00
|
|
|
|
(define-public sqlcipher
|
|
|
|
|
(package
|
|
|
|
|
(name "sqlcipher")
|
2018-11-24 06:12:14 +00:00
|
|
|
|
(version "3.4.2")
|
2016-09-22 03:58:28 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2022-11-14 13:30:23 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/sqlcipher/sqlcipher")
|
|
|
|
|
(commit (string-append "v" version))))
|
2016-09-22 03:58:28 +00:00
|
|
|
|
(sha256
|
2022-11-14 13:30:23 +00:00
|
|
|
|
(base32 "168wb6fvyap7y8j86fb3xl5rd4wmhiq0dxvx9wxwi5kwm1j4vn1a"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
2016-09-22 03:58:28 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libcrypto" ,openssl)
|
|
|
|
|
("libtcl8.6" ,tcl))) ; required for running the tests
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list tcl))
|
2016-09-22 03:58:28 +00:00
|
|
|
|
(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-28 02:24:08 +00:00
|
|
|
|
(invoke "./testfixture" "test/crypto.test"))))))
|
2016-09-22 03:58:28 +00: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 18:27:06 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-pyodbc-c
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyodbc-c")
|
2022-06-05 00:00:01 +00:00
|
|
|
|
(version "3.1.5")
|
2017-01-26 18:27:06 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2022-06-05 00:00:01 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/daym/pyodbc-c/")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-01-26 18:27:06 +00:00
|
|
|
|
(sha256
|
2022-06-05 00:00:01 +00:00
|
|
|
|
(base32 "08y60c5sx0k953zfx0s2a155l8py968sb17ap9a9fg8bjnj783k8"))))
|
2017-01-26 18:27:06 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list unixodbc))
|
2017-01-26 18:27:06 +00:00
|
|
|
|
(arguments
|
2022-06-05 00:00:00 +00:00
|
|
|
|
`(;; The tests require a running SQL server that they don't help set up.
|
2017-01-26 18:27:06 +00:00
|
|
|
|
#:tests? #f))
|
2022-06-05 00:00:04 +00:00
|
|
|
|
(home-page "https://gitlab.com/daym/pyodbc-c")
|
|
|
|
|
(synopsis "Python ODBC Library written in C")
|
2017-01-26 18:27:06 +00:00
|
|
|
|
(description "@code{python-pyodbc-c} provides a Python DB-API driver
|
2022-06-05 00:00:04 +00:00
|
|
|
|
for ODBC, similar to python-pyodbc but written in C.
|
|
|
|
|
|
|
|
|
|
It's designed to stand alone and not have other dependencies on other packages
|
|
|
|
|
or languages. It uses only Python's built-in data types.")
|
2017-01-26 18:27:06 +00:00
|
|
|
|
(license (license:x11-style "file://LICENSE.TXT"))))
|
|
|
|
|
|
2017-11-19 07:47:44 +00:00
|
|
|
|
(define-public python-pyodbc
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pyodbc")
|
2022-12-11 00:00:00 +00:00
|
|
|
|
(version "4.0.35")
|
2017-11-19 07:47:44 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "pyodbc" version))
|
|
|
|
|
(sha256
|
2022-12-11 00:00:00 +00:00
|
|
|
|
(base32 "1j7577acd2f16zifw49ajg0aw7vm0pdg6jxrr1dlaa5rx14azfcj"))
|
2022-06-05 00:00:00 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Delete precompiled binaries. The corresponding source is included.
|
|
|
|
|
#~(for-each delete-file (find-files "." "\\.pyc$")))))
|
2017-11-19 07:47:44 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list unixodbc))
|
2017-11-19 07:47:44 +00:00
|
|
|
|
(arguments
|
2022-06-05 00:00:02 +00:00
|
|
|
|
;; XXX Tests fail with ‘Can't open lib 'SQL Server Native Client 10.0' :
|
|
|
|
|
;; file not found (0) (SQLDriverConnect)")’.
|
|
|
|
|
(list #:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "python3" "tests3/test.py")))))))
|
2017-11-19 07:47:44 +00:00
|
|
|
|
(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"))))
|
|
|
|
|
|
2017-04-26 16:36:31 +00:00
|
|
|
|
(define-public mdbtools
|
|
|
|
|
(package
|
|
|
|
|
(name "mdbtools")
|
|
|
|
|
(version "0.7.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-11-11 09:09:54 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/brianb/mdbtools")
|
2018-11-11 09:09:54 +00:00
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-04-26 16:36:31 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-11 09:09:54 +00:00
|
|
|
|
"0gwcpp9y09xhs21g7my2fs8ncb8i6ahlyixcx8jd3q97jbzj441l"))))
|
2017-04-26 16:36:31 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list glib))
|
2017-04-26 16:36:31 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list autoconf
|
|
|
|
|
automake
|
|
|
|
|
libtool
|
|
|
|
|
pkg-config
|
|
|
|
|
txt2man
|
|
|
|
|
which))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://mdbtools.sourceforge.net/")
|
2017-04-26 16:36:31 +00:00
|
|
|
|
(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 08:21:57 +00:00
|
|
|
|
|
2022-01-18 14:35:37 +00:00
|
|
|
|
(define-public go-gopkg-in-mgo-v2
|
|
|
|
|
(package
|
|
|
|
|
(name "go-gopkg-in-mgo-v2")
|
|
|
|
|
(version "2.0.0-20190816093944-a6b53ec6cb22")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gopkg.in/mgo.v2")
|
|
|
|
|
(commit (go-version->git-ref version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1lgvwxsbmdrf4938qkxl56wbwgbphk2qqnmpf73qdmlv4qsg14na"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; Tests try to use a running mongodb server.
|
|
|
|
|
#:import-path "gopkg.in/mgo.v2"))
|
2024-02-11 10:38:55 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list go-gopkg.in-tomb.v2))
|
|
|
|
|
(inputs
|
|
|
|
|
(list cyrus-sasl))
|
2022-01-18 14:35:37 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list go-gopkg-in-check-v1))
|
|
|
|
|
(home-page "https://gopkg.in/mgo.v2")
|
|
|
|
|
(synopsis "MongoDB driver for Go")
|
|
|
|
|
(description "This package provides a MongoDB driver for Go.")
|
|
|
|
|
(license license:bsd-2)))
|
|
|
|
|
|
2017-06-15 08:21:57 +00:00
|
|
|
|
(define-public python-lmdb
|
|
|
|
|
(package
|
|
|
|
|
(name "python-lmdb")
|
2020-09-30 10:37:34 +00:00
|
|
|
|
(version "1.0.0")
|
2017-06-15 08:21:57 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "lmdb" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-09-30 10:37:34 +00:00
|
|
|
|
"1di1gj2agbxwqqwrpk4w58dpfah0kl10ha20s63dlqdd1bgzydj1"))
|
2017-06-15 08:21:57 +00: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 11:47:34 +00:00
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file (list "lib/lmdb.h"
|
|
|
|
|
"lib/mdb.c"
|
|
|
|
|
"lib/midl.c"
|
|
|
|
|
"lib/midl.h"))
|
|
|
|
|
#t))))
|
2017-06-15 08:21:57 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list lmdb))
|
2017-06-15 08:21:57 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'use-system-lmdb
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((lmdb (assoc-ref inputs "lmdb")))
|
2020-09-30 10:37:34 +00:00
|
|
|
|
(setenv "LMDB_PURE" "set") ; don't apply env-copy-txn.patch
|
2017-06-15 08:21:57 +00:00
|
|
|
|
(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))))
|
|
|
|
|
|
2017-09-29 10:53:14 +00:00
|
|
|
|
(define-public virtuoso-ose
|
|
|
|
|
(package
|
|
|
|
|
(name "virtuoso-ose")
|
2023-09-27 19:18:48 +00:00
|
|
|
|
(version "7.2.11")
|
2017-09-29 10:53:14 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2021-06-30 12:15:22 +00:00
|
|
|
|
(uri (string-append "mirror://sourceforge/virtuoso/virtuoso/" version "/"
|
|
|
|
|
"virtuoso-opensource-" version ".tar.gz"))
|
2017-09-29 10:53:14 +00:00
|
|
|
|
(sha256
|
2023-09-27 19:18:48 +00:00
|
|
|
|
(base32 "0mk25gr1pafmps4nsydjprwswbzwch8b583nlwh7x2031sz7ald1"))
|
2022-05-30 07:03:02 +00:00
|
|
|
|
(patches (search-patches "virtuoso-ose-remove-pre-built-jar-files.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
;; This snippet removes pre-built Java archives.
|
|
|
|
|
(snippet
|
2023-07-09 00:00:02 +00:00
|
|
|
|
#~(for-each delete-file-recursively
|
|
|
|
|
(list "binsrc/hibernate"
|
|
|
|
|
"binsrc/jena"
|
|
|
|
|
"binsrc/jena2"
|
|
|
|
|
"binsrc/jena3"
|
|
|
|
|
"binsrc/jena4"
|
|
|
|
|
"binsrc/rdf4j"
|
|
|
|
|
"binsrc/sesame"
|
|
|
|
|
"binsrc/sesame2"
|
|
|
|
|
"binsrc/sesame3"
|
|
|
|
|
"binsrc/sesame4"
|
|
|
|
|
"libsrc/JDBCDriverType4")))))
|
2017-09-29 10:53:14 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2023-07-09 00:00:02 +00:00
|
|
|
|
(list
|
|
|
|
|
#: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
|
|
|
|
|
#~(list "--without-internal-zlib"
|
|
|
|
|
"--with-readline"
|
|
|
|
|
"--enable-static=no")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "sh" "autogen.sh")))
|
|
|
|
|
(add-after 'unpack 'avoid-embedding-kernel-and-timestamps
|
|
|
|
|
;; For a reproducible build, avoid embedding the kernel version and
|
|
|
|
|
;; timestamps.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute*
|
|
|
|
|
(list "bin/makever"
|
|
|
|
|
"appsrc/ODS-Polls/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-Blog/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-Community/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-Framework/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-Framework/oauth/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-WebMail/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-Calendar/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-Gallery/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-Briefcase/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-FeedManager/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-Bookmark/make_vad.sh"
|
|
|
|
|
"appsrc/ODS-Addressbook/make_vad.sh"
|
|
|
|
|
"binsrc/dbpedia/make_vad.sh"
|
|
|
|
|
"binsrc/samples/demo/make_vad.sh"
|
|
|
|
|
"binsrc/samples/demo/mkdoc.sh"
|
|
|
|
|
"binsrc/samples/sparql_demo/make_vad.sh"
|
|
|
|
|
"binsrc/bpel/make_vad.sh"
|
|
|
|
|
"binsrc/fct/make_vad.sh"
|
|
|
|
|
"binsrc/rdf_mappers/make_vad.sh"
|
|
|
|
|
"binsrc/isparql/make_vad.sh"
|
|
|
|
|
"binsrc/conductor/mkvad.sh")
|
|
|
|
|
(("^UNAME_SYSTEM=.*") "UNAME_SYSTEM=unknown\n")
|
|
|
|
|
(("^UNAME_RELEASE=.*") "UNAME_RELEASE=unknown\n")
|
|
|
|
|
(("^PACKDATE=.*") "PACKDATE=2012-04-18\n")
|
|
|
|
|
(("^DATE=.*") "DATE=2012-04-18\n"))))
|
|
|
|
|
;; Even with "--enable-static=no", "libvirtuoso-t.a" is left in
|
|
|
|
|
;; the build output. The following phase removes it.
|
|
|
|
|
(add-after 'install 'remove-static-libs
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(delete-file (string-append #$output "/lib/" file)))
|
|
|
|
|
'("libvirtuoso-t.a"
|
|
|
|
|
"libvirtuoso-t.la")))))))
|
2022-05-30 07:03:02 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list autoconf automake bison flex gperf libtool))
|
2017-09-29 10:53:14 +00:00
|
|
|
|
(inputs
|
2023-03-05 12:54:28 +00:00
|
|
|
|
(list openssl net-tools readline which zlib))
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://vos.openlinksw.com/owiki/wiki/VOS/")
|
2017-09-29 10:53:14 +00:00
|
|
|
|
(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 07:49:26 +00:00
|
|
|
|
;; configure: error: ... can only be build on 64bit platforms
|
2024-06-30 07:13:26 +00:00
|
|
|
|
(supported-systems %64bit-supported-systems)
|
2017-09-29 10:53:14 +00:00
|
|
|
|
(license license:gpl2)))
|
2017-11-06 21:02:57 +00: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 21:34:32 +00: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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-pyyaml
|
|
|
|
|
;; Not listed in setup.py, but used in ccmlib/node.py for full
|
|
|
|
|
;; functionality
|
|
|
|
|
python-psutil python-six))
|
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 21:34:32 +00:00
|
|
|
|
(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 python-sqlalchemy
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlalchemy")
|
2023-03-18 07:51:04 +00:00
|
|
|
|
(version "1.4.42")
|
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 21:34:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-01-25 22:18:55 +00: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 21:34:32 +00:00
|
|
|
|
(sha256
|
2023-03-18 07:51:04 +00:00
|
|
|
|
(base32 "0qzkxy47y06fqh1m7a0p7q2r9h48x9k5kl3znzhx2vj79j8l2zhp"))))
|
2023-05-09 17:42:48 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
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 21:34:32 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-cython ; for C extensions
|
2022-04-18 05:23:56 +00:00
|
|
|
|
python-pytest python-mock python-pytest-xdist)) ; for tests
|
2021-09-14 21:32:54 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-greenlet))
|
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 21:34:32 +00:00
|
|
|
|
(arguments
|
2022-04-18 05:23:56 +00:00
|
|
|
|
(list
|
2023-05-09 17:42:48 +00:00
|
|
|
|
#:test-flags
|
|
|
|
|
'(list ;; The memory usage tests are very expensive and run in sequence;
|
|
|
|
|
;; skip them.
|
|
|
|
|
"-k" "not test_memusage.py")))
|
2019-03-11 21:02:38 +00: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 21:34:32 +00: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)))
|
|
|
|
|
|
2024-02-28 14:30:46 +00:00
|
|
|
|
(define-public python-sqlalchemy-2
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlalchemy")
|
|
|
|
|
(version "2.0.27")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "SQLAlchemy" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1y1l4lwhvgs7ivwhcp4vljjdsaha77x9859kz65virhzlxlyv9l6"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(native-inputs (list python-pytest))
|
|
|
|
|
(propagated-inputs (list python-typing-extensions))
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Remove expensive tests.
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
'("test/ext/mypy/test_mypy_plugin_py3k.py"
|
|
|
|
|
"test/typing/test_mypy.py"
|
|
|
|
|
"test/aaa_profiling/test_memusage.py"))
|
|
|
|
|
(substitute* "test/engine/test_pool.py"
|
|
|
|
|
;; Disable a test that fails randomly.
|
|
|
|
|
(("def test_recycle_pool_no_race")
|
|
|
|
|
"def _test_recycle_pool_no_race"))))
|
|
|
|
|
;; According to the pyproject.toml, greenlet is optional.
|
|
|
|
|
(add-after 'unpack 'remove-dependency-on-greenlet
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.cfg"
|
|
|
|
|
(("greenlet != 0.4.17")
|
|
|
|
|
"#greenlet != 0.4.17"))
|
|
|
|
|
(substitute* "PKG-INFO"
|
|
|
|
|
(("Requires-Dist: greenlet")
|
|
|
|
|
"#Requires-Dist: greenlet")))))))
|
|
|
|
|
(home-page "https://www.sqlalchemy.org")
|
|
|
|
|
(synopsis "SQL toolkit and object relational mapper")
|
|
|
|
|
(description
|
|
|
|
|
"SQLAlchemy is the Python SQL toolkit and @acronym{ORM, 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:expat)))
|
|
|
|
|
|
2021-05-08 20:41:24 +00:00
|
|
|
|
(define-public python-sqlalchemy-stubs
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlalchemy-stubs")
|
|
|
|
|
(version "0.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "sqlalchemy-stubs" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1bppjmv7v7m0q8gwg791pgxbx4ay7mna0zq204pn9vw28kfxcrf6"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-mypy python-typing-extensions))
|
2021-05-08 20:41:24 +00:00
|
|
|
|
(home-page "https://github.com/dropbox/sqlalchemy-stubs")
|
|
|
|
|
(synopsis "SQLAlchemy stubs and mypy plugin")
|
|
|
|
|
(description "This package contains type stubs and a mypy plugin to
|
|
|
|
|
provide more precise static types and type inference for SQLAlchemy
|
|
|
|
|
framework.")
|
|
|
|
|
(license license:asl2.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 21:34:32 +00:00
|
|
|
|
(define-public python-sqlalchemy-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlalchemy-utils")
|
2022-12-11 00:00:00 +00:00
|
|
|
|
(version "0.38.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 21:34:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "SQLAlchemy-Utils" version))
|
|
|
|
|
(sha256
|
2022-12-11 00:00:00 +00:00
|
|
|
|
(base32 "0k8z0mjhvdv302kn0nhci8b2dgw4cn2akprsf37ma1540ykgp6lz"))))
|
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 21:34:32 +00: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
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-six python-sqlalchemy))
|
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 21:34:32 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-dateutil python-flexmock python-psycopg2 python-pytest
|
|
|
|
|
python-pytz))
|
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 21:34:32 +00:00
|
|
|
|
(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)))
|
|
|
|
|
|
2020-09-01 15:02:59 +00:00
|
|
|
|
(define-public python-alchemy-mock
|
|
|
|
|
(package
|
|
|
|
|
(name "python-alchemy-mock")
|
|
|
|
|
(version "0.4.3")
|
|
|
|
|
(home-page "https://github.com/miki725/alchemy-mock")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "alchemy-mock" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-12-05 11:28:41 +00:00
|
|
|
|
"0ylxygl3bcdapzz529n8wgk7vx9gjwb3ism564ypkpd7dbsw653r"))
|
|
|
|
|
(snippet
|
|
|
|
|
#~(begin (use-modules (guix build utils))
|
|
|
|
|
(substitute* "alchemy_mock/comparison.py"
|
|
|
|
|
(("collections\\.Mapping") "collections.abc.Mapping"))))))
|
2020-09-01 15:02:59 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Create pytest.ini that adds doctest options to
|
|
|
|
|
;; prevent test failure. Taken from tox.ini.
|
|
|
|
|
(call-with-output-file "pytest.ini"
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "[pytest]
|
|
|
|
|
doctest_optionflags=IGNORE_EXCEPTION_DETAIL
|
|
|
|
|
")))
|
|
|
|
|
(invoke "pytest" "-vv" "--doctest-modules"
|
|
|
|
|
"alchemy_mock/"))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-mock python-pytest))
|
2020-09-01 15:02:59 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-six python-sqlalchemy))
|
2020-09-01 15:02:59 +00:00
|
|
|
|
(synopsis "Mock helpers for SQLAlchemy")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides mock helpers for SQLAlchemy that makes it easy
|
|
|
|
|
to mock an SQLAlchemy session while preserving the ability to do asserts.
|
|
|
|
|
|
|
|
|
|
Normally Normally SQLAlchemy's expressions cannot be easily compared as
|
|
|
|
|
comparison on binary expression produces yet another binary expression, but
|
|
|
|
|
this library provides functions to facilitate such comparisons.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
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 21:34:32 +00:00
|
|
|
|
(define-public python-alembic
|
|
|
|
|
(package
|
|
|
|
|
(name "python-alembic")
|
2021-12-02 22:09:47 +00:00
|
|
|
|
(version "1.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 21:34:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "alembic" version))
|
|
|
|
|
(sha256
|
2021-12-02 22:09:47 +00:00
|
|
|
|
(base32 "0lxi2g2025lz5k7k5dd5fc1lfijqi2yw6qqyjzp073z6laa8cckw"))))
|
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 21:34:32 +00:00
|
|
|
|
(build-system python-build-system)
|
2020-03-15 14:03:33 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "pytest" "-vv"))))))
|
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 21:34:32 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-mock python-pytest-cov))
|
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 21:34:32 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-dateutil python-sqlalchemy python-mako python-editor))
|
2017-12-26 01:14:13 +00:00
|
|
|
|
(home-page "https://bitbucket.org/zzzeek/alembic")
|
2019-08-15 18:46:59 +00:00
|
|
|
|
(synopsis "Database migration tool for SQLAlchemy")
|
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 21:34:32 +00:00
|
|
|
|
(description
|
|
|
|
|
"Alembic is a lightweight database migration tool for usage with the
|
|
|
|
|
SQLAlchemy Database Toolkit for Python.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2023-03-26 19:43:28 +00:00
|
|
|
|
(define-public python-sqlite-fts4
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlite-fts4")
|
|
|
|
|
(version "1.0.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "sqlite-fts4" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"034kx0ac556sywy1p4qcrc36l24w3q0xwswqv2z9s3k8yvm5xc3q"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs (list python-pytest))
|
|
|
|
|
(home-page "https://github.com/simonw/sqlite-fts4")
|
|
|
|
|
(synopsis "Python functions for working with SQLite FTS4 search")
|
|
|
|
|
(description "This package provides custom SQLite functions written
|
|
|
|
|
in Python for ranking documents indexed using the SQLite's FTS4 full
|
|
|
|
|
text search extension.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2023-03-26 19:43:29 +00:00
|
|
|
|
(define-public python-sqlite-utils
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlite-utils")
|
2023-05-12 22:29:03 +00:00
|
|
|
|
(version "3.32.1")
|
2023-03-26 19:43:29 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch) ;for tests
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/simonw/sqlite-utils")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-05-12 22:29:03 +00:00
|
|
|
|
"1qf9zwn9gdkx8825klicwkw8zj5wpidd8csdhjxvybq56nkgnrpm"))))
|
2023-03-26 19:43:29 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases #~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'relax-requirements
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
;; This is a variant designed to have a binary
|
|
|
|
|
;; wheel made available on PyPI, which is not a
|
|
|
|
|
;; concern to Guix.
|
|
|
|
|
(("click-default-group-wheel")
|
|
|
|
|
"click-default-group")))))))
|
|
|
|
|
(propagated-inputs (list python-click python-click-default-group
|
|
|
|
|
python-dateutil python-sqlite-fts4
|
|
|
|
|
python-tabulate))
|
|
|
|
|
(native-inputs (list python-pytest))
|
|
|
|
|
(home-page "https://github.com/simonw/sqlite-utils")
|
|
|
|
|
(synopsis
|
|
|
|
|
"CLI tool and Python utility functions for manipulating SQLite databases")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a CLI tool and Python utility functions for
|
|
|
|
|
manipulating SQLite databases. It's main features are:
|
|
|
|
|
@itemize
|
|
|
|
|
@item
|
|
|
|
|
Pipe JSON (or CSV or TSV) directly into a new SQLite database file,
|
|
|
|
|
automatically creating a table with the appropriate schema.
|
|
|
|
|
@item
|
|
|
|
|
Run in-memory SQL queries, including joins, directly against data in
|
|
|
|
|
CSV, TSV or JSON files and view the results.
|
|
|
|
|
@item
|
|
|
|
|
Configure SQLite full-text search against your database tables and run
|
|
|
|
|
search queries against them, ordered by relevance.
|
|
|
|
|
@item
|
|
|
|
|
Run transformations against your tables to make schema changes that
|
|
|
|
|
SQLite ALTER TABLE does not directly support, such as changing the type
|
|
|
|
|
of a column.
|
|
|
|
|
@item
|
|
|
|
|
Extract columns into separate tables to better normalize your existing
|
|
|
|
|
data.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:asl2.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 21:34:32 +00:00
|
|
|
|
(define-public python-pickleshare
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pickleshare")
|
2018-10-10 20:44:16 +00: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 21:34:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-02-26 03:23:46 +00: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 21:34:32 +00:00
|
|
|
|
(sha256
|
2018-10-10 20:44:16 +00: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 21:34:32 +00:00
|
|
|
|
(build-system python-build-system)
|
2018-02-26 03:40:40 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "pytest"))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list 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 21:34:32 +00: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.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
|
|
|
|
(define-public python-apsw
|
|
|
|
|
(package
|
|
|
|
|
(name "python-apsw")
|
2024-06-16 14:48:58 +00:00
|
|
|
|
(version "3.46.0.0")
|
2022-09-06 12:30:45 +00:00
|
|
|
|
;; The compressed release has fetching functionality disabled.
|
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 21:34:32 +00:00
|
|
|
|
(source
|
2022-08-26 14:28:48 +00:00
|
|
|
|
(origin
|
2022-09-06 12:30:45 +00:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/rogerbinns/apsw/releases/download/"
|
|
|
|
|
version "/apsw-" version ".zip"))
|
2022-08-26 14:28:48 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-06-16 14:48:58 +00:00
|
|
|
|
"10yfbasi4mq63g0svyl1h49ylwn9znjylq78id16dzxzk9q9ipdx"))))
|
2022-12-10 21:04:41 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(native-inputs
|
2024-02-01 03:37:13 +00:00
|
|
|
|
(list unzip))
|
|
|
|
|
(inputs (list sqlite-next)) ;SQLite 3.45.1 required.
|
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 21:34:32 +00:00
|
|
|
|
(arguments
|
2022-12-10 21:04:41 +00:00
|
|
|
|
(list
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'build-extensions
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "python" "setup.py" "build" "--enable-all-extensions"
|
|
|
|
|
"--enable=load_extension")))
|
|
|
|
|
(add-after 'build 'build-test-helper
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext"
|
|
|
|
|
"-I." "-Isqlite3" "src/testextension.c"))))))
|
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 21:34:32 +00:00
|
|
|
|
(home-page "https://github.com/rogerbinns/apsw/")
|
|
|
|
|
(synopsis "Another Python SQLite Wrapper")
|
2022-08-26 14:28:48 +00:00
|
|
|
|
(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.")
|
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 21:34:32 +00:00
|
|
|
|
(license license:zlib)))
|
|
|
|
|
|
2020-03-30 06:32:30 +00:00
|
|
|
|
(define-public python-aiosqlite
|
|
|
|
|
(package
|
|
|
|
|
(name "python-aiosqlite")
|
2023-03-18 08:43:29 +00:00
|
|
|
|
(version "0.18.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/omnilib/aiosqlite")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1a8sggh1wwbpl46k5qcfmp97s9hjysna0x7mwwc53kyfm0m95wf8"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
2021-03-04 12:27:11 +00:00
|
|
|
|
(arguments
|
2023-03-18 08:43:29 +00:00
|
|
|
|
(list #:phases #~(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "python" "-m" "coverage" "run" "-m"
|
|
|
|
|
"aiosqlite.tests")
|
|
|
|
|
(invoke "python" "-m" "coverage" "report")))))))
|
|
|
|
|
(native-inputs (list python-flit-core
|
|
|
|
|
python-coverage
|
|
|
|
|
python-mypy))
|
2020-03-30 06:32:30 +00:00
|
|
|
|
(home-page "https://github.com/jreese/aiosqlite")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Asyncio bridge for sqlite3")
|
|
|
|
|
(description
|
|
|
|
|
"The package aiosqlite replicates the standard sqlite3 module, but with
|
|
|
|
|
async versions of all the standard connection and cursor methods, and context
|
|
|
|
|
managers for automatically closing connections.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2023-10-07 21:39:36 +00:00
|
|
|
|
(define-public python-aiosqlite-0.17
|
|
|
|
|
(package
|
|
|
|
|
(inherit python-aiosqlite)
|
|
|
|
|
(version "0.17.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/omnilib/aiosqlite")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name (package-name python-aiosqlite)
|
|
|
|
|
version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1agh7b9g7rgryvb8flph85i8m80ai1rinpljxzlsrs0s0y616qgg"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(if tests?
|
|
|
|
|
(invoke "python" "-m" "unittest" "aiosqlite.tests")
|
|
|
|
|
(format #t "test suite not run~%")))))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-typing-extensions))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-flit-core python-aiounittest))))
|
|
|
|
|
|
2022-05-05 14:41:08 +00:00
|
|
|
|
(define-public python-databases
|
|
|
|
|
(package
|
|
|
|
|
(name "python-databases")
|
2023-03-18 08:47:55 +00:00
|
|
|
|
(version "0.7.0")
|
2022-05-05 14:41:08 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "databases" version))
|
|
|
|
|
(sha256
|
2023-03-18 08:47:55 +00:00
|
|
|
|
(base32 "0x5nqhzgjqimv2ybjbzy5vv0l23g0n1g5f6fnyahbf1f7nfl2bga"))))
|
2022-05-05 14:41:08 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-aiosqlite
|
|
|
|
|
python-aiopg
|
|
|
|
|
python-aiomysql
|
|
|
|
|
python-asyncpg
|
|
|
|
|
python-asyncmy
|
|
|
|
|
python-sqlalchemy))
|
|
|
|
|
(home-page "https://github.com/encode/databases")
|
2023-03-18 08:48:02 +00:00
|
|
|
|
(synopsis "Asynchronous database abstraction library")
|
|
|
|
|
(description "Databases provides a wrapper around asynchronous database
|
|
|
|
|
libraries with SQLALchemy.")
|
2022-05-05 14:41:08 +00:00
|
|
|
|
(license license:bsd-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 21:34:32 +00:00
|
|
|
|
(define-public python-psycopg2
|
|
|
|
|
(package
|
|
|
|
|
(name "python-psycopg2")
|
2023-07-23 00:00:00 +00:00
|
|
|
|
(version "2.9.6")
|
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 21:34:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "psycopg2" version))
|
|
|
|
|
(sha256
|
2023-07-23 00:00:00 +00:00
|
|
|
|
(base32 "04chl9f7v7k1zssa40pmk06jvpyqiss2lpjq50dq69nqix0mhlgi"))))
|
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 21:34:32 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Tests would require a postgresql database "psycopg2_test"
|
|
|
|
|
;; and a running postgresql database management service.
|
2022-01-21 10:31:32 +00:00
|
|
|
|
'(#:tests? #f)) ; TODO re-enable after providing a test-db.
|
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 21:34:32 +00:00
|
|
|
|
(inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list postgresql)) ; libpq
|
2022-01-21 10:31:32 +00:00
|
|
|
|
(home-page "https://www.psycopg.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 21:34:32 +00:00
|
|
|
|
(synopsis "Python PostgreSQL adapter")
|
|
|
|
|
(description
|
2018-07-29 12:38:08 +00: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 21:34:32 +00:00
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2022-01-21 19:55:11 +00:00
|
|
|
|
(define-public python-psycopg-pool
|
|
|
|
|
(package
|
|
|
|
|
(name "python-psycopg-pool")
|
|
|
|
|
;; The connection pooling code is on a different release cadence
|
|
|
|
|
;; from the driver code, so fetch the latest PyPI release.
|
2023-09-15 15:12:46 +00:00
|
|
|
|
(version "3.1.7")
|
2022-01-21 19:55:11 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "psycopg-pool" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-09-15 15:12:46 +00:00
|
|
|
|
"1pkx7nj1mhacwpna7ldzqfqxd1xg8826600r0bs9ad1h93f429yh"))))
|
2022-01-21 19:55:11 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:tests? #f ;run for psycopg below
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
;; This module requires 'psycopg', however psycopg needs this
|
|
|
|
|
;; for its tests. Disable sanity check to break the cycle.
|
|
|
|
|
(delete 'sanity-check))))
|
|
|
|
|
(home-page "https://www.psycopg.org/")
|
|
|
|
|
(synopsis "Connection pooler for psycopg")
|
|
|
|
|
(description
|
|
|
|
|
"This module provides connection pool implementations that can be used
|
|
|
|
|
with the @code{psycopg} PostgreSQL driver.")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
2022-01-21 19:55:53 +00:00
|
|
|
|
(define-public python-psycopg
|
|
|
|
|
(package
|
|
|
|
|
(name "python-psycopg")
|
2023-09-15 15:13:13 +00:00
|
|
|
|
(version "3.1.10")
|
2022-01-21 19:55:53 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
;; Fetch from git because PyPI contains only cythonized sources.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/psycopg/psycopg")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-09-15 15:13:13 +00:00
|
|
|
|
"0hqk45wlaflz69cy1r0hbv11bwb89p6hjb7zmgqas26gdhg37n0r"))))
|
2022-01-21 19:55:53 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list #:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'change-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "psycopg")))
|
|
|
|
|
(add-after 'build 'build-c-extensions
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "../psycopg_c"
|
|
|
|
|
((assoc-ref %standard-phases 'build)))))
|
|
|
|
|
(add-after 'install 'install-c-extensions
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
;; For some reason setup.py refuses to install if the
|
|
|
|
|
;; installation directory is not on PYTHONPATH.
|
|
|
|
|
(setenv "PYTHONPATH" (site-packages inputs outputs))
|
|
|
|
|
(with-directory-excursion "../psycopg_c"
|
|
|
|
|
((assoc-ref %standard-phases 'install)
|
|
|
|
|
#:inputs inputs
|
|
|
|
|
#:outputs outputs))))
|
|
|
|
|
(add-before 'check 'start-postgresql
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((dbdir (string-append (getcwd) "/../pgdir")))
|
|
|
|
|
(invoke "initdb" "-D" dbdir)
|
|
|
|
|
(invoke "pg_ctl" "-D" dbdir
|
|
|
|
|
"-o" (string-append "-k " dbdir)
|
|
|
|
|
"-l" (string-append dbdir "/db.log")
|
|
|
|
|
"start")
|
|
|
|
|
|
|
|
|
|
(invoke "psql" "-h" dbdir "-d" "postgres"
|
|
|
|
|
"-c" "CREATE DATABASE nixbld;"))))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key inputs tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(setenv "TZDIR" (search-input-directory inputs
|
|
|
|
|
"share/zoneinfo"))
|
|
|
|
|
(with-directory-excursion ".."
|
|
|
|
|
(invoke "pytest" "-vv"
|
|
|
|
|
"-o" "asyncio_mode=auto"
|
|
|
|
|
;; FIXME: Many of the typing tests are failing,
|
|
|
|
|
;; conveniently tagged as slow...
|
2023-09-15 15:13:13 +00:00
|
|
|
|
"-k" "not slow")))))
|
|
|
|
|
;; The sanity check phase attempts loading the C extension
|
|
|
|
|
;; before the Python library, which results in the following:
|
|
|
|
|
;; <ImportError: the psycopg package should be imported
|
|
|
|
|
;; before psycopg_c>.
|
|
|
|
|
(delete 'sanity-check))))
|
2022-01-21 19:55:53 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-cython-3
|
|
|
|
|
python-mypy
|
|
|
|
|
python-psycopg-pool
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-asyncio
|
2023-09-15 15:13:13 +00:00
|
|
|
|
python-anyio
|
2022-01-21 19:55:53 +00:00
|
|
|
|
python-tenacity
|
|
|
|
|
pproxy
|
|
|
|
|
tzdata-for-tests))
|
|
|
|
|
(inputs
|
|
|
|
|
(list postgresql))
|
|
|
|
|
(home-page "https://www.psycopg.org/")
|
|
|
|
|
(synopsis "PostgreSQL driver for Python")
|
|
|
|
|
(description
|
|
|
|
|
"Psycopg 3 is a new implementation of the popular @code{psycopg2}
|
|
|
|
|
database adapter for Python.")
|
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
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 21:34:32 +00:00
|
|
|
|
(define-public python-sadisplay
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sadisplay")
|
2021-09-15 17:34:30 +00:00
|
|
|
|
(version "0.4.9")
|
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 21:34:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "sadisplay" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-09-15 17:34:30 +00:00
|
|
|
|
"15jxwgla3q4xsp6rw8inqaiy1kdzc8l2cixj8amqcf0ji47icrxg"))))
|
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 21:34:32 +00:00
|
|
|
|
(build-system python-build-system)
|
2021-09-15 17:34:30 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(if tests?
|
|
|
|
|
(begin
|
|
|
|
|
(setenv "PYTHONPATH"
|
|
|
|
|
(string-append ".:" (or (getenv "PYTHONPATH")
|
|
|
|
|
"")))
|
|
|
|
|
(invoke "pytest" "-vv"))
|
|
|
|
|
(format #t "test suite not run~%")))))))
|
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 21:34:32 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-sqlalchemy))
|
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 21:34:32 +00:00
|
|
|
|
(native-inputs
|
2017-12-25 06:36:36 +00:00
|
|
|
|
;; For tests.
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list 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 21:34:32 +00:00
|
|
|
|
(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)))
|
|
|
|
|
|
2020-10-13 00:53:23 +00:00
|
|
|
|
(define-public yoyo-migrations
|
|
|
|
|
(package
|
|
|
|
|
(name "yoyo-migrations")
|
2023-09-06 11:12:10 +00:00
|
|
|
|
(version "8.2.0")
|
2020-10-13 00:53:23 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; We use the upstream repository, as the tests are not included in the
|
|
|
|
|
;; PyPI releases.
|
|
|
|
|
(method hg-fetch)
|
|
|
|
|
(uri (hg-reference
|
|
|
|
|
(url "https://hg.sr.ht/~olly/yoyo")
|
|
|
|
|
(changeset (string-append "v" version "-release"))))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
2023-09-06 11:12:10 +00:00
|
|
|
|
(base32 "1al030ix0w63hr4s3mqry6s0mlqdj8p242pdqks06br7c25nx3yj"))))
|
2020-10-13 00:53:23 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; XXX: Tests require a connection to some pgsql database and psycopg
|
|
|
|
|
;; fails to connect to it.
|
|
|
|
|
'(#:tests? #f))
|
|
|
|
|
(propagated-inputs
|
2023-09-06 11:12:10 +00:00
|
|
|
|
(list python-sqlparse python-tabulate python-importlib-metadata))
|
2020-10-13 00:53:23 +00:00
|
|
|
|
(home-page "https://ollycope.com/software/yoyo/latest/")
|
|
|
|
|
(synopsis "Database migrations with SQL")
|
|
|
|
|
(description
|
|
|
|
|
"Yoyo is a database schema migration tool. Migrations are written as SQL
|
|
|
|
|
files or Python scripts that define a list of migration steps.")
|
|
|
|
|
(license license:asl2.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 21:34:32 +00:00
|
|
|
|
(define-public python-mysqlclient
|
|
|
|
|
(package
|
|
|
|
|
(name "python-mysqlclient")
|
2024-02-18 22:12:07 +00:00
|
|
|
|
(version "2.2.4")
|
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 21:34:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "mysqlclient" version))
|
|
|
|
|
(sha256
|
2024-02-18 22:12:07 +00:00
|
|
|
|
(base32 "0hdznfz9095d2qhl7awbp39s7wpqbxn37xzan487qzaf8srrzg1k"))))
|
2024-02-18 22:12:05 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
2024-02-18 22:12:07 +00:00
|
|
|
|
(list #:test-flags
|
2024-02-18 22:12:05 +00:00
|
|
|
|
#~'("tests/test__mysql.py" ;tests not needing a live db
|
|
|
|
|
"tests/test_MySQLdb_times.py")))
|
2024-02-18 22:12:07 +00:00
|
|
|
|
(native-inputs (list pkg-config python-pytest))
|
2024-02-18 22:12:05 +00:00
|
|
|
|
(inputs (list mariadb-connector-c))
|
|
|
|
|
(home-page "https://github.com/PyMySQL/mysqlclient")
|
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 21:34:32 +00:00
|
|
|
|
(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 python-hiredis
|
|
|
|
|
(package
|
|
|
|
|
(name "python-hiredis")
|
2023-03-19 02:07:42 +00:00
|
|
|
|
(version "2.2.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch) ;for tests
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/redis/hiredis-py")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"066rm5m7aa8skm0a57cf45153bwmbl9yyi4s60an14hb25n947gi"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "python-hiredis-fix-header.patch"
|
|
|
|
|
"python-hiredis-use-system-hiredis.patch"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
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 21:34:32 +00:00
|
|
|
|
(arguments
|
2023-03-19 02:07:42 +00:00
|
|
|
|
(list #:phases #~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'delete-extraneous-__init__.py
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The fix was forwarded upstream, see:
|
|
|
|
|
;; https://github.com/redis/hiredis-py/pull/160.
|
|
|
|
|
(delete-file "tests/__init__.py"))))))
|
|
|
|
|
(native-inputs (list python-pytest))
|
|
|
|
|
(inputs (list hiredis))
|
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 21:34:32 +00:00
|
|
|
|
(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 python-fakeredis
|
|
|
|
|
(package
|
|
|
|
|
(name "python-fakeredis")
|
2023-03-20 03:52:13 +00:00
|
|
|
|
(version "2.10.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch) ;for tests
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/cunla/fakeredis-py")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1imsi9dswvkda894sm53lfzdsna0qlrgxszczlq2sam68zn4hfz6"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
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 21:34:32 +00:00
|
|
|
|
(arguments
|
2023-03-20 03:52:13 +00:00
|
|
|
|
(list #:phases #~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'relax-requirements
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "pyproject.toml"
|
|
|
|
|
(("sortedcontainers = \"\\^2\\.4\"")
|
|
|
|
|
"sortedcontainers = \"^2.1\"")))))))
|
|
|
|
|
(native-inputs (list python-poetry-core python-pytest
|
|
|
|
|
python-pytest-asyncio python-pytest-mock))
|
|
|
|
|
(propagated-inputs (list python-redis python-sortedcontainers))
|
|
|
|
|
(home-page "https://github.com/cunla/fakeredis-py")
|
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 21:34:32 +00:00
|
|
|
|
(synopsis "Fake implementation of redis API for testing purposes")
|
2018-09-25 08:55:40 +00: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 21:34:32 +00:00
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
|
|
|
|
(define-public python-redis
|
|
|
|
|
(package
|
|
|
|
|
(name "python-redis")
|
2023-04-07 17:12:07 +00:00
|
|
|
|
(version "4.5.4")
|
2023-03-20 03:29:40 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
;; The PyPI archive lacks some test resources such as the TLS
|
|
|
|
|
;; certificates under docker/stunnel/keys.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/redis/redis-py")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-04-07 17:12:07 +00:00
|
|
|
|
"0s5pswykjcyqbx471ib3gwy29xxa5ckgch9hy476x2s4pvhkbgmr"))))
|
2023-03-20 03:29:40 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:test-flags
|
|
|
|
|
#~(list "-m"
|
|
|
|
|
;; These tests are disabled in the official CI run (see:
|
|
|
|
|
;; https://raw.githubusercontent.com/redis/redis-py/master/
|
|
|
|
|
;; .github/workflows/install_and_test.sh).
|
|
|
|
|
(string-append "not onlycluster "
|
|
|
|
|
"and not redismod "
|
|
|
|
|
"and not ssl")
|
|
|
|
|
"-k" (string-append
|
|
|
|
|
;; The autoclaim test fails with "AssertionError: assert
|
|
|
|
|
;; [b'0-0', [], []] == [b'0-0', []]".
|
|
|
|
|
"not test_xautoclaim "
|
|
|
|
|
;; These tests cause the following error: "Error 111
|
|
|
|
|
;; connecting to localhost:6380. Connection refused."
|
|
|
|
|
;; (see: https://github.com/redis/redis-py/issues/2109).
|
|
|
|
|
"and not test_sync "
|
|
|
|
|
"and not test_psync"))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
;; Tests require a running Redis server.
|
|
|
|
|
(add-before 'check 'start-redis
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "redis-server" "--daemonize" "yes"
|
|
|
|
|
"--enable-debug-command" "yes"
|
|
|
|
|
"--enable-module-command" "local")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-pytest
|
|
|
|
|
python-pytest-asyncio
|
|
|
|
|
python-pytest-timeout
|
|
|
|
|
redis))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-async-timeout))
|
|
|
|
|
(home-page "https://github.com/redis/redis-py")
|
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 21:34:32 +00:00
|
|
|
|
(synopsis "Redis Python client")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a Python interface to the Redis key-value store.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2023-03-20 03:58:11 +00:00
|
|
|
|
(define-public python-aioredis
|
|
|
|
|
(deprecated-package "python-aioredis" python-redis))
|
|
|
|
|
|
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 21:34:32 +00:00
|
|
|
|
(define-public python-rq
|
|
|
|
|
(package
|
|
|
|
|
(name "python-rq")
|
2022-12-11 00:00:01 +00:00
|
|
|
|
(version "1.11.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 21:34:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-09-01 11:55:39 +00:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/rq/rq")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name 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 21:34:32 +00:00
|
|
|
|
(sha256
|
2022-12-11 00:00:01 +00:00
|
|
|
|
(base32 "0dnjm2s036l4j4ypq0h903vh132dp2wiwjrn8jicz1nw829dqpzf"))))
|
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 21:34:32 +00:00
|
|
|
|
(build-system python-build-system)
|
2020-09-01 11:55:39 +00:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'start-redis
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "redis-server" "--daemonize" "yes")))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; Drop test that needs the SDK for Sentry.io.
|
|
|
|
|
(delete-file "tests/test_sentry.py")
|
|
|
|
|
;; Ensure 'rq' and 'rqworker' ends up on PATH.
|
|
|
|
|
(setenv "PATH" (string-append out "/bin:"
|
|
|
|
|
(getenv "PATH")))
|
|
|
|
|
(invoke "pytest" "-vv")))))))
|
|
|
|
|
(native-inputs
|
2022-08-16 09:14:10 +00:00
|
|
|
|
(list python-mock python-psutil python-pytest redis))
|
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 21:34:32 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-click python-redis))
|
2020-01-18 20:51:57 +00:00
|
|
|
|
(home-page "https://python-rq.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 21:34:32 +00:00
|
|
|
|
(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)))
|
|
|
|
|
|
2020-09-01 12:12:55 +00:00
|
|
|
|
(define-public python-rq-scheduler
|
|
|
|
|
(package
|
|
|
|
|
(name "python-rq-scheduler")
|
|
|
|
|
(version "0.10.0")
|
|
|
|
|
(home-page "https://github.com/rq/rq-scheduler")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url home-page)
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0xg6yazqs5kbr2ayvhvljs1h5vgx5k5dds613fmhswln7gglf9hk"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'check 'start-redis
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "redis-server" "--daemonize" "yes")))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "run_tests.py"
|
|
|
|
|
(("/usr/bin/env")
|
|
|
|
|
(which "env")))
|
|
|
|
|
(invoke "./run_tests.py"))))))
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list redis which))
|
2020-09-01 12:12:55 +00:00
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-croniter python-rq))
|
2020-09-01 12:12:55 +00:00
|
|
|
|
(synopsis "Job scheduling capabilities for RQ (Redis Queue)")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides job scheduling capabilities to @code{python-rq}
|
|
|
|
|
(Redis Queue).")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
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 21:34:32 +00:00
|
|
|
|
(define-public python-sqlparse
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sqlparse")
|
2022-12-11 00:00:00 +00:00
|
|
|
|
(version "0.4.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 21:34:32 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "sqlparse" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2022-12-11 00:00:00 +00:00
|
|
|
|
"0s3jyllg0ka0n7pgqfng1hzvh39li853dr40qcp4s4dv8r481jk9"))))
|
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 21:34:32 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
2021-05-05 19:19:27 +00:00
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "py.test")))
|
|
|
|
|
;; XXX: The regular wrap phase ends up storing pytest as a runtime
|
|
|
|
|
;; dependency. See <https://bugs.gnu.org/25235>.
|
|
|
|
|
(replace 'wrap
|
|
|
|
|
(lambda* (#:key native-inputs inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(python (assoc-ref (or native-inputs inputs) "python"))
|
|
|
|
|
(sitedir (string-append "/lib/python"
|
|
|
|
|
(python-version python)
|
|
|
|
|
"/site-packages")))
|
|
|
|
|
(wrap-program (string-append out "/bin/sqlformat")
|
|
|
|
|
`("PYTHONPATH" ":" prefix
|
|
|
|
|
,(map (lambda (output)
|
|
|
|
|
(string-append output sitedir))
|
|
|
|
|
(list python out))))))))))
|
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 21:34:32 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list 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 21:34:32 +00:00
|
|
|
|
(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.")
|
2022-01-11 15:49:47 +00:00
|
|
|
|
(license license:bsd-3)
|
|
|
|
|
(properties '((cpe-name . "sqlparse")))))
|
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 21:34:32 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-sql
|
|
|
|
|
(package
|
|
|
|
|
(name "python-sql")
|
2021-09-16 17:06:35 +00:00
|
|
|
|
(version "1.3.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 21:34:32 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "python-sql" version))
|
|
|
|
|
(sha256
|
2021-09-16 17:06:35 +00:00
|
|
|
|
(base32 "0xnimfzlxj1ddrb5xj3s4gaii278a0gpxrvwmdmrdxgjfdi3lq4x"))))
|
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 21:34:32 +00: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)))
|
|
|
|
|
|
2020-03-30 06:37:04 +00:00
|
|
|
|
(define-public python-pypika
|
|
|
|
|
(package
|
|
|
|
|
(name "python-pypika")
|
2021-03-04 12:26:16 +00:00
|
|
|
|
(version "0.47.6")
|
2020-03-30 06:37:04 +00:00
|
|
|
|
(source
|
2020-04-21 08:35:33 +00:00
|
|
|
|
(origin (method git-fetch)
|
|
|
|
|
(uri (git-reference
|
gnu: Remove ".git" from "https://github/…/….git".
Until now, 'lookup-origin' and thus 'lookup-origin-revision' in (guix
swh) would sometimes return #f for these because the ".git" URLs are
redirects to the non-".git" URLs. Consequently, 'guix lint -c archival'
would keep saying "scheduled Software Heritage archival"; likewise, the
fallback download code would fail.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/aidc.scm,
gnu/packages/algebra.scm,
gnu/packages/android.scm,
gnu/packages/animation.scm,
gnu/packages/arcan.scm,
gnu/packages/assembly.scm,
gnu/packages/audio.scm,
gnu/packages/authentication.scm,
gnu/packages/avr.scm,
gnu/packages/axoloti.scm,
gnu/packages/backup.scm,
gnu/packages/bash.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/boost.scm,
gnu/packages/build-tools.scm,
gnu/packages/c.scm,
gnu/packages/calendar.scm,
gnu/packages/cdrom.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/chez.scm,
gnu/packages/clojure.scm,
gnu/packages/code.scm,
gnu/packages/compression.scm,
gnu/packages/compton.scm,
gnu/packages/coq.scm,
gnu/packages/cpp.scm,
gnu/packages/cran.scm,
gnu/packages/crypto.scm,
gnu/packages/curl.scm,
gnu/packages/databases.scm,
gnu/packages/datastructures.scm,
gnu/packages/debug.scm,
gnu/packages/disk.scm,
gnu/packages/distributed.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/dns.scm,
gnu/packages/docker.scm,
gnu/packages/education.scm,
gnu/packages/efi.scm,
gnu/packages/elixir.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/embedded.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/erlang.scm,
gnu/packages/fabric-management.scm,
gnu/packages/file-systems.scm,
gnu/packages/finance.scm,
gnu/packages/firmware.scm,
gnu/packages/flashing-tools.scm,
gnu/packages/fonts.scm,
gnu/packages/fontutils.scm,
gnu/packages/fpga.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/genealogy.scm,
gnu/packages/genimage.scm,
gnu/packages/geo.scm,
gnu/packages/gimp.scm,
gnu/packages/gl.scm,
gnu/packages/gnome-xyz.scm,
gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/golang.scm,
gnu/packages/gpodder.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/groff.scm,
gnu/packages/groovy.scm,
gnu/packages/gtk.scm,
gnu/packages/guile-xyz.scm,
gnu/packages/guile.scm,
gnu/packages/hardware.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-xyz.scm,
gnu/packages/hexedit.scm,
gnu/packages/i2p.scm,
gnu/packages/ibus.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/ipfs.scm,
gnu/packages/java-graphics.scm,
gnu/packages/java-maths.scm,
gnu/packages/java.scm,
gnu/packages/javascript.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/jupyter.scm,
gnu/packages/kodi.scm,
gnu/packages/language.scm,
gnu/packages/lego.scm,
gnu/packages/less.scm,
gnu/packages/libusb.scm,
gnu/packages/linux.scm,
gnu/packages/lirc.scm,
gnu/packages/lisp-xyz.scm,
gnu/packages/llvm.scm,
gnu/packages/logging.scm,
gnu/packages/lolcode.scm,
gnu/packages/lua.scm,
gnu/packages/lxde.scm,
gnu/packages/lxqt.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/markup.scm,
gnu/packages/maths.scm,
gnu/packages/maven.scm,
gnu/packages/mes.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/node-xyz.scm,
gnu/packages/ocaml.scm,
gnu/packages/ocr.scm,
gnu/packages/onc-rpc.scm,
gnu/packages/opencl.scm,
gnu/packages/opencog.scm,
gnu/packages/pantheon.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/perl6.scm,
gnu/packages/phabricator.scm,
gnu/packages/popt.scm,
gnu/packages/printers.scm,
gnu/packages/prolog.scm,
gnu/packages/protobuf.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/python-xyz.scm,
gnu/packages/qt.scm,
gnu/packages/radio.scm,
gnu/packages/rails.scm,
gnu/packages/rdf.scm,
gnu/packages/rednotebook.scm,
gnu/packages/rpc.scm,
gnu/packages/rsync.scm,
gnu/packages/ruby.scm,
gnu/packages/rust.scm,
gnu/packages/scheme.scm,
gnu/packages/screen.scm,
gnu/packages/security-token.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/shellutils.scm,
gnu/packages/simh.scm,
gnu/packages/sml.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/stenography.scm,
gnu/packages/sync.scm,
gnu/packages/syncthing.scm,
gnu/packages/synergy.scm,
gnu/packages/telephony.scm,
gnu/packages/terminals.scm,
gnu/packages/tex.scm,
gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tmux.scm,
gnu/packages/tor.scm,
gnu/packages/toys.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/vim.scm,
gnu/packages/virtualization.scm,
gnu/packages/vlang.scm,
gnu/packages/vnc.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wireservice.scm,
gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xml.scm,
gnu/packages/xorg.scm,
tests/lint.scm: Remove trailing ".git" from 'git-reference' URL.
2020-07-12 20:53:28 +00:00
|
|
|
|
(url "https://github.com/kayak/pypika")
|
2020-04-21 08:35:33 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-03-04 12:26:16 +00:00
|
|
|
|
"001pg36sw9a36zdd1kccbymcxndphjcjbbrsy6ri7ng8h4dgz549"))))
|
2020-03-30 06:37:04 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-parameterized))
|
2020-03-30 06:37:04 +00:00
|
|
|
|
(home-page "https://github.com/kayak/pypika")
|
|
|
|
|
(synopsis "SQL query builder API for Python")
|
|
|
|
|
(description
|
|
|
|
|
"PyPika is a python SQL query builder that exposes the full richness of
|
|
|
|
|
the SQL language using a syntax that reflects the resulting query.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2024-04-30 16:36:14 +00:00
|
|
|
|
(define-public apache-orc
|
|
|
|
|
(package
|
|
|
|
|
(name "apache-orc")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/apache/orc")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1fi6d045wakks0x8clplyxgal342kljqjql7vq5gbd6a2qnaz6m2"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:build-type "Release"
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "-DBUILD_JAVA=OFF"
|
|
|
|
|
"-DINSTALL_VENDORED_LIBS=OFF"
|
|
|
|
|
"-DCMAKE_CXX_FLAGS=-fPIC"
|
|
|
|
|
(string-append "-DGTEST_HOME=" #$(this-package-native-input "googletest"))
|
|
|
|
|
(string-append "-DZSTD_HOME=" (assoc-ref %build-inputs "zstd:lib"))
|
|
|
|
|
(string-append "-DZLIB_HOME=" #$(this-package-input "zlib"))
|
|
|
|
|
(string-append "-DPROTOBUF_HOME=" #$(this-package-input "protobuf"))
|
|
|
|
|
(string-append "-DLZ4_HOME=" #$(this-package-input "lz4"))
|
|
|
|
|
(string-append "-DSNAPPY_HOME=" #$(this-package-input "snappy")))
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-bad-test
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This one test fails with an obscure error:
|
|
|
|
|
;;
|
|
|
|
|
;; Expected: (std::string::npos) != (error.find(error_msg)),
|
|
|
|
|
;; actual: 18446744073709551615 vs 18446744073709551615
|
|
|
|
|
(substitute* "tools/test/TestFileScan.cc"
|
|
|
|
|
(("findProgram\\(\"tools/src/orc-scan\"\\);" m)
|
|
|
|
|
(string-append m "return;")))))
|
|
|
|
|
(add-after 'unpack 'do-not-download-orc-format
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "cmake_modules/ThirdpartyToolchain.cmake"
|
|
|
|
|
(("URL \"https://archive.apache.org/dist/orc/orc-format.*")
|
|
|
|
|
(string-append "URL \"file://"
|
|
|
|
|
#$(this-package-native-input "orc-format")
|
|
|
|
|
"\"\n")))))
|
|
|
|
|
(add-after 'unpack 'timezone-fallback
|
|
|
|
|
(lambda _
|
|
|
|
|
;; In the build container we don't have /etc/localtime
|
|
|
|
|
(substitute* "c++/src/Timezone.cc"
|
|
|
|
|
(("return getTimezoneByFilename\\(LOCAL_TIMEZONE\\);")
|
|
|
|
|
"if (!std::filesystem::exists(std::filesystem::path(LOCAL_TIMEZONE))) {
|
|
|
|
|
return getTimezoneByName(\"UTC\");
|
|
|
|
|
}
|
|
|
|
|
return getTimezoneByFilename(LOCAL_TIMEZONE);"))))
|
|
|
|
|
(add-before 'check 'pre-check
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "TZDIR" (search-input-directory inputs
|
|
|
|
|
"share/zoneinfo")))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lz4" ,lz4)
|
|
|
|
|
("protobuf" ,protobuf)
|
|
|
|
|
("snappy" ,snappy)
|
|
|
|
|
("zlib" ,zlib "static")
|
|
|
|
|
("zstd" ,zstd)
|
|
|
|
|
("zstd:lib" ,zstd "lib")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("googletest" ,googletest)
|
|
|
|
|
("orc-format" ,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri "https://archive.apache.org/dist/orc/orc-format-1.0.0/\
|
|
|
|
|
orc-format-1.0.0.tar.gz")
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1mccbna3mqhhlqs4pw0fa4pgjnq4c41jhxrh84mq27sbz5gsx7vk"))))
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("tzdata" ,tzdata-for-tests)))
|
|
|
|
|
(home-page "https://orc.apache.org/")
|
|
|
|
|
(synopsis "Columnar storage for Hadoop workloads")
|
|
|
|
|
(description "ORC is a self-describing type-aware columnar file format
|
|
|
|
|
designed for Hadoop workloads. It is optimized for large streaming reads, but
|
|
|
|
|
with integrated support for finding required rows quickly.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2020-06-02 21:33:36 +00:00
|
|
|
|
;; There are many wrappers for this in other languages. When touching, please
|
|
|
|
|
;; be sure to ensure all dependencies continue to build.
|
2018-02-21 17:19:33 +00:00
|
|
|
|
(define-public apache-arrow
|
|
|
|
|
(package
|
|
|
|
|
(name "apache-arrow")
|
2024-07-02 09:31:06 +00:00
|
|
|
|
(version "16.1.0")
|
2018-02-21 17:19:33 +00:00
|
|
|
|
(source
|
2020-06-02 21:33:36 +00:00
|
|
|
|
(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
|
|
|
|
|
(base32
|
2024-07-02 09:31:06 +00:00
|
|
|
|
"1xl7apk7yaiv7cikpw5h846bsqb935cr3212b8bzhxqvkswxsm7f"))))
|
2018-02-21 17:19:33 +00:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2023-05-09 11:19:55 +00:00
|
|
|
|
(list
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'enter-source-directory
|
|
|
|
|
(lambda _ (chdir "cpp")))
|
|
|
|
|
(add-after 'unpack 'set-env
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "cpp/cmake_modules/ThirdpartyToolchain.cmake"
|
|
|
|
|
(("set\\(xsimd_SOURCE.*") ""))
|
|
|
|
|
(setenv "BOOST_ROOT" #$(this-package-input "boost"))
|
|
|
|
|
(setenv "BROTLI_HOME" #$(this-package-input "brotli"))
|
|
|
|
|
(setenv "FLATBUFFERS_HOME" #$(this-package-input "flatbuffers"))
|
|
|
|
|
(setenv "RAPIDJSON_HOME" #$(this-package-input "rapidjson")))))
|
2024-04-30 16:36:35 +00:00
|
|
|
|
#:build-type "Release"
|
|
|
|
|
#:configure-flags
|
|
|
|
|
#~(list "-DARROW_PYTHON=ON"
|
|
|
|
|
;; Parquet options
|
|
|
|
|
"-DARROW_PARQUET=ON"
|
|
|
|
|
"-DPARQUET_BUILD_EXECUTABLES=ON"
|
|
|
|
|
;; The maintainers disallow using system versions of
|
|
|
|
|
;; jemalloc:
|
|
|
|
|
;; https://issues.apache.org/jira/browse/ARROW-3507. This
|
|
|
|
|
;; is unfortunate because jemalloc increases performance:
|
|
|
|
|
;; https://arrow.apache.org/blog/2018/07/20/jemalloc/.
|
|
|
|
|
"-DARROW_JEMALLOC=OFF"
|
|
|
|
|
|
|
|
|
|
;; The CMake option ARROW_DEPENDENCY_SOURCE is a global
|
|
|
|
|
;; option that instructs the build system how to resolve
|
|
|
|
|
;; each dependency. SYSTEM = Finding the dependency in
|
|
|
|
|
;; system paths using CMake's built-in find_package
|
|
|
|
|
;; function, or using pkg-config for packages that do not
|
|
|
|
|
;; have this feature
|
|
|
|
|
"-DARROW_DEPENDENCY_SOURCE=SYSTEM"
|
|
|
|
|
"-Dxsimd_SOURCE=SYSTEM"
|
|
|
|
|
|
|
|
|
|
"-DARROW_RUNTIME_SIMD_LEVEL=NONE"
|
|
|
|
|
"-DARROW_SIMD_LEVEL=NONE"
|
|
|
|
|
"-DARROW_PACKAGE_KIND=Guix"
|
|
|
|
|
|
|
|
|
|
;; Split output into its component packages.
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX=" #$output:lib)
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_RPATH=" #$output:lib "/lib")
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_BINDIR=" #$output "/bin")
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_INCLUDEDIR=" #$output:include
|
|
|
|
|
"/share/include")
|
|
|
|
|
|
|
|
|
|
"-DARROW_WITH_SNAPPY=ON"
|
|
|
|
|
"-DARROW_WITH_ZLIB=ON"
|
|
|
|
|
"-DARROW_WITH_ZSTD=ON"
|
|
|
|
|
"-DARROW_WITH_LZ4=ON"
|
|
|
|
|
"-DARROW_COMPUTE=ON"
|
|
|
|
|
"-DARROW_CSV=ON"
|
|
|
|
|
"-DARROW_DATASET=ON"
|
|
|
|
|
"-DARROW_FILESYSTEM=ON"
|
|
|
|
|
"-DARROW_HDFS=ON"
|
|
|
|
|
"-DARROW_JSON=ON"
|
|
|
|
|
;; Arrow Python C++ integration library (required for
|
|
|
|
|
;; building pyarrow). This library must be built against
|
|
|
|
|
;; the same Python version for which you are building
|
|
|
|
|
;; pyarrow. NumPy must also be installed. Enabling this
|
|
|
|
|
;; option also enables ARROW_COMPUTE, ARROW_CSV,
|
|
|
|
|
;; ARROW_DATASET, ARROW_FILESYSTEM, ARROW_HDFS, and
|
|
|
|
|
;; ARROW_JSON.
|
|
|
|
|
"-DARROW_PYTHON=ON"
|
|
|
|
|
"-DARROW_ORC=ON"
|
|
|
|
|
"-DORC_SOURCE=SYSTEM"
|
|
|
|
|
|
|
|
|
|
;; Building the tests forces on all the
|
|
|
|
|
;; optional features and the use of static
|
|
|
|
|
;; libraries.
|
|
|
|
|
"-DARROW_BUILD_TESTS=OFF"
|
|
|
|
|
;;"-DBENCHMARK_ENABLE_TESTING=OFF"
|
|
|
|
|
"-DARROW_BUILD_STATIC=OFF")))
|
2018-02-21 17:19:33 +00:00
|
|
|
|
(inputs
|
2024-04-30 16:36:35 +00:00
|
|
|
|
(list apache-orc
|
|
|
|
|
boost
|
2023-05-09 11:20:29 +00:00
|
|
|
|
brotli
|
|
|
|
|
bzip2
|
|
|
|
|
double-conversion
|
|
|
|
|
gflags
|
|
|
|
|
glog
|
|
|
|
|
grpc
|
|
|
|
|
protobuf
|
|
|
|
|
python
|
|
|
|
|
python-numpy
|
|
|
|
|
rapidjson
|
|
|
|
|
re2
|
|
|
|
|
snappy
|
|
|
|
|
xsimd))
|
2021-11-23 09:17:00 +00:00
|
|
|
|
;; These are all listed under Requires.private in arrow.pc
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list `(,apache-thrift "lib") lz4 utf8proc zlib
|
|
|
|
|
`(,zstd "lib")))
|
2020-06-02 21:33:36 +00:00
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list pkg-config))
|
2020-06-02 21:33:36 +00:00
|
|
|
|
(outputs '("out" "lib" "include"))
|
2018-02-21 17:19:33 +00:00
|
|
|
|
(home-page "https://arrow.apache.org/")
|
|
|
|
|
(synopsis "Columnar in-memory analytics")
|
|
|
|
|
(description "Apache Arrow is a columnar in-memory analytics layer
|
2020-06-02 21:33:36 +00:00
|
|
|
|
designed to accelerate big data. It houses a set of canonical in-memory
|
2018-02-21 17:19:33 +00:00
|
|
|
|
representations of flat and hierarchical data along with multiple
|
2020-06-02 21:33:36 +00:00
|
|
|
|
language-bindings for structure manipulation. It also provides IPC and common
|
2018-02-21 17:19:33 +00:00
|
|
|
|
algorithm implementations.")
|
|
|
|
|
(license license:asl2.0)))
|
2018-02-21 17:23:03 +00:00
|
|
|
|
|
2022-12-23 19:16:03 +00:00
|
|
|
|
(define-public apache-arrow-for-ceph
|
|
|
|
|
(package
|
|
|
|
|
(name "apache-arrow")
|
|
|
|
|
(version "6.0.1")
|
|
|
|
|
(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
|
|
|
|
|
(base32
|
|
|
|
|
"0mcw361akqw4sxnnpnr9c9v1zk4hphk6gcq763pcb19yzljh88ig"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'enter-source-directory
|
|
|
|
|
(lambda _ (chdir "cpp")))
|
|
|
|
|
(add-after 'unpack 'set-env
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "cpp/src/parquet/parquet.pc.in"
|
|
|
|
|
(("includedir=\\$\\{prefix\\}/")
|
|
|
|
|
"includedir="))
|
|
|
|
|
(substitute* "cpp/cmake_modules/ThirdpartyToolchain.cmake"
|
|
|
|
|
(("set\\(xsimd_SOURCE.*") ""))
|
|
|
|
|
(setenv "BOOST_ROOT" (assoc-ref inputs "boost"))
|
|
|
|
|
(setenv "BROTLI_HOME" (assoc-ref inputs "brotli"))
|
|
|
|
|
(setenv "FLATBUFFERS_HOME" (assoc-ref inputs "flatbuffers"))
|
|
|
|
|
(setenv "RAPIDJSON_HOME" (assoc-ref inputs "rapidjson")))))
|
|
|
|
|
#:build-type "Release"
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DARROW_PYTHON=ON"
|
|
|
|
|
"-DARROW_GLOG=ON"
|
|
|
|
|
;; Parquet options
|
|
|
|
|
"-DARROW_PARQUET=ON"
|
|
|
|
|
"-DPARQUET_BUILD_EXECUTABLES=ON"
|
|
|
|
|
;; The maintainers disallow using system versions of
|
|
|
|
|
;; jemalloc:
|
|
|
|
|
;; https://issues.apache.org/jira/browse/ARROW-3507. This
|
|
|
|
|
;; is unfortunate because jemalloc increases performance:
|
|
|
|
|
;; https://arrow.apache.org/blog/2018/07/20/jemalloc/.
|
|
|
|
|
"-DARROW_JEMALLOC=OFF"
|
|
|
|
|
|
|
|
|
|
;; The CMake option ARROW_DEPENDENCY_SOURCE is a global
|
|
|
|
|
;; option that instructs the build system how to resolve
|
|
|
|
|
;; each dependency. SYSTEM = Finding the dependency in
|
|
|
|
|
;; system paths using CMake's built-in find_package
|
|
|
|
|
;; function, or using pkg-config for packages that do not
|
|
|
|
|
;; have this feature
|
|
|
|
|
"-DARROW_DEPENDENCY_SOURCE=SYSTEM"
|
|
|
|
|
"-Dxsimd_SOURCE=SYSTEM"
|
|
|
|
|
|
|
|
|
|
"-DARROW_RUNTIME_SIMD_LEVEL=NONE"
|
|
|
|
|
"-DARROW_SIMD_LEVEL=NONE"
|
|
|
|
|
"-DARROW_PACKAGE_KIND=Guix"
|
|
|
|
|
|
|
|
|
|
;; Split output into its component packages.
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX="
|
|
|
|
|
(assoc-ref %outputs "lib"))
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_RPATH="
|
|
|
|
|
(assoc-ref %outputs "lib")
|
|
|
|
|
"/lib")
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_BINDIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/bin")
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_INCLUDEDIR="
|
|
|
|
|
(assoc-ref %outputs "include")
|
|
|
|
|
"/share/include")
|
|
|
|
|
|
|
|
|
|
"-DARROW_WITH_SNAPPY=ON"
|
|
|
|
|
"-DARROW_WITH_ZLIB=ON"
|
|
|
|
|
"-DARROW_WITH_ZSTD=ON"
|
|
|
|
|
"-DARROW_WITH_LZ4=ON"
|
|
|
|
|
"-DARROW_COMPUTE=ON"
|
|
|
|
|
"-DARROW_CSV=ON"
|
|
|
|
|
"-DARROW_DATASET=ON"
|
|
|
|
|
"-DARROW_FILESYSTEM=ON"
|
|
|
|
|
"-DARROW_HDFS=ON"
|
|
|
|
|
"-DARROW_JSON=ON"
|
|
|
|
|
;; Arrow Python C++ integration library (required for
|
|
|
|
|
;; building pyarrow). This library must be built against
|
|
|
|
|
;; the same Python version for which you are building
|
|
|
|
|
;; pyarrow. NumPy must also be installed. Enabling this
|
|
|
|
|
;; option also enables ARROW_COMPUTE, ARROW_CSV,
|
|
|
|
|
;; ARROW_DATASET, ARROW_FILESYSTEM, ARROW_HDFS, and
|
|
|
|
|
;; ARROW_JSON.
|
|
|
|
|
"-DARROW_PYTHON=ON"
|
|
|
|
|
|
|
|
|
|
;; Building the tests forces on all the
|
|
|
|
|
;; optional features and the use of static
|
|
|
|
|
;; libraries.
|
|
|
|
|
"-DARROW_BUILD_TESTS=OFF"
|
|
|
|
|
"-DBENCHMARK_ENABLE_GTEST_TESTS=OFF"
|
|
|
|
|
;;"-DBENCHMARK_ENABLE_TESTING=OFF"
|
|
|
|
|
"-DARROW_BUILD_STATIC=OFF")))
|
|
|
|
|
(inputs
|
|
|
|
|
(list boost
|
|
|
|
|
brotli
|
|
|
|
|
bzip2
|
|
|
|
|
double-conversion
|
|
|
|
|
gflags
|
|
|
|
|
glog
|
|
|
|
|
grpc
|
|
|
|
|
protobuf
|
|
|
|
|
python
|
|
|
|
|
python-numpy
|
|
|
|
|
rapidjson
|
|
|
|
|
re2
|
|
|
|
|
snappy
|
|
|
|
|
xsimd))
|
|
|
|
|
;; These are all listed under Requires.private in arrow.pc
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list (list apache-thrift "lib")
|
|
|
|
|
lz4
|
|
|
|
|
utf8proc
|
|
|
|
|
zlib
|
|
|
|
|
(list zstd "lib")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list pkg-config))
|
|
|
|
|
(outputs '("out" "lib" "include"))
|
|
|
|
|
(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)))
|
|
|
|
|
|
2022-06-16 13:13:29 +00:00
|
|
|
|
(define-public apache-arrow-0.16
|
|
|
|
|
(package
|
|
|
|
|
(name "apache-arrow")
|
|
|
|
|
(version "0.16.0")
|
|
|
|
|
(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
|
|
|
|
|
(base32
|
|
|
|
|
"15bplqy5708bxy1mynzjkd3d2g8v2wd36z8l0ap8yyyq54l3gdvy"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'enter-source-directory
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "cpp")
|
|
|
|
|
(substitute* "src/parquet/CMakeLists.txt"
|
|
|
|
|
((" parquet_constants.cpp") "")
|
|
|
|
|
(("set\\(THRIFT_OUTPUT_FILES \\$\\{THRIFT_OUTPUT_FILES\\}.*") "")
|
|
|
|
|
((".*\"\\$\\{THRIFT_OUTPUT_DIR\\}/parquet_constants.cpp\"\\).*") ""))))
|
|
|
|
|
(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 "RAPIDJSON_HOME" (assoc-ref %build-inputs "rapidjson")))))
|
|
|
|
|
#:build-type "Release"
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DARROW_PYTHON=ON"
|
|
|
|
|
"-DARROW_GLOG=ON"
|
|
|
|
|
"-DARROW_SSE42=OFF"
|
|
|
|
|
"-DARROW_BOOST_USE_SHARED=ON"
|
|
|
|
|
;; Parquet options
|
|
|
|
|
"-DARROW_PARQUET=ON"
|
|
|
|
|
|
|
|
|
|
;; The maintainers disallow using system versions of
|
|
|
|
|
;; jemalloc:
|
|
|
|
|
;; https://issues.apache.org/jira/browse/ARROW-3507. This
|
|
|
|
|
;; is unfortunate because jemalloc increases performance:
|
|
|
|
|
;; https://arrow.apache.org/blog/2018/07/20/jemalloc/.
|
|
|
|
|
"-DARROW_JEMALLOC=OFF"
|
|
|
|
|
|
|
|
|
|
;; The CMake option ARROW_DEPENDENCY_SOURCE is a global
|
|
|
|
|
;; option that instructs the build system how to resolve
|
|
|
|
|
;; each dependency. SYSTEM = Finding the dependency in
|
|
|
|
|
;; system paths using CMake's built-in find_package
|
|
|
|
|
;; function, or using pkg-config for packages that do not
|
|
|
|
|
;; have this feature
|
|
|
|
|
"-DARROW_DEPENDENCY_SOURCE=SYSTEM"
|
|
|
|
|
|
|
|
|
|
;; Split output into its component packages.
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_RPATH="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/lib")
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_BINDIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/bin")
|
|
|
|
|
(string-append "-DCMAKE_INSTALL_INCLUDEDIR="
|
|
|
|
|
(assoc-ref %outputs "include")
|
|
|
|
|
"/share/include")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"-DARROW_WITH_SNAPPY=ON"
|
|
|
|
|
"-DARROW_WITH_ZLIB=ON"
|
|
|
|
|
"-DARROW_WITH_ZSTD=ON"
|
|
|
|
|
"-DARROW_WITH_LZ4=ON"
|
|
|
|
|
"-DARROW_COMPUTE=ON"
|
|
|
|
|
"-DARROW_CSV=ON"
|
|
|
|
|
"-DARROW_DATASET=ON"
|
|
|
|
|
"-DARROW_FILESYSTEM=ON"
|
|
|
|
|
"-DARROW_HDFS=ON"
|
|
|
|
|
"-DARROW_JSON=ON"
|
|
|
|
|
;; Arrow Python C++ integration library (required for
|
|
|
|
|
;; building pyarrow). This library must be built against
|
|
|
|
|
;; the same Python version for which you are building
|
|
|
|
|
;; pyarrow. NumPy must also be installed. Enabling this
|
|
|
|
|
;; option also enables ARROW_COMPUTE, ARROW_CSV,
|
|
|
|
|
;; ARROW_DATASET, ARROW_FILESYSTEM, ARROW_HDFS, and
|
|
|
|
|
;; ARROW_JSON.
|
|
|
|
|
"-DARROW_PYTHON=ON"
|
|
|
|
|
|
|
|
|
|
;; Building the tests forces on all the
|
|
|
|
|
;; optional features and the use of static
|
|
|
|
|
;; libraries.
|
|
|
|
|
"-DARROW_BUILD_TESTS=OFF"
|
|
|
|
|
"-DBENCHMARK_ENABLE_GTEST_TESTS=OFF"
|
|
|
|
|
;;"-DBENCHMARK_ENABLE_TESTING=OFF"
|
|
|
|
|
"-DARROW_BUILD_STATIC=OFF")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
2022-11-17 18:05:27 +00:00
|
|
|
|
("brotli" ,brotli)
|
2022-06-16 13:13:29 +00:00
|
|
|
|
("double-conversion" ,double-conversion)
|
|
|
|
|
("snappy" ,snappy)
|
|
|
|
|
("gflags" ,gflags)
|
|
|
|
|
("glog" ,glog)
|
|
|
|
|
("apache-thrift" ,apache-thrift "lib")
|
|
|
|
|
("protobuf" ,protobuf)
|
|
|
|
|
("rapidjson" ,rapidjson)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("bzip2" ,bzip2)
|
|
|
|
|
("lz4" ,lz4)
|
|
|
|
|
("zstd" ,zstd "lib")
|
|
|
|
|
("re2" ,re2)
|
|
|
|
|
("grpc" ,grpc)
|
|
|
|
|
("python-3" ,python)
|
|
|
|
|
("python-numpy" ,python-numpy)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list pkg-config apache-thrift))
|
|
|
|
|
(outputs '("out" "include"))
|
|
|
|
|
(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 17:23:03 +00:00
|
|
|
|
(define-public python-pyarrow
|
|
|
|
|
(package
|
2020-06-02 21:33:36 +00:00
|
|
|
|
(inherit apache-arrow)
|
2018-02-21 17:23:03 +00:00
|
|
|
|
(name "python-pyarrow")
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2020-06-02 21:33:36 +00:00
|
|
|
|
'(#:tests? #f ; XXX There are no tests in the "python" directory
|
2018-02-21 17:23:03 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-03-18 22:43:33 +00:00
|
|
|
|
(delete 'build) ; XXX the build is performed again during the install phase
|
2018-02-21 17:23:03 +00:00
|
|
|
|
(add-after 'unpack 'enter-source-directory
|
2021-07-28 18:06:49 +00:00
|
|
|
|
(lambda _ (chdir "python")))
|
2023-06-07 18:16:07 +00:00
|
|
|
|
(add-before 'install 'set-pyarrow-build-options
|
2021-07-28 18:06:49 +00:00
|
|
|
|
(lambda _
|
2022-11-03 23:02:28 +00:00
|
|
|
|
(setenv "PYARROW_BUNDLE_ARROW_CPP_HEADERS" "0")
|
2024-04-30 16:37:52 +00:00
|
|
|
|
(setenv "PYARROW_WITH_ORC" "1")
|
2023-06-07 18:16:07 +00:00
|
|
|
|
(setenv "PYARROW_WITH_PARQUET" "1")
|
|
|
|
|
(setenv "PYARROW_WITH_DATASET" "1"))))))
|
2018-02-21 17:23:03 +00:00
|
|
|
|
(propagated-inputs
|
2022-11-03 23:02:28 +00:00
|
|
|
|
(list (list apache-arrow "lib")
|
|
|
|
|
(list apache-arrow "include")
|
2024-04-30 16:37:52 +00:00
|
|
|
|
apache-orc
|
2022-11-03 23:02:28 +00:00
|
|
|
|
python-numpy
|
|
|
|
|
python-pandas
|
|
|
|
|
python-six))
|
2018-02-21 17:23:03 +00:00
|
|
|
|
(native-inputs
|
2022-11-03 23:02:28 +00:00
|
|
|
|
(list cmake-minimal
|
|
|
|
|
pkg-config
|
|
|
|
|
python-cython
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-runner
|
|
|
|
|
python-setuptools-scm))
|
2020-06-02 21:33:36 +00:00
|
|
|
|
(outputs '("out"))
|
2018-02-21 17:23:03 +00:00
|
|
|
|
(home-page "https://arrow.apache.org/docs/python/")
|
|
|
|
|
(synopsis "Python bindings for Apache Arrow")
|
2020-06-02 21:33:36 +00:00
|
|
|
|
(description
|
|
|
|
|
"This library provides a Pythonic API wrapper for the reference Arrow C++
|
2022-06-16 13:13:53 +00:00
|
|
|
|
implementation, along with tools for interoperability with pandas, NumPy, and
|
|
|
|
|
other traditional Python scientific computing packages.")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
|
|
|
|
(define-public python-pyarrow-0.16
|
|
|
|
|
(package
|
|
|
|
|
(inherit apache-arrow-0.16)
|
|
|
|
|
(name "python-pyarrow")
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; XXX There are no tests in the "python" directory
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'build) ; XXX the build is performed again during the install phase
|
|
|
|
|
(add-after 'unpack 'enter-source-directory
|
|
|
|
|
(lambda _ (chdir "python")))
|
|
|
|
|
(add-after 'unpack 'make-git-checkout-writable
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each make-file-writable (find-files "."))))
|
|
|
|
|
(add-before 'install 'patch-cmake-variables
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Replace cmake locations with hardcoded guix links for the
|
|
|
|
|
;; underlying C++ library and headers. This is a pretty awful
|
|
|
|
|
;; hack.
|
|
|
|
|
(substitute* "cmake_modules/FindParquet.cmake"
|
|
|
|
|
(("# Licensed to the Apache Software Foundation" m)
|
|
|
|
|
(string-append "set(PARQUET_INCLUDE_DIR \""
|
|
|
|
|
(assoc-ref inputs "apache-arrow:include")
|
|
|
|
|
"/share/include\")\n" m))
|
|
|
|
|
(("find_package_handle_standard_args" m)
|
|
|
|
|
(string-append "set(PARQUET_LIB_DIR \""
|
|
|
|
|
(assoc-ref inputs "apache-arrow:lib")
|
|
|
|
|
"/lib\")\n" m)))))
|
|
|
|
|
(add-before 'install 'patch-parquet-library
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("parquet_shared") "parquet"))))
|
|
|
|
|
(add-before 'install 'set-PYARROW_WITH_PARQUET
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "PYARROW_WITH_PARQUET" "1"))))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("apache-arrow:lib" ,apache-arrow-0.16)
|
|
|
|
|
("apache-arrow:include" ,apache-arrow-0.16 "include")
|
|
|
|
|
("python-numpy" ,python-numpy)
|
|
|
|
|
("python-pandas" ,python-pandas)
|
|
|
|
|
("python-six" ,python-six)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list cmake-minimal
|
|
|
|
|
pkg-config
|
|
|
|
|
python-cython
|
|
|
|
|
python-pytest
|
|
|
|
|
python-pytest-runner
|
|
|
|
|
python-setuptools-scm))
|
|
|
|
|
(outputs '("out"))
|
|
|
|
|
(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++
|
2020-06-02 21:33:36 +00:00
|
|
|
|
implementation, along with tools for interoperability with pandas, NumPy, and
|
|
|
|
|
other traditional Python scientific computing packages.")
|
2018-02-21 17:23:03 +00:00
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2024-01-25 20:45:20 +00:00
|
|
|
|
(define-public python-fastparquet
|
|
|
|
|
(package
|
|
|
|
|
(name "python-fastparquet")
|
|
|
|
|
(version "2024.2.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; Fastparquet uses setuptools-scm to find the current version. This
|
|
|
|
|
;; only works when we use the PyPI tarball, which does not contain
|
|
|
|
|
;; tests. Instead, we use the git-fetch method and set the version via
|
|
|
|
|
;; envar.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/dask/fastparquet")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0f32dj1xvd11l0siznqd33dpjlhg9siylcjcfkcdlqfcy45jfj3v"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:test-flags
|
|
|
|
|
#~(list "-n" "auto")
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'relax-requirements
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
;; Remove dependencies on git.
|
|
|
|
|
(("^.*\"git\", \"status\".*$") "")
|
|
|
|
|
;; Guix is only compatible with a single version of numpy
|
|
|
|
|
;; at a time. We can safely remove this dependency.
|
|
|
|
|
(("'oldest-supported-numpy'") ""))))
|
|
|
|
|
(add-before 'build 'pretend-version
|
|
|
|
|
;; The version string is usually derived via setuptools-scm, but
|
|
|
|
|
;; without the git metadata available, the version string is set
|
|
|
|
|
;; to '0.0.0'.
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
|
|
|
|
|
(add-before 'check 'build-cython-extensions
|
|
|
|
|
;; Cython extensions need to be built for the check phase.
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-cramjam
|
|
|
|
|
python-fsspec
|
|
|
|
|
python-lzo
|
|
|
|
|
python-numpy
|
|
|
|
|
python-packaging
|
|
|
|
|
python-pandas))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-cython
|
|
|
|
|
python-pytest-runner
|
|
|
|
|
python-pytest-xdist
|
|
|
|
|
python-setuptools-scm))
|
|
|
|
|
(home-page "https://github.com/dask/fastparquet")
|
|
|
|
|
(synopsis "Python implementation of the Parquet file format")
|
|
|
|
|
(description
|
|
|
|
|
"@code{fastparquet} is a Python implementation of the Parquet file
|
|
|
|
|
format. @code{fastparquet} is used implicitly by @code{dask}, @code{pandas}
|
|
|
|
|
and @code{intake-parquet}. It supports the following compression algorithms:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Gzip
|
|
|
|
|
@item Snappy
|
|
|
|
|
@item Brotli
|
|
|
|
|
@item LZ4
|
|
|
|
|
@item Zstd
|
|
|
|
|
@item LZO (optionally)
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license license:asl2.0)))
|
|
|
|
|
|
2019-06-13 15:06:21 +00:00
|
|
|
|
(define-public python-crate
|
|
|
|
|
(package
|
|
|
|
|
(name "python-crate")
|
2019-10-14 21:15:49 +00:00
|
|
|
|
(version "0.23.2")
|
2019-06-13 15:06:21 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "crate" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-10-14 21:15:49 +00:00
|
|
|
|
"0ngmlvi320c5gsxab0s7qgq0ck4jdlcwvb6lbjhnfprafdp56vvx"))))
|
2019-06-13 15:06:21 +00:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(propagated-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list python-urllib3))
|
2019-06-13 15:06:21 +00:00
|
|
|
|
(home-page "https://github.com/crate/crate-python")
|
|
|
|
|
(synopsis "CrateDB Python client")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a Python client library for CrateDB.
|
|
|
|
|
It implements the Python DB API 2.0 specification and includes support for
|
|
|
|
|
SQLAlchemy.")
|
|
|
|
|
(license license:asl2.0)))
|
2019-11-20 12:46:37 +00:00
|
|
|
|
|
|
|
|
|
(define-public libdbi
|
|
|
|
|
(package
|
|
|
|
|
(name "libdbi")
|
|
|
|
|
(version "0.9.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/libdbi/libdbi/libdbi-"
|
|
|
|
|
version "/libdbi-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00s5ra7hdlq25iv23nwf4h1v3kmbiyzx0v9bhggjiii4lpf6ryys"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(synopsis "Database independent abstraction layer in C")
|
|
|
|
|
(description
|
|
|
|
|
"This library implements a database independent abstraction layer in C,
|
|
|
|
|
similar to the DBI/DBD layer in Perl. Writing one generic set of code,
|
|
|
|
|
programmers can leverage the power of multiple databases and multiple
|
|
|
|
|
simultaneous database connections by using this framework.")
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://libdbi.sourceforge.net/")
|
2019-11-20 12:46:37 +00:00
|
|
|
|
(license license:lgpl2.1+)))
|
2019-11-20 12:46:38 +00:00
|
|
|
|
|
|
|
|
|
(define-public libdbi-drivers
|
|
|
|
|
(package
|
|
|
|
|
(name "libdbi-drivers")
|
|
|
|
|
(version "0.9.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/libdbi-drivers/"
|
|
|
|
|
"libdbi-drivers/libdbi-drivers-" version
|
|
|
|
|
"/libdbi-drivers-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0m680h8cc4428xin4p733azysamzgzcmv4psjvraykrsaz6ymlj3"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2021-12-13 16:18:24 +00:00
|
|
|
|
(list ;; For tests.
|
|
|
|
|
inetutils glibc-locales mariadb))
|
2019-11-20 12:46:38 +00:00
|
|
|
|
(inputs
|
|
|
|
|
`(("libdbi" ,libdbi)
|
2019-12-18 21:20:07 +00:00
|
|
|
|
("mariadb:dev" ,mariadb "dev")
|
|
|
|
|
("mariadb:lib" ,mariadb "lib")
|
2019-11-20 12:46:38 +00:00
|
|
|
|
("postgresql" ,postgresql)
|
|
|
|
|
("sqlite" ,sqlite)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(let ((libdbi (assoc-ref %build-inputs "libdbi"))
|
2019-12-18 21:20:07 +00:00
|
|
|
|
(mysql:inc (assoc-ref %build-inputs "mariadb:dev"))
|
|
|
|
|
(mysql:lib (assoc-ref %build-inputs "mariadb:lib"))
|
2019-11-20 12:46:38 +00:00
|
|
|
|
(postgresql (assoc-ref %build-inputs "postgresql"))
|
|
|
|
|
(sqlite (assoc-ref %build-inputs "sqlite")))
|
|
|
|
|
(list "--disable-docs"
|
|
|
|
|
(string-append "--with-dbi-incdir=" libdbi "/include")
|
|
|
|
|
(string-append "--with-dbi-libdir=" libdbi "/lib")
|
|
|
|
|
"--with-mysql"
|
2019-12-18 21:20:07 +00:00
|
|
|
|
(string-append "--with-mysql-incdir=" mysql:inc "/include/mysql")
|
|
|
|
|
(string-append "--with-mysql-libdir=" mysql:lib "/lib")
|
2019-11-20 12:46:38 +00:00
|
|
|
|
"--with-pgsql"
|
|
|
|
|
(string-append "--with-pgsql-incdir=" postgresql "/include")
|
|
|
|
|
(string-append "--with-pgsql-libdir=" postgresql "/lib")
|
|
|
|
|
"--with-sqlite3"
|
|
|
|
|
(string-append "--with-sqlite-incdir=" sqlite "/include")
|
|
|
|
|
(string-append "--with-sqlite-libdir=" sqlite "/lib")))
|
2021-02-03 17:01:54 +00:00
|
|
|
|
#:tests? #f ; FIXME: Find why the tests get stuck forever.
|
2019-11-20 12:46:38 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-tests
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "tests/test_mysql.sh"
|
|
|
|
|
(("^MYMYSQLD=.*")
|
|
|
|
|
(string-append "MYMYSQLD="
|
2019-12-18 21:20:07 +00:00
|
|
|
|
(assoc-ref inputs "mariadb")
|
2019-11-20 12:46:38 +00:00
|
|
|
|
"/bin/mysqld")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'remove-empty-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((var (string-append (assoc-ref outputs "out") "/var")))
|
|
|
|
|
(delete-file-recursively var))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Database drivers for the libdbi framework")
|
|
|
|
|
(description
|
|
|
|
|
"The @code{libdbi-drivers} library provides the database specific drivers
|
|
|
|
|
for the @code{libdbi} framework.
|
|
|
|
|
|
|
|
|
|
The drivers officially supported by @code{libdbi} are:
|
|
|
|
|
@itemize
|
|
|
|
|
@item MySQL,
|
|
|
|
|
@item PostgreSQL,
|
|
|
|
|
@item SQLite.
|
|
|
|
|
@end itemize")
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://libdbi-drivers.sourceforge.net/")
|
2019-11-20 12:46:38 +00:00
|
|
|
|
(license license:lgpl2.1+)))
|
2020-03-05 09:28:50 +00:00
|
|
|
|
|
|
|
|
|
(define-public soci
|
|
|
|
|
(package
|
|
|
|
|
(name "soci")
|
2023-04-08 11:31:55 +00:00
|
|
|
|
(version "4.0.3")
|
2020-03-05 09:28:50 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/SOCI/soci/")
|
2021-05-01 03:36:43 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
2020-03-05 09:28:50 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2023-04-08 11:31:55 +00:00
|
|
|
|
"12aq7pama96l2c1kmfkclb4bvrsxs9a8ppgk5gmzw45w2lg35i0y"))))
|
2020-03-05 09:28:50 +00:00
|
|
|
|
(build-system cmake-build-system)
|
2021-03-17 01:57:10 +00:00
|
|
|
|
(propagated-inputs
|
|
|
|
|
;; Headers of soci has include-references to headers of these inputs.
|
2020-11-09 08:37:49 +00:00
|
|
|
|
`(("firebird" ,firebird)
|
|
|
|
|
("postgresql" ,postgresql)
|
2020-03-05 09:28:50 +00:00
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("odbc" ,unixodbc)
|
|
|
|
|
("boost" ,boost)
|
2020-10-12 15:23:11 +00:00
|
|
|
|
("mariadb:dev" ,mariadb "dev")))
|
2020-03-05 09:28:50 +00:00
|
|
|
|
(arguments
|
2020-11-08 21:49:40 +00:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
;; C++11 (-DSOCI_CXX11) is OFF by default. hyperledger-iroha needs it.
|
2020-11-09 08:11:12 +00:00
|
|
|
|
(list "-DCMAKE_CXX_STANDARD=17"
|
2023-11-14 22:44:51 +00:00
|
|
|
|
"-DSOCI_LIBDIR=lib"
|
|
|
|
|
;; This is for relocation when linking statically
|
|
|
|
|
"-DCMAKE_CXX_FLAGS=-fPIE")
|
2020-11-09 08:11:12 +00:00
|
|
|
|
#:tests? #f)) ; may require running database management systems
|
2020-03-05 09:28:50 +00:00
|
|
|
|
(synopsis "C++ Database Access Library")
|
|
|
|
|
(description
|
|
|
|
|
"SOCI is an abstraction layer for several database backends, including
|
|
|
|
|
PostreSQL, SQLite, ODBC and MySQL.")
|
gnu: Use HTTPS package home pages wherever possible.
* gnu/packages/accessibility.scm (florence)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (netcat, nmon)[home-page]: Likewise.
* gnu/packages/algebra.scm (mpfrcx, cm, flint, fftw, r-dtt)[home-page]:
Likewise.
* gnu/packages/apr.scm (apr, apr-util)[home-page]: Likewise.
* gnu/packages/aspell.scm (aspell-dict-it)[home-page]: Likewise.
* gnu/packages/astronomy.scm (casacore, sextractor, libnova)
(xplanet)[home-page]: Likewise.
* gnu/packages/audio.scm (libtimidity, alsa-modular-synth, azr3, tao)
(freepats, rakarrack, liblo, libshout-idjc, timidity++, libsbsms)
(libmodplug, libxmp, xmp, sox, drc, gsm, gnaural)
(streamripper)[home-page]: Likewise.
* gnu/packages/authentication.scm (pamtester)[home-page]: Likewise.
* gnu/packages/backup.scm (grsync)[home-page]: Likewise.
* gnu/packages/bioconductor.scm (r-nmf, r-edger, r-limma)
(r-plgem)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (python-biom-format, bowtie, bowtie1)
(bwa, crossmap, java-htsjdk, java-htsjdk-latest, java-picard)
(java-picard-2.10.3, kaiju, proteinortho, rsem, rseqc, seek, samtools)
(snap-aligner, subread, stringtie, r-centipede, prinseq, emboss, phylip)
(libsbml)[home-page]: Likewise.
* gnu/packages/build-tools.scm (tup)[home-page]: Likewise.
* gnu/packages/cdrom.scm (libcddb, cdrdao, cdrtools)
(cd-discid)[home-page]: Likewise.
* gnu/packages/check.scm (cunit, python-nose)
(python-pyhamcrest)[home-page]: Likewise.
* gnu/packages/chemistry.scm (gromacs)[home-page]: Likewise.
* gnu/packages/chez.scm (chez-fmt)[home-page]: Likewise.
* gnu/packages/code.scm (lcov, uncrustify, cscope)[home-page]: Likewise.
* gnu/packages/compression.scm (p7zip)[home-page]: Likewise.
* gnu/packages/cran.scm (r-emdist, r-proj4, r-zoo, r-ggalluvial)
(r-orgmassspecr, r-polychrome, r-partykit, r-rcpp, r-ff, r-emdbook)
(r-fitdistrplus, r-linprog, r-geometry, r-dtw, r-fst, r-rjags)
(r-intergraph, r-qualv, r-labelled, r-survey, r-coin, r-fmsb, r-tm)
(r-corpcor, r-rmpfr, r-spatialextremes, r-longitudinal, r-genenet)
(r-bayesm, r-seqinr, r-mpm, r-text2vec, r-rgdal, r-seewave, r-hdrcde)
(r-shapes, r-anytime, r-stm, r-d3network, r-tam, r-directlabels)
(r-spatstat-utils, r-spatstat-sparse, r-spatstat-data, r-spatstat-geom)
(r-spatstat-core, r-spatstat-linnet, r-spatstat-random, r-spatstat)
(r-rcpptoml, r-mlecens, r-seurat, r-mlearning, r-zooimage)[home-page]:
Likewise.
* gnu/packages/crates-io.scm (rust-nickel-0.11, rust-thrift-0.13)
(rust-trust-dns-https-0.20, rust-trust-dns-native-tls-0.20)
(rust-trust-dns-openssl-0.20, rust-trust-dns-proto-0.20)
(rust-trust-dns-resolver-0.20, rust-trust-dns-rustls-0.20)
(rust-uint-0.9, rust-yaml-rust-0.4)[home-page]: Likewise.
* gnu/packages/crypto.scm (libdecaf, ccrypt)[home-page]: Likewise.
* gnu/packages/curl.scm (curlpp)[home-page]: Likewise.
* gnu/packages/databases.scm (python-pylibmc, unixodbc, wiredtiger)
(libpqxx, mdbtools, virtuoso-ose, libdbi, libdbi-drivers)
(soci)[home-page]: Likewise.
* gnu/packages/debian.scm (apt-mirror)[home-page]: Likewise.
* gnu/packages/debug.scm (remake)[home-page]: Likewise.
* gnu/packages/disk.scm (sdparm, idle3-tools, duc)[home-page]: Likewise.
* gnu/packages/django.scm (python-django-haystack)[home-page]: Likewise.
* gnu/packages/djvu.scm (djvulibre, djview)[home-page]: Likewise.
* gnu/packages/dns.scm (dnsmasq)[home-page]: Likewise.
* gnu/packages/docbook.scm (dblatex, docbook2x)[home-page]: Likewise.
* gnu/packages/documentation.scm (scrollkeeper)[home-page]: Likewise.
* gnu/packages/ebook.scm (liblinebreak)[home-page]: Likewise.
* gnu/packages/electronics.scm (xoscope)[home-page]: Likewise.
* gnu/packages/emacs-xyz.scm (emacs-bbdb, emacs-caps-lock, emacs-djvu)
(emacs-pabbrev, emacs-twittering-mode, emacs-filladapt, emacs-rudel)
(emacs-stream, emacspeak, emacs-cc-mode, emacs-eldoc, emacs-jsonrpc)
(emacs-gtk-look, emacs-xclip, emacs-slime-volleyball, emacs-minimap)
(emacs-auto-dictionary-mode, emacs-persist, emacs-shell-command+)
(emacs-map, emacs-xref, emacs-dictionary)[home-page]: Likewise.
* gnu/packages/embedded.scm (sdcc)[home-page]: Likewise.
* gnu/packages/engineering.scm (asco, libngspice, libspnav)
(openctm)[home-page]: Likewise.
* gnu/packages/erlang.scm (erlang-erlware-commons)[home-page]: Likewise.
* gnu/packages/file-systems.scm (jfsutils, curlftpfs)[home-page]:
Likewise.
* gnu/packages/finance.scm (gbonds)[home-page]: Likewise.
* gnu/packages/flashing-tools.scm (dfu-util, srecord)[home-page]:
Likewise.
* gnu/packages/fltk.scm (ntk)[home-page]: Likewise.
* gnu/packages/fonts.scm (font-terminus, font-tex-gyre)
(font-comic-neue)[home-page]: Likewise.
* gnu/packages/fontutils.scm (ttf2pt1, potrace, libspiro)[home-page]:
Likewise.
* gnu/packages/fpga.scm (icestorm, gtkwave, gtkwave)
(python-myhdl)[home-page]: Likewise.
* gnu/packages/freedesktop.scm (libatasmart)[home-page]: Likewise.
* gnu/packages/ftp.scm (weex)[home-page]: Likewise.
* gnu/packages/game-development.scm (dds, python-tmx, sfxr, quesoglc)
(eureka, plib)[home-page]: Likewise.
* gnu/packages/games.scm (abe, alex4, armagetronad, barony)
(foobillard++, golly, ltris, pipewalker, prboom-plus, trigger-rally)
(cmatrix, pinball, pioneers, tennix, chromium-bsu, freeciv, kiki)
(quakespasm, frotz, frotz-dumb-terminal, frotz-sdl, btanks)
(flare-engine, chessx, barrage, cgoban, passage)[home-page]: Likewise.
* gnu/packages/geo.scm (python-geopandas, saga)[home-page]: Likewise.
* gnu/packages/gl.scm (freeglut, gl2ps)[home-page]: Likewise.
* gnu/packages/gnome.scm (cogl, clutter-gtk, clutter-gst, bluefish)
(workrave)[home-page]: Likewise.
* gnu/packages/gnustep.scm (wmnd, wmfire, wmfire)[home-page]: Likewise.
* gnu/packages/graph.scm (mscgen)[home-page]: Likewise.
* gnu/packages/graphics.scm (assimp, alembic, ctl, agg)
(opencsg)[home-page]: Likewise.
* gnu/packages/graphviz.scm (gts)[home-page]: Likewise.
* gnu/packages/gtk.scm (gtkspell3)[home-page]: Likewise.
* gnu/packages/guile-xyz.scm (guile-irregex)[home-page]: Likewise.
* gnu/packages/haskell-apps.scm (cpphs)[home-page]: Likewise.
* gnu/packages/haskell-check.scm (ghc-hunit)[home-page]: Likewise.
* gnu/packages/haskell-web.scm (ghc-http-client-restricted)
(ghc-blaze-html, ghc-happstack-server, ghc-sourcemap)[home-page]:
Likewise.
* gnu/packages/haskell-xyz.scm (ghc-assoc, ghc-cairo, ghc-cborg)
(ghc-csv, ghc-glob, ghc-gtk2hs-buildtools, ghc-hmatrix-gsl-stats)
(ghc-intervalmap, ghc-lens-family-core, ghc-managed, ghc-mountpoints)
(ghc-network-multicast, ghc-optional-args, ghc-regex, ghc-spoon)
(ghc-transformers, ghc-turtle, ghc-utf8-light, ghc-wizards)
(ghc-template-haskell, ghc-boot-th, ghc-binary-orphans)
(ghc-postgresql-simple)[home-page]: Likewise.
* gnu/packages/hexedit.scm (ht, bvi)[home-page]: Likewise.
* gnu/packages/hunspell.scm (hunspell-dict-hu)[home-page]: Likewise.
* gnu/packages/image-processing.scm (mia)[home-page]: Likewise.
* gnu/packages/image-viewers.scm (geeqie, gpicview, luminance-hdr)
(qiv)[home-page]: Likewise.
* gnu/packages/image.scm (libuemf, devil, steghide, optipng, niftilib)
(sng, mtpaint)[home-page]: Likewise.
* gnu/packages/java-xml.scm (java-simple-xml, java-jaxp)
(java-apache-xml-commons-resolver)[home-page]: Likewise.
* gnu/packages/java.scm (java-cisd-base, java-cisd-args4j)
(java-hamcrest-core, java-jsr305, java-eclipse-osgi)
(java-eclipse-equinox-common, java-eclipse-core-jobs)
(java-eclipse-equinox-registry, java-eclipse-equinox-app)
(java-eclipse-equinox-preferences, java-eclipse-core-contenttype)
(java-eclipse-text, java-treelayout, java-aopalliance, java-jeromq)
(java-cdi-api)[home-page]: Likewise.
* gnu/packages/jemalloc.scm (jemalloc-4.5.0)[home-page]: Likewise.
* gnu/packages/julia-xyz.scm (julia-recipespipeline)[home-page]:
Likewise.
* gnu/packages/kde-internet.scm (kget)[home-page]: Likewise.
* gnu/packages/kde-systemtools.scm (dolphin-plugins)
(konsole)[home-page]: Likewise.
* gnu/packages/kodi.scm (fstrcmp)[home-page]: Likewise.
* gnu/packages/language.scm (hime, libchewing)[home-page]: Likewise.
* gnu/packages/lego.scm (nqc)[home-page]: Likewise.
* gnu/packages/lesstif.scm (lesstif)[home-page]: Likewise.
* gnu/packages/libcanberra.scm (libcanberra)[home-page]: Likewise.
* gnu/packages/libdaemon.scm (libdaemon)[home-page]: Likewise.
* gnu/packages/libffi.scm (libffi)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (libwpd, libwpg, libwps)[home-page]:
Likewise.
* gnu/packages/libusb.scm (libmtp, gmtp)[home-page]: Likewise.
* gnu/packages/linux.scm (e2fsprogs, extundelete, lsscsi, net-tools)
(kbd, sysfsutils, cpuid, libpfm4)[home-page]: Likewise.
* gnu/packages/lisp-check.scm (sbcl-ptester, sbcl-xlunit)[home-page]:
Likewise.
* gnu/packages/lisp-xyz.scm (sbcl-html-encode, sbcl-py-configparser)
(sbcl-cl-utilities, sbcl-series, sbcl-uffi, sbcl-clsql, sbcl-sycamore)
(sbcl-osicat, sbcl-hu.dwim.common, sbcl-caveman, sbcl-trivial-shell)
(sbcl-trivial-benchmark, sbcl-screamer, sbcl-smug)[home-page]: Likewise.
* gnu/packages/lisp.scm (lush2)[home-page]: Likewise.
* gnu/packages/logging.scm (log4cpp)[home-page]: Likewise.
* gnu/packages/lua.scm (lua-ldoc)[home-page]: Likewise.
* gnu/packages/machine-learning.scm (mcl, openfst, rxcpp)[home-page]:
Likewise.
* gnu/packages/mail.scm (muchsync, procmail, sendmail)
(opensmtpd-filter-dkimsign, crm114)[home-page]: Likewise.
* gnu/packages/man.scm (libpipeline, man-db)[home-page]: Likewise.
* gnu/packages/maths.scm (lapack, scalapack, hdf-eos5, itpp, gmsh)
(metamath, p4est, armadillo, suitesparse, atlas, lpsolve, wcalc, why3)
(frama-c)[home-page]: Likewise.
* gnu/packages/mcrypt.scm (mcrypt, libmcrypt, libmhash)[home-page]:
Likewise.
* gnu/packages/minetest.scm (minetest-advtrains)[home-page]: Likewise.
* gnu/packages/monitoring.scm (python-whisper, python-carbon)
(hostscope)[home-page]: Likewise.
* gnu/packages/mp3.scm (id3lib, libmp3splt, mp3splt, mpg321)
(lame)[home-page]: Likewise.
* gnu/packages/multiprecision.scm (mpc)[home-page]: Likewise.
* gnu/packages/music.scm (aria-maestosa, lingot, setbfree, bristol)
(portmidi, python-pyportmidi, zynaddsubfx, yoshimi, aj-snapshot)
(schismtracker, midicsv, midicsv, qmidiarp, qmidiroute, dssi, tap-lv2)
(shiru-lv2)[home-page]: Likewise.
* gnu/packages/ncurses.scm (stfl)[home-page]: Likewise.
* gnu/packages/networking.scm (lksctp-tools, mbuffer, ifstatus, bird)
(tunctl, traceroute)[home-page]: Likewise.
* gnu/packages/node-xyz.scm (node-mersenne)[home-page]: Likewise.
* gnu/packages/ntp.scm (openntpd)[home-page]: Likewise.
* gnu/packages/ocaml.scm (opam, hevea, ocaml-menhir, ocaml-piqilib)
(ocaml-graph, cubicle)[home-page]: Likewise.
* gnu/packages/opencl.scm (python-pyopencl)[home-page]: Likewise.
* gnu/packages/package-management.scm (xstow, modules)[home-page]:
Likewise.
* gnu/packages/parallel.scm (xjobs)[home-page]: Likewise.
* gnu/packages/pdf.scm (podofo, qpdf, xournal, impressive)[home-page]:
Likewise.
* gnu/packages/perl.scm (perl-math-vecstat, perltidy)[home-page]:
Likewise.
* gnu/packages/photo.scm (libpano13, enblend-enfuse, hugin)[home-page]:
Likewise.
* gnu/packages/plan9.scm (drawterm)[home-page]: Likewise.
* gnu/packages/plotutils.scm (guile-charting, ploticus)[home-page]:
Likewise.
* gnu/packages/popt.scm (argtable, popt)[home-page]: Likewise.
* gnu/packages/profiling.scm (otf2)[home-page]: Likewise.
* gnu/packages/pulseaudio.scm (pulseaudio)[home-page]: Likewise.
* gnu/packages/python-check.scm (python-mypy)[home-page]: Likewise.
* gnu/packages/python-web.scm (python-cssutils)
(python-translationstring)[home-page]: Likewise.
* gnu/packages/python-xyz.scm (python-diskcache, python-doxyqml)
(python-docutils, python-pexpect, python-importlib-resources)
(python-simplegeneric, python-urwid, python-xlrd, python-xlwt)
(python-pyasn1, python-pythondialog, python-tftpy, python-random2)
(python-arcp, python-pyopengl, python-sortedcollections)
(python-sortedcontainers, python-yapsy, python-pydispatcher)
(python-posix-ipc)[home-page]: Likewise.
* gnu/packages/qt.scm (qwt, libqglviewer, signond)[home-page]: Likewise.
* gnu/packages/radio.scm (unixcw, gnuais)[home-page]: Likewise.
* gnu/packages/raspberry-pi.scm (bcm2835)[home-page]: Likewise.
* gnu/packages/rdf.scm (clucene, rasqal, redland)[home-page]: Likewise.
* gnu/packages/regex.scm (tre)[home-page]: Likewise.
* gnu/packages/rsync.scm (librsync)[home-page]: Likewise.
* gnu/packages/ruby.scm (ruby-packnga, ruby-nokogiri, ruby-oj, ruby-ox)
(ruby-sinatra, ruby-citrus, ruby-cbor, ruby-roda)[home-page]: Likewise.
* gnu/packages/scheme.scm (scheme48, tinyscheme)[home-page]: Likewise.
* gnu/packages/screen.scm (dtach)[home-page]: Likewise.
* gnu/packages/scsi.scm (sg3-utils)[home-page]: Likewise.
* gnu/packages/sdl.scm (libmikmod, sdl-pango)[home-page]: Likewise.
* gnu/packages/shellutils.scm (hstr, rig)[home-page]: Likewise.
* gnu/packages/simulation.scm (python-dolfin-adjoint)[home-page]:
Likewise.
* gnu/packages/smalltalk.scm (smalltalk)[home-page]: Likewise.
* gnu/packages/speech.scm (espeak)[home-page]: Likewise.
* gnu/packages/stalonetray.scm (stalonetray)[home-page]: Likewise.
* gnu/packages/statistics.scm (jags, r-mass, r-class, r-lattice)
(r-matrix, r-nnet, r-spatial, r-bit, r-bit64, r-digest, r-xtable)
(python-statsmodels, r-ade4, r-latticeextra, r-rcurl, r-xml, r-mvtnorm)
(r-robustbase, r-minqa, r-fdrtool, java-jdistlib, xlispstat)[home-page]:
Likewise.
* gnu/packages/swig.scm (swig)[home-page]: Likewise.
* gnu/packages/task-management.scm (wtime)[home-page]: Likewise.
* gnu/packages/tcl.scm (itcl, tclxml, tclx)[home-page]: Likewise.
* gnu/packages/terminals.scm (libtermkey, mlterm, libvterm)
(libvterm)[home-page]: Likewise.
* gnu/packages/tex.scm (texlive-lm, texlive-lm-math, texlive-cs)
(texlive-csplain, biber, texmaker)[home-page]: Likewise.
* gnu/packages/text-editors.scm (joe)[home-page]: Likewise.
* gnu/packages/textutils.scm (drm-tools, docx2txt)[home-page]: Likewise.
* gnu/packages/tv.scm (tvtime)[home-page]: Likewise.
* gnu/packages/unicode.scm (libunibreak)[home-page]: Likewise.
* gnu/packages/upnp.scm (libupnp)[home-page]: Likewise.
* gnu/packages/version-control.scm (cvs)[home-page]: Likewise.
* gnu/packages/video.scm (transcode, libquicktime, mjpegtools, aalib)
(liba52, libmpeg2, x265, libdv, dvdauthor, aegisub, pitivi, gavl)
(dvdbackup, guvcview, video-contact-sheet)[home-page]: Likewise.
* gnu/packages/virtualization.scm (bochs)[home-page]: Likewise.
* gnu/packages/w3m.scm (w3m)[home-page]: Likewise.
* gnu/packages/web.scm (qjson, libquvi-scripts, libquvi, quvi)
(tidy-html, htmlcxx)[home-page]: Likewise.
* gnu/packages/wm.scm (evilwm, menumaker)[home-page]: Likewise.
* gnu/packages/wv.scm (wv)[home-page]: Likewise.
* gnu/packages/wxwidgets.scm (wxsvg)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (mtdev, xsel)[home-page]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[home-page]: Likewise.
* gnu/packages/xml.scm (openjade, python-pyxb, xmlstarlet, xmlrpc-c)
(opensp)[home-page]: Likewise.
* gnu/packages/xorg.scm (xf86-video-qxl)[home-page]: Likewise.
2023-02-12 00:00:00 +00:00
|
|
|
|
(home-page "https://soci.sourceforge.net/")
|
2020-03-05 09:28:50 +00:00
|
|
|
|
(license license:boost1.0)))
|
2021-01-10 22:24:17 +00:00
|
|
|
|
|
|
|
|
|
(define-public freetds
|
|
|
|
|
(package
|
|
|
|
|
(name "freetds")
|
2021-04-19 10:45:01 +00:00
|
|
|
|
(version "1.2.20")
|
2021-01-10 22:24:17 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.freetds.org/files/stable/"
|
|
|
|
|
"freetds-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2021-04-19 10:45:01 +00:00
|
|
|
|
(base32 "11fzwcahc1bc8npxbif0448v9cwyf7k04167i7fcspmfw7a0hj0d"))))
|
2021-01-10 22:24:17 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; NOTE: (Sharlatan-20210110213908+0000) some tests require DB connection,
|
|
|
|
|
;; disabled for now.
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(home-page "https://www.freetds.org/")
|
|
|
|
|
(synopsis "Client libraries for MS SQL and Sybase servers")
|
|
|
|
|
(description
|
|
|
|
|
"FreeTDS is an implementation of the Tabular DataStream protocol, used for
|
|
|
|
|
connecting to MS SQL and Sybase servers over TCP/IP.")
|
|
|
|
|
(license license:lgpl2.0+)))
|
2021-07-19 12:47:03 +00:00
|
|
|
|
|
2021-11-12 03:45:02 +00:00
|
|
|
|
(define-public python-tinydb
|
|
|
|
|
(package
|
|
|
|
|
(name "python-tinydb")
|
2024-05-17 08:56:02 +00:00
|
|
|
|
(version "4.8.0")
|
2021-11-12 03:45:02 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "tinydb" version))
|
|
|
|
|
(sha256
|
2024-05-17 08:56:02 +00:00
|
|
|
|
(base32 "0r6mavw0wm03lbmqbgglsyff3vws86ddg3q8h29glpd7qnlqdmkd"))))
|
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-poetry-core python-pytest))
|
2021-11-12 03:45:02 +00:00
|
|
|
|
(home-page "https://github.com/msiemens/tinydb")
|
|
|
|
|
(synopsis "TinyDB is a lightweight document oriented database")
|
|
|
|
|
(description
|
|
|
|
|
"TinyDB is a small document oriented database written in pure Python
|
|
|
|
|
with no external dependencies. The targets are small apps that would
|
|
|
|
|
be blown away by a SQL-DB or an external database server.")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2021-07-19 12:47:03 +00:00
|
|
|
|
(define-public sequeler
|
|
|
|
|
(package
|
|
|
|
|
(name "sequeler")
|
2021-10-05 23:43:23 +00:00
|
|
|
|
(version "0.8.2")
|
2021-07-19 12:47:03 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Alecaddd/sequeler")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2021-10-05 23:43:23 +00:00
|
|
|
|
"0biggmsn8k7j6pdrwk29whl56qlfgvf5d9vjpgz4nyqih56wgh9j"))))
|
2021-07-19 12:47:03 +00:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:glib-or-gtk? #t
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'skip-gtk-update-icon-cache
|
|
|
|
|
;; Don't create 'icon-theme.cache'.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "build-aux/meson_post_install.py"
|
|
|
|
|
(("gtk-update-icon-cache") "true")
|
2021-10-05 23:43:23 +00:00
|
|
|
|
(("update-desktop-database") "true")))))))
|
2021-07-19 12:47:03 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(;("appstream-glib" ,appstream-glib) ; validation fails for lack of network
|
|
|
|
|
("gettext-minimal" ,gettext-minimal)
|
|
|
|
|
("glib:bin" ,glib "bin") ; for glib-compile-resources
|
|
|
|
|
("gtk+" ,gtk+ "bin")
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("vala" ,vala)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("granite" ,granite)
|
|
|
|
|
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("gtksourceview-3" ,gtksourceview-3)
|
|
|
|
|
("libgda" ,libgda)
|
|
|
|
|
("libgee" ,libgee)
|
|
|
|
|
("libsecret" ,libsecret)
|
|
|
|
|
("libssh2" ,libssh2)
|
|
|
|
|
("libxml2" ,libxml2)))
|
|
|
|
|
(synopsis "Friendly SQL Client")
|
|
|
|
|
(description "Sequeler is a native Linux SQL client built in Vala and
|
|
|
|
|
Gtk. It allows you to connect to your local and remote databases, write SQL in
|
|
|
|
|
a handy text editor with language recognition, and visualize SELECT results in
|
|
|
|
|
a Gtk.Grid Widget.")
|
|
|
|
|
(home-page "https://github.com/Alecaddd/sequeler")
|
|
|
|
|
(license license:gpl2+)))
|
2022-01-01 06:48:07 +00:00
|
|
|
|
|
|
|
|
|
(define-public sqlitebrowser
|
|
|
|
|
(package
|
|
|
|
|
(name "sqlitebrowser")
|
|
|
|
|
(version "3.12.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/sqlitebrowser/sqlitebrowser")
|
|
|
|
|
(commit (string-append "v" version))))
|
2022-01-26 11:28:39 +00:00
|
|
|
|
(file-name (git-file-name name version))
|
2022-01-01 06:48:07 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1ljqzcx388mmni8lv9jz5r58alhsjrrqi4nzjnbfki94rn4ray6z"))
|
2022-01-26 11:28:39 +00:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "libs/qcustomplot-source/")
|
2022-02-21 13:46:08 +00:00
|
|
|
|
(delete-file-recursively "libs/qhexedit/")
|
2022-01-26 11:28:39 +00:00
|
|
|
|
(delete-file-recursively "libs/qscintilla")))))
|
2022-01-01 06:48:07 +00:00
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(arguments
|
2022-01-26 11:32:40 +00:00
|
|
|
|
(list #:configure-flags
|
2023-04-27 18:57:58 +00:00
|
|
|
|
;; TODO: Unbundle json (nlohmann-json).
|
2022-01-26 11:28:39 +00:00
|
|
|
|
#~(list (string-append "-DQSCINTILLA_INCLUDE_DIR="
|
|
|
|
|
#$(this-package-input "qscintilla")
|
|
|
|
|
"/include/Qsci")
|
2022-01-26 11:32:40 +00:00
|
|
|
|
"-DFORCE_INTERNAL_QCUSTOMPLOT=OFF"
|
2022-02-21 13:46:08 +00:00
|
|
|
|
"-DFORCE_INTERNAL_QHEXEDIT=OFF"
|
2022-01-26 11:32:40 +00:00
|
|
|
|
"-DENABLE_TESTING=ON")))
|
2022-01-01 06:48:07 +00:00
|
|
|
|
(inputs
|
|
|
|
|
(list qcustomplot
|
2022-02-21 13:46:08 +00:00
|
|
|
|
qhexedit
|
2022-01-26 11:28:39 +00:00
|
|
|
|
qscintilla
|
2022-01-01 06:48:07 +00:00
|
|
|
|
qtbase-5
|
|
|
|
|
sqlite))
|
2022-07-19 20:52:05 +00:00
|
|
|
|
(native-inputs (list qttools-5))
|
2022-01-01 06:48:07 +00:00
|
|
|
|
(home-page "https://sqlitebrowser.org/")
|
2022-08-14 00:00:00 +00:00
|
|
|
|
(synopsis "Visual database browser and editor for SQLite")
|
|
|
|
|
(description "Sqlitebrowser lets you create, design, and edit database files
|
|
|
|
|
compatible with SQLite using a graphical user interface.")
|
2022-01-01 06:48:07 +00:00
|
|
|
|
(license
|
|
|
|
|
;; dual license
|
|
|
|
|
(list license:gpl3+
|
|
|
|
|
license:mpl2.0))))
|
2022-06-20 04:22:39 +00:00
|
|
|
|
|
|
|
|
|
(define-public sqls
|
|
|
|
|
(package
|
|
|
|
|
(name "sqls")
|
gnu: sqls: Use go-1.21.
Merge all inputs into native-inputs since the output result of the
package is an executable that does not require sources from Golang
modules to be available after installation.
* gnu/packages/databases.scm (sqls):
[arguments]: <#:go>: Use go-1.21.
[inputs]: Remove go-github-com-go-sql-driver-mysql,
go-github-com-lib-pq, go-github-com-mattn-go-runewidth,
go-github-com-mattn-go-sqlite3, go-github-com-olekukonko-tablewriter,
go-github-com-pkg-errors, go-github-com-sourcegraph-jsonrpc2,
go-golang-org-x-crypto, go-golang-org-x-xerrors, and
go-gopkg-in-yaml-v2.
[native-inputs]: Add go-github-com-go-sql-driver-mysql,
go-github-com-lib-pq, go-github-com-mattn-go-runewidth,
go-github-com-mattn-go-sqlite3, go-github-com-olekukonko-tablewriter,
go-github-com-pkg-errors, go-github-com-sourcegraph-jsonrpc2,
go-golang-org-x-crypto, go-golang-org-x-xerrors, and
go-gopkg-in-yaml-v2.
Change-Id: I9312a483dfa954b5f0ad4cfac04b5153570bf571
2024-05-04 22:10:08 +00:00
|
|
|
|
;; TODO: The latest version requires a way more packages to be available
|
|
|
|
|
;; in Guix.
|
2022-06-20 04:22:39 +00:00
|
|
|
|
(version "0.2.18")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2024-03-24 22:06:33 +00:00
|
|
|
|
(url "https://github.com/sqls-server/sqls")
|
2022-06-20 04:22:39 +00:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"13837v27avdp2nls3vyy7ml12nj7rxragchwf92adn10ffp4aj6c"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
2024-03-24 22:06:33 +00:00
|
|
|
|
(list
|
|
|
|
|
#:install-source? #f
|
|
|
|
|
#:import-path "github.com/lighttiger2505/sqls"))
|
gnu: sqls: Use go-1.21.
Merge all inputs into native-inputs since the output result of the
package is an executable that does not require sources from Golang
modules to be available after installation.
* gnu/packages/databases.scm (sqls):
[arguments]: <#:go>: Use go-1.21.
[inputs]: Remove go-github-com-go-sql-driver-mysql,
go-github-com-lib-pq, go-github-com-mattn-go-runewidth,
go-github-com-mattn-go-sqlite3, go-github-com-olekukonko-tablewriter,
go-github-com-pkg-errors, go-github-com-sourcegraph-jsonrpc2,
go-golang-org-x-crypto, go-golang-org-x-xerrors, and
go-gopkg-in-yaml-v2.
[native-inputs]: Add go-github-com-go-sql-driver-mysql,
go-github-com-lib-pq, go-github-com-mattn-go-runewidth,
go-github-com-mattn-go-sqlite3, go-github-com-olekukonko-tablewriter,
go-github-com-pkg-errors, go-github-com-sourcegraph-jsonrpc2,
go-golang-org-x-crypto, go-golang-org-x-xerrors, and
go-gopkg-in-yaml-v2.
Change-Id: I9312a483dfa954b5f0ad4cfac04b5153570bf571
2024-05-04 22:10:08 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
(list go-github-com-google-go-cmp-cmp
|
|
|
|
|
go-github-com-go-sql-driver-mysql
|
|
|
|
|
go-github-com-k0kubun-pp
|
|
|
|
|
go-github-com-lib-pq
|
|
|
|
|
go-github-com-mattn-go-runewidth
|
|
|
|
|
go-github-com-mattn-go-sqlite3
|
|
|
|
|
go-github-com-olekukonko-tablewriter
|
|
|
|
|
go-github-com-pkg-errors
|
|
|
|
|
go-github-com-sourcegraph-jsonrpc2
|
|
|
|
|
go-golang-org-x-crypto
|
|
|
|
|
go-golang-org-x-xerrors
|
|
|
|
|
go-gopkg-in-yaml-v2))
|
2024-03-24 22:06:33 +00:00
|
|
|
|
(home-page "https://github.com/sqls-server/sqls")
|
2022-06-20 04:22:39 +00:00
|
|
|
|
(synopsis "SQL language server written in Go")
|
|
|
|
|
(description
|
|
|
|
|
"This package implements the @acronym{LSP, Language Server Protocol} for SQL.")
|
|
|
|
|
(license license:expat)))
|
2022-07-21 13:24:43 +00:00
|
|
|
|
|
|
|
|
|
(define-public python-dogpile.cache
|
|
|
|
|
(package
|
|
|
|
|
(name "python-dogpile.cache")
|
|
|
|
|
(version "1.1.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (pypi-uri "dogpile.cache" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0kpx42vxzss4sz5ic6mp01a97zinzm6q76n8li2gbi4ccfxyhi6q"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda* (#:key tests? #:allow-other-keys)
|
|
|
|
|
(when tests?
|
|
|
|
|
(invoke "pytest")))))))
|
|
|
|
|
(native-inputs (list python-mako python-pytest))
|
|
|
|
|
(propagated-inputs (list python-decorator python-stevedore))
|
|
|
|
|
(home-page "https://github.com/sqlalchemy/dogpile.cache")
|
|
|
|
|
(synopsis "Caching front-end based on the Dogpile lock")
|
|
|
|
|
(description "@code{dogpile.cache} is a caching API which provides a
|
|
|
|
|
generic interface to caching backends of any variety, and additionally
|
|
|
|
|
provides API hooks which integrate these cache backends with the locking
|
|
|
|
|
mechanism of @code{dogpile}.")
|
|
|
|
|
(license license:expat)))
|
2023-03-26 19:43:35 +00:00
|
|
|
|
|
|
|
|
|
(define-public datasette
|
|
|
|
|
(package
|
|
|
|
|
(name "datasette")
|
2024-01-10 17:54:24 +00:00
|
|
|
|
(version "1.0a7")
|
2023-03-26 19:43:35 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch) ;for tests
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/simonw/datasette")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2024-01-10 17:54:24 +00:00
|
|
|
|
"1wwdx2xqkxygbww1nzpr6h702ims6zcxpjskh8fldn1kby591qgg"))))
|
2023-03-26 19:43:35 +00:00
|
|
|
|
(build-system pyproject-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
(list
|
|
|
|
|
#:test-flags
|
|
|
|
|
;; There are multiple unexplained test failures (see:
|
|
|
|
|
;; https://github.com/simonw/datasette/issues/2048).
|
|
|
|
|
#~(list "-k" (string-append
|
|
|
|
|
"not (test_database_page_for_database_with_dot_in_name"
|
|
|
|
|
" or test_row_strange_table_name"
|
|
|
|
|
" or test_database_with_space_in_name"
|
|
|
|
|
" or test_tilde_encoded_database_names"
|
|
|
|
|
" or test_weird_database_names"
|
|
|
|
|
" or test_css_classes_on_body"
|
|
|
|
|
" or test_templates_considered"
|
|
|
|
|
" or test_row_html_compound_primary_key"
|
|
|
|
|
" or test_edit_sql_link_on_canned_queries"
|
|
|
|
|
" or test_alternate_url_json"
|
|
|
|
|
" or test_table_with_slashes_in_name"
|
|
|
|
|
" or test_searchable"
|
|
|
|
|
" or test_custom_query_with_unicode_characters"
|
|
|
|
|
" or test_searchmode)")
|
|
|
|
|
"-n" (number->string (parallel-job-count))
|
|
|
|
|
"-m" "not serial") ;cannot run in parallel
|
|
|
|
|
#:phases
|
|
|
|
|
#~(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'relax-requirements
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The package needlessly specifies exact versions
|
|
|
|
|
;; of dependencies, when it works fine with others.
|
|
|
|
|
(substitute* "setup.py"
|
|
|
|
|
(("(black)==[0-9\\.]+" _ package)
|
|
|
|
|
package)
|
|
|
|
|
(("click-default-group-wheel")
|
|
|
|
|
"click-default-group")))))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
(list python-aiofiles
|
|
|
|
|
python-asgi-csrf
|
|
|
|
|
python-asgiref
|
2024-01-10 17:54:24 +00:00
|
|
|
|
python-asyncinject
|
2023-03-26 19:43:35 +00:00
|
|
|
|
python-click
|
|
|
|
|
python-click-default-group
|
|
|
|
|
python-httpx
|
|
|
|
|
python-hupper
|
|
|
|
|
python-itsdangerous
|
|
|
|
|
python-janus
|
|
|
|
|
python-jinja2
|
|
|
|
|
python-mergedeep
|
|
|
|
|
python-pint
|
2023-04-15 01:33:29 +00:00
|
|
|
|
python-pluggy
|
2023-03-26 19:43:35 +00:00
|
|
|
|
python-pyyaml
|
2024-01-10 17:54:24 +00:00
|
|
|
|
python-sqlite-utils
|
2023-03-26 19:43:35 +00:00
|
|
|
|
python-uvicorn))
|
|
|
|
|
(native-inputs
|
|
|
|
|
(list python-beautifulsoup4
|
|
|
|
|
python-black
|
|
|
|
|
python-cogapp
|
2023-04-15 01:50:13 +00:00
|
|
|
|
python-pytest
|
2023-03-26 19:43:35 +00:00
|
|
|
|
python-pytest-asyncio
|
|
|
|
|
python-pytest-runner
|
|
|
|
|
python-pytest-timeout
|
2023-04-14 20:57:37 +00:00
|
|
|
|
python-pytest-xdist
|
2023-03-26 19:43:35 +00:00
|
|
|
|
python-setuptools
|
|
|
|
|
python-trustme))
|
|
|
|
|
(home-page "https://datasette.io/")
|
|
|
|
|
(synopsis "Multi-tool for exploring and publishing data")
|
|
|
|
|
(description "Datasette is a tool for exploring and publishing data.
|
|
|
|
|
It helps people take data of any shape or size and publish that as an
|
|
|
|
|
interactive, explorable website and accompanying API.")
|
|
|
|
|
(license license:asl2.0)))
|