From b9cbfa52f71505de8447fefabd97f16d0a9cbde6 Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Sat, 18 Jun 2016 15:49:36 +0800 Subject: gnu: Add guile-dbd-sqlite3. * gnu/packages/guile.scm (guile-dbd-sqlite3): New variable. --- gnu/packages/guile.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 1a180a4ec7..2fb2c7ff91 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -1045,4 +1045,31 @@ (define-public guile-dbi It currently supports MySQL, Postgres and SQLite3.") (license gpl2+))) +(define-public guile-dbd-sqlite3 + (package + (name "guile-dbd-sqlite3") + (version "2.1.6") + (source (origin + (method url-fetch) + (uri (string-append + "http://download.gna.org/guile-dbi/guile-dbd-sqlite3-" + version ".tar.gz")) + (sha256 + (base32 + "0rg71jchxd2y8x496s8zmfmikr5g8zxi8zv2ar3f7a23pph92iw2")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("sqlite" ,sqlite) + ("zlib" ,(@ (gnu packages compression) zlib)))) + (propagated-inputs + `(("guile-dbi" ,guile-dbi))) + (synopsis "Guile DBI driver for SQLite") + (home-page "https://github.com/jkalbhenn/guile-dbd-sqlite3") + (description + "guile-dbi is a library for Guile that provides a convenient interface to +SQL databases. This package implements the interface for SQLite.") + (license gpl2+))) + ;;; guile.scm ends here -- cgit v1.2.3