1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
3 ;;; Copyright © 2012, 2014 Andreas Enge <andreas@enge.fr>
4 ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
5 ;;; Copyright © 2014 David Thompson <davet@gnu.org>
6 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
7 ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org>
8 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
10 ;;; This file is part of GNU Guix.
12 ;;; GNU Guix is free software; you can redistribute it and/or modify it
13 ;;; under the terms of the GNU General Public License as published by
14 ;;; the Free Software Foundation; either version 3 of the License, or (at
15 ;;; your option) any later version.
17 ;;; GNU Guix is distributed in the hope that it will be useful, but
18 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;;; GNU General Public License for more details.
22 ;;; You should have received a copy of the GNU General Public License
23 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
25 (define-module (gnu packages databases)
26 #:use-module (gnu packages)
27 #:use-module (gnu packages perl)
28 #:use-module (gnu packages language)
29 #:use-module (gnu packages linux)
30 #:use-module (gnu packages openssl)
31 #:use-module (gnu packages compression)
32 #:use-module (gnu packages ncurses)
33 #:use-module (gnu packages readline)
34 #:use-module (gnu packages emacs)
35 #:use-module (gnu packages check)
36 #:use-module (gnu packages algebra)
37 #:use-module (gnu packages curl)
38 #:use-module (gnu packages gnupg)
39 #:use-module (gnu packages python)
40 #:use-module (gnu packages pcre)
41 #:use-module (gnu packages xml)
42 #:use-module (gnu packages bison)
43 #:use-module (gnu packages jemalloc)
44 #:use-module ((guix licenses)
45 #:select (gpl2 gpl3+ lgpl2.1+ lgpl3+ x11-style non-copyleft
47 #:use-module (guix packages)
48 #:use-module (guix download)
49 #:use-module (guix build-system gnu)
50 #:use-module (guix build-system perl)
51 #:use-module (guix build-system cmake)
52 #:use-module (srfi srfi-26)
53 #:use-module (ice-9 match))
61 (uri (string-append "http://download.oracle.com/berkeley-db/db-" version
64 "1f2g2612lf8djbwbwhxsvmffmf9d7693kh2l20195pqp0f9jmnfx"))))
65 (build-system gnu-build-system)
66 (outputs '("out" ; programs, libraries, headers
67 "doc")) ; 94 MiB of HTML docs
69 '(#:tests? #f ; no check target available
73 (lambda* (#:key outputs #:allow-other-keys)
74 (let ((out (assoc-ref outputs "out"))
75 (doc (assoc-ref outputs "doc")))
76 ;; '--docdir' is not honored, so we need to patch.
77 (substitute* "dist/Makefile.in"
78 (("docdir[[:blank:]]*=.*")
79 (string-append "docdir = " doc "/share/doc/bdb")))
82 (system* "./dist/configure"
83 (string-append "--prefix=" out)
84 (string-append "CONFIG_SHELL=" (which "bash"))
85 (string-append "SHELL=" (which "bash"))
87 ;; The compatibility mode is needed by some packages,
89 "--enable-compat185"))))
91 (synopsis "Berkeley database")
93 "Berkeley DB is an embeddable database allowing developers the choice of
94 SQL, Key/Value, XML/XQuery or Java Object storage for their data model.")
95 (license (non-copyleft "file://LICENSE"
96 "See LICENSE in the distribution."))
98 "http://www.oracle.com/us/products/database/berkeley-db/overview/index.html")))
107 "http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-"
111 "1dfwi4ck0vq6sdci6gz0031s7zz5lc3pddqlgm0292s00l9y5sq5"))))
112 (build-system gnu-build-system)
118 ("ncurses" ,ncurses)))
120 '(#:modules ((guix build gnu-build-system)
122 (ice-9 ftw)) ; for "rm -rf"
123 #:phases (alist-cons-after
125 (lambda* (#:key outputs #:allow-other-keys)
126 ;; Remove the 112 MiB of tests that get installed.
127 (let ((out (assoc-ref outputs "out")))
129 (file-system-fold (const #t) ; enter?
130 (lambda (file stat result) ; leaf
133 (lambda (dir stat result) ; up
136 (lambda (file stat errno result)
137 (format (current-error-port)
139 file (strerror errno)))
141 (string-append out "/" dir)))
145 ;; Compress the 14 MiB Info file.
147 (system* "gzip" "--best"
148 (string-append out "/share/info/mysql.info")))))
150 (home-page "http://www.mysql.com/")
151 (synopsis "Fast, easy to use, and popular database")
153 "MySQL is a fast, reliable, and easy to use relational database
154 management system that supports the standardized Structured Query
158 (define-public mariadb
164 (uri (string-append "https://downloads.mariadb.org/f/"
165 name "-" version "/source/"
166 name "-" version ".tar.gz"))
169 "04ckq67qgkghh7yzrbzwidk7wn7yjml15gzj2c5p1hs2k7lr9lww"))))
170 (build-system cmake-build-system)
173 '("-DBUILD_CONFIG=mysql_release"
174 "-DDEFAULT_CHARSET=utf8"
175 "-DDEFAULT_COLLATION=utf8_general_ci"
176 "-DMYSQL_DATADIR=/var/lib/mysql"
177 "-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
178 "-DINSTALL_INFODIR=share/mysql/docs"
179 "-DINSTALL_MANDIR=share/man"
180 "-DINSTALL_PLUGINDIR=lib/mysql/plugin"
181 "-DINSTALL_SCRIPTDIR=bin"
182 "-DINSTALL_INCLUDEDIR=include/mysql"
183 "-DINSTALL_DOCREADMEDIR=share/mysql/docs"
184 "-DINSTALL_SUPPORTFILESDIR=share/mysql/support-files"
185 "-DINSTALL_MYSQLSHAREDIR=share/mysql"
186 "-DINSTALL_DOCDIR=share/mysql/docs"
187 "-DINSTALL_SHAREDIR=share/mysql")
189 (modify-phases %standard-phases
191 'configure 'pre-configure
193 (setenv "CONFIG_SHELL" (which "sh"))
194 ;; XXX: libstdc++.so lacks RUNPATH for libgcc_s.so.
195 (setenv "LDFLAGS" "-lgcc_s")
198 'install 'post-install
199 (lambda* (#:key outputs #:allow-other-keys)
200 (let* ((out (assoc-ref outputs "out"))
201 (test (assoc-ref outputs "test")))
202 (substitute* (string-append out "/bin/mysql_install_db")
204 (string-append "basedir=\"" out "\"")))
205 ;; Remove unneeded files for testing.
206 (with-directory-excursion out
207 (for-each delete-file-recursively
208 '("data" "mysql-test" "sql-bench"
209 "share/man/man1/mysql-test-run.pl.1")))))))))
214 `(("jemalloc" ,jemalloc)
221 (home-page "https://mariadb.org/")
222 (synopsis "SQL database server")
224 "MariaDB is a multi-user and multi-threaded SQL database server, designed
225 as a drop-in replacement of MySQL.")
228 (define-public postgresql
234 (uri (string-append "http://ftp.postgresql.org/pub/source/v"
235 version "/postgresql-" version ".tar.bz2"))
238 "056ass7nnfyv7blv02anv795kgpz77gipdpxggd835cdwrhwns13"))))
239 (build-system gnu-build-system)
241 `(("readline" ,readline)
243 (home-page "http://www.postgresql.org/")
244 (synopsis "Powerful object-relational database system")
246 "PostgreSQL is a powerful object-relational database system. It is fully
247 ACID compliant, has full support for foreign keys, joins, views, triggers, and
248 stored procedures (in multiple languages). It includes most SQL:2008 data
249 types, including INTEGER, NUMERIC, BOOLEAN, CHAR, VARCHAR, DATE, INTERVAL, and
250 TIMESTAMP. It also supports storage of binary large objects, including
251 pictures, sounds, or video.")
252 (license (x11-style "file://COPYRIGHT"))))
254 (define-public recutils
260 (uri (string-append "mirror://gnu/recutils/recutils-"
264 "0cdwa4094x3yx7vn98xykvnlp9rngvd58d19vs3vh5hrvggccg93"))))
265 (build-system gnu-build-system)
267 ;; Running tests in parallel leads to test failures and crashes in
269 (arguments '(#:parallel-tests? #f))
271 (native-inputs `(("emacs" ,emacs-no-x)
274 ;; TODO: Add more optional inputs.
275 ;; FIXME: Our Bash doesn't have development headers (need for the 'readrec'
276 ;; built-in command), but it's not clear how to get them installed.
277 ;; See <https://lists.gnu.org/archive/html/bug-bash/2014-03/msg00125.html>.
278 (inputs `(("curl" ,curl)
279 ("libgcrypt" ,libgcrypt)
281 (synopsis "Manipulate plain text files as databases")
283 "GNU Recutils is a set of tools and libraries for creating and
284 manipulating text-based, human-editable databases. Despite being text-based,
285 databases created with Recutils carry all of the expected features such as
286 unique fields, primary keys, time stamps and more. Many different field
287 types are supported, as is encryption.")
289 (home-page "http://www.gnu.org/software/recutils/")))
291 (define-public sqlite
297 ;; TODO: Download from sqlite.org once this bug :
298 ;; http://lists.gnu.org/archive/html/bug-guile/2013-01/msg00027.html
300 (uri (let ((numeric-version
301 (match (string-split version #\.)
302 ((first-digit other-digits ...)
303 (string-append first-digit
306 (map (cut string-pad <> 2 #\0)
310 "mirror://sourceforge/sqlite.mirror/SQLite%20" version
311 "/sqlite-autoconf-" numeric-version ".tar.gz")))
314 "04dl53iv5q0srv4jcgjfzsrdzkq6dg1sgmlmpw9lrd4xrmj6jmvl"))))
315 (build-system gnu-build-system)
316 (inputs `(("readline" ,readline)))
319 ;; Add -DSQLITE_SECURE_DELETE and -DSQLITE_ENABLE_UNLOCK_NOTIFY to
320 ;; CFLAGS. GNU Icecat will refuse to use the system SQLite unless these
321 ;; options are enabled.
322 '("CFLAGS=-O2 -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY")))
323 (home-page "http://www.sqlite.org/")
324 (synopsis "The SQLite database management system")
326 "SQLite is a software library that implements a self-contained, serverless,
327 zero-configuration, transactional SQL database engine. SQLite is the most
328 widely deployed SQL database engine in the world. The source code for SQLite
329 is in the public domain.")
330 (license public-domain)))
338 (uri (string-append "http://samba.org/ftp/tdb/tdb-"
342 "085sd2kii72fr0c4pdc7c7m0xk34nc66wnjp21c83dss826y9gh4"))))
343 (build-system gnu-build-system)
345 '(#:phases (alist-replace
347 (lambda* (#:key outputs #:allow-other-keys)
348 (let ((out (assoc-ref outputs "out")))
349 ;; The 'configure' script is a wrapper for Waf and
350 ;; doesn't recognize things like '--enable-fast-install'.
351 (zero? (system* "./configure"
352 (string-append "--prefix=" out)))))
355 `(;; TODO: Build the documentation.
356 ;; ("docbook-xsl" ,docbook-xsl)
357 ;; ("libxml2" ,libxml2)
358 ;; ("libxslt" ,libxslt)
359 ("python" ,python-2))) ;for the Waf build system
360 (home-page "http://tdb.samba.org/")
361 (synopsis "Trivial database")
363 "TDB is a Trivial Database. In concept, it is very much like GDBM,
364 and BSD's DB except that it allows multiple simultaneous writers and uses
365 locking internally to keep writers from trampling on each other. TDB is also
369 (define-public perl-dbi
376 "mirror://cpan/authors/id/T/TI/TIMB/DBI-"
380 "04fmrnchhwi7jx4niaiv93vmi343hdm3xj04w9zr2m9hhqh782np"))))
381 (build-system perl-build-system)
382 (synopsis "Database independent interface for Perl")
383 (description "This package provides an database interface for Perl.")
384 (home-page "http://search.cpan.org/~timb/DBI-1.631/DBI.pm")
385 (license (package-license perl))))
387 (define-public perl-dbix-class
389 (name "perl-dbix-class")
394 (uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
395 "DBIx-Class-" version ".tar.gz"))
398 "1zlsswk8j2k024gwhdhia8ksrmb8065n98dahkk8c0r69wv85n04"))))
399 (build-system perl-build-system)
401 `(("perl-dbd-sqlite" ,perl-dbd-sqlite)
402 ("perl-file-temp" ,perl-file-temp)
403 ("perl-package-stash" ,perl-package-stash)
404 ("perl-test-deep" ,perl-test-deep)
405 ("perl-test-exception" ,perl-test-exception)
406 ("perl-test-warn" ,perl-test-warn)))
408 `(("perl-class-accessor-grouped" ,perl-class-accessor-grouped)
409 ("perl-class-c3-componentised" ,perl-class-c3-componentised)
410 ("perl-class-inspector" ,perl-class-inspector)
411 ("perl-config-any" ,perl-config-any)
412 ("perl-context-preserve" ,perl-context-preserve)
413 ("perl-data-dumper-concise" ,perl-data-dumper-concise)
414 ("perl-data-page" ,perl-data-page)
415 ("perl-dbi" ,perl-dbi)
416 ("perl-devel-globaldestruction" ,perl-devel-globaldestruction)
417 ("perl-hash-merge" ,perl-hash-merge)
418 ("perl-module-find" ,perl-module-find)
419 ("perl-moo" ,perl-moo)
420 ("perl-mro-compat" ,perl-mro-compat)
421 ("perl-namespace-clean" ,perl-namespace-clean)
422 ("perl-path-class" ,perl-path-class)
423 ("perl-scalar-list-utils" ,perl-scalar-list-utils)
424 ("perl-scope-guard" ,perl-scope-guard)
425 ("perl-sql-abstract" ,perl-sql-abstract)
426 ("perl-sub-name" ,perl-sub-name)
427 ("perl-text-balanced" ,perl-text-balanced)
428 ("perl-try-tiny" ,perl-try-tiny)))
429 (home-page "http://search.cpan.org/dist/DBIx-Class")
430 (synopsis "Extensible and flexible object <-> relational mapper")
431 (description "An SQL to OO mapper with an object API inspired by
432 Class::DBI (with a compatibility layer as a springboard for porting) and a
433 resultset API that allows abstract encapsulation of database operations. It
434 aims to make representing queries in your code as perl-ish as possible while
435 still providing access to as many of the capabilities of the database as
436 possible, including retrieving related records from multiple tables in a
437 single query, \"JOIN\", \"LEFT JOIN\", \"COUNT\", \"DISTINCT\", \"GROUP BY\",
438 \"ORDER BY\" and \"HAVING\" support.")
439 (license (package-license perl))))
441 (define-public perl-dbix-class-cursor-cached
443 (name "perl-dbix-class-cursor-cached")
448 (uri (string-append "mirror://cpan/authors/id/A/AR/ARCANEZ/"
449 "DBIx-Class-Cursor-Cached-" version ".tar.gz"))
452 "19r7jr6pknxiirrybq0cd0lnr76xiw05arnfqgk9nrhp6c7vvil0"))))
453 (build-system perl-build-system)
455 `(("perl-cache-cache" ,perl-cache-cache)
456 ("perl-dbd-sqlite" ,perl-dbd-sqlite)))
458 `(("perl-carp-clan" ,perl-carp-clan)
459 ("perl-dbix-class" ,perl-dbix-class)))
460 (home-page "http://search.cpan.org/dist/DBIx-Class-Cursor-Cached")
461 (synopsis "Cursor with built-in caching support")
462 (description "DBIx::Class::Cursor::Cached provides a cursor class with
463 built-in caching support.")
464 (license (package-license perl))))
466 (define-public perl-dbix-class-introspectablem2m
468 (name "perl-dbix-class-introspectablem2m")
473 (uri (string-append "mirror://cpan/authors/id/G/GR/GRODITI/"
474 "DBIx-Class-IntrospectableM2M-" version ".tar.gz"))
477 "0p9zx1yc1f6jg583l206wilsni2v8mlngc2vf2q8yn10pmy4y6wm"))))
478 (build-system perl-build-system)
480 `(("perl-dbix-class" ,perl-dbix-class)))
481 (home-page "http://search.cpan.org/dist/DBIx-Class-IntrospectableM2M")
482 (synopsis "Introspect many-to-many relationships")
483 (description "Because the many-to-many relationships are not real
484 relationships, they can not be introspected with DBIx::Class. Many-to-many
485 relationships are actually just a collection of convenience methods installed
486 to bridge two relationships. This DBIx::Class component can be used to store
487 all relevant information about these non-relationships so they can later be
488 introspected and examined.")
489 (license (package-license perl))))
491 (define-public perl-dbix-class-schema-loader
493 (name "perl-dbix-class-schema-loader")
498 (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
499 "DBIx-Class-Schema-Loader-" version ".tar.gz"))
502 "0sb48as7azmj6s4acxh98wcvcik7lxm7dcjz1c3wdrkrbmbbz0jf"))))
503 (build-system perl-build-system)
505 `(("perl-config-any" ,perl-config-any)
506 ("perl-config-general" ,perl-config-general)
507 ("perl-dbd-sqlite" ,perl-dbd-sqlite)
508 ("perl-dbix-class-introspectablem2m" ,perl-dbix-class-introspectablem2m)
509 ("perl-moose" ,perl-moose)
510 ("perl-moosex-markasmethods" ,perl-moosex-markasmethods)
511 ("perl-moosex-nonmoose" ,perl-moosex-nonmoose)
512 ("perl-namespace-autoclean" ,perl-namespace-autoclean)
513 ("perl-test-deep" ,perl-test-deep)
514 ("perl-test-differences" ,perl-test-differences)
515 ("perl-test-exception" ,perl-test-exception)
516 ("perl-test-pod" ,perl-test-pod)
517 ("perl-test-warn" ,perl-test-warn)))
519 `(("perl-class-unload" ,perl-class-unload)
520 ("perl-class-inspector" ,perl-class-inspector)
521 ("perl-class-accessor-grouped" ,perl-class-accessor-grouped)
522 ("perl-class-c3-componentised" ,perl-class-c3-componentised)
523 ("perl-carp-clan" ,perl-carp-clan)
524 ("perl-data-dump" ,perl-data-dump)
525 ("perl-dbix-class" ,perl-dbix-class)
526 ("perl-hash-merge" ,perl-hash-merge)
527 ("perl-list-moreutils" ,perl-list-moreutils)
528 ("perl-lingua-en-inflect-phrase" ,perl-lingua-en-inflect-phrase)
529 ("perl-lingua-en-inflect-number" ,perl-lingua-en-inflect-number)
530 ("perl-lingua-en-tagger" ,perl-lingua-en-tagger)
531 ("perl-namespace-clean" ,perl-namespace-clean)
532 ("perl-mro-compat" ,perl-mro-compat)
533 ("perl-scope-guard" ,perl-scope-guard)
534 ("perl-string-camelcase" ,perl-string-camelcase)
535 ("perl-string-toidentifier-en" ,perl-string-toidentifier-en)
536 ("perl-sub-name" ,perl-sub-name)
537 ("perl-try-tiny" ,perl-try-tiny)))
538 (arguments `(#:tests? #f)) ;TODO: t/20invocations.t fails
539 (home-page "http://search.cpan.org/dist/DBIx-Class-Schema-Loader")
540 (synopsis "Create a DBIx::Class::Schema based on a database")
541 (description "DBIx::Class::Schema::Loader automates the definition of a
542 DBIx::Class::Schema by scanning database table definitions and setting up the
543 columns, primary keys, unique constraints and relationships.")
544 (license (package-license perl))))
546 (define-public perl-dbd-pg
553 (uri (string-append "mirror://cpan/authors/id/T/TU/TURNSTEP/"
554 "DBD-Pg-" version ".tar.gz"))
557 "0z0kf1kjgbi5f6nr63i2fnrx7629d9lvxg1q8sficwb3zdf1ggzx"))))
558 (build-system perl-build-system)
560 `(("perl-dbi" ,perl-dbi)))
562 `(("perl-dbi" ,perl-dbi)
563 ("postgresql" ,postgresql)))
564 (home-page "http://search.cpan.org/dist/DBD-Pg")
565 (synopsis "DBI PostgreSQL interface")
567 (license (package-license perl))))
569 (define-public perl-dbd-sqlite
571 (name "perl-dbd-sqlite")
576 "mirror://cpan/authors/id/I/IS/ISHIGAKI/DBD-SQLite-"
580 "14x9cjsc8dz8ad1nad0bqiq9cbk1rjfb8h5y0rpk3pdl38y6afxb"))))
581 (build-system perl-build-system)
582 (inputs `(("sqlite" ,sqlite)))
583 (propagated-inputs `(("perl-dbi" ,perl-dbi)))
584 (synopsis "SQlite interface for Perl")
585 (description "DBD::SQLite is a Perl DBI driver for SQLite, that includes
586 the entire thing in the distribution. So in order to get a fast transaction
587 capable RDBMS working for your Perl project you simply have to install this
588 module, and nothing else.")
589 (license (package-license perl))
590 (home-page "http://search.cpan.org/~ishigaki/DBD-SQLite/lib/DBD/SQLite.pm")))
592 (define-public perl-sql-abstract
594 (name "perl-sql-abstract")
599 (uri (string-append "mirror://cpan/authors/id/R/RI/RIBASUSHI/"
600 "SQL-Abstract-" version ".tar.gz"))
603 "17sgwq3mvqjhv3b77cnvrq60xgp8harjhlnvpwmxc914rqc5ckaz"))))
604 (build-system perl-build-system)
606 `(("perl-test-deep" ,perl-test-deep)
607 ("perl-test-exception" ,perl-test-exception)
608 ("perl-test-warn" ,perl-test-warn)))
610 `(("perl-hash-merge" ,perl-hash-merge)
611 ("perl-moo" ,perl-moo)
612 ("perl-mro-compat" ,perl-mro-compat)
613 ("perl-text-balanced" ,perl-text-balanced)))
614 (home-page "http://search.cpan.org/dist/SQL-Abstract")
615 (synopsis "Generate SQL from Perl data structures")
616 (description "This module was inspired by the excellent DBIx::Abstract.
617 While based on the concepts used by DBIx::Abstract, the concepts used have
618 been modified to make the SQL easier to generate from Perl data structures.
619 The underlying idea is for this module to do what you mean, based on the data
620 structures you provide it, so that you don't have to modify your code every
621 time your data changes")
622 (license (package-license perl))))
624 (define-public perl-sql-splitstatement
626 (name "perl-sql-splitstatement")
631 (uri (string-append "mirror://cpan/authors/id/E/EM/EMAZEP/"
632 "SQL-SplitStatement-" version ".tar.gz"))
635 "0bqg45k4c9qkb2ypynlwhpvzsl4ssfagmsalys18s5c79ps30z7p"))))
636 (build-system perl-build-system)
638 `(("perl-test-exception" ,perl-test-exception)))
640 `(("perl-class-accessor" ,perl-class-accessor)
641 ("perl-list-moreutils" ,perl-list-moreutils)
642 ("perl-regexp-common" ,perl-regexp-common)
643 ("perl-sql-tokenizer" ,perl-sql-tokenizer)))
644 (home-page "http://search.cpan.org/dist/SQL-SplitStatement")
645 (synopsis "Split SQL code into atomic statements")
646 (description "This module tries to split any SQL code, even including
647 non-standard extensions, into the atomic statements it is composed of.")
648 (license (package-license perl))))
650 (define-public perl-sql-tokenizer
652 (name "perl-sql-tokenizer")
657 (uri (string-append "mirror://cpan/authors/id/I/IZ/IZUT/"
658 "SQL-Tokenizer-" version ".tar.gz"))
661 "1qa2dfbzdlr5qqdam9yn78z5w3al5r8577x06qan8wv58ay6ka7s"))))
662 (build-system perl-build-system)
663 (home-page "http://search.cpan.org/dist/SQL-Tokenizer")
664 (synopsis "SQL tokenizer")
665 (description "SQL::Tokenizer is a tokenizer for SQL queries. It does not
666 claim to be a parser or query verifier. It just creates sane tokens from a
668 (license (package-license perl))))
670 (define-public unixodbc
678 "ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-" version ".tar.gz"))
680 (base32 "16jw5fq7wgfky6ak1h2j2pqx99jivsdl4q8aq6immpr55xs5jd4w"))))
681 (build-system gnu-build-system)
682 (synopsis "Data source abstraction library")
683 (description "Unixodbc is a library providing an API with which to access
684 data sources. Data sources include SQL Servers and any software with an ODBC
687 ;; COPYING contains copy of lgpl2.1 - but copyright notices just say "LGPL"
688 (home-page "http://www.unixodbc.org")))
690 (define-public unqlite
696 ;; Contains bug fixes against the official release, and has an
697 ;; autotooled build system.
698 (uri (string-append "https://github.com/aidin36/tocc/releases/"
700 "unqlite-unofficial-" version ".tar.gz"))
703 "1sbpvhg15gadq0mpcy16q7k3rkg4b4dicpnn5xifpkpn02sqik3s"))))
704 (build-system gnu-build-system)
705 (arguments `(#:tests? #f)) ;No check target
706 (home-page "http://www.unqlite.org")
707 (synopsis "In-memory key/value and document store")
709 "UnQLite is an in-process software library which implements a
710 self-contained, serverless, zero-configuration, transactional NoSQL
711 database engine. UnQLite is a document store database similar to
712 MongoDB, Redis, CouchDB, etc. as well as a standard Key/Value store
713 similar to BerkelyDB, LevelDB, etc.")