summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2016-06-18 15:49:36 +0800
committer宋文武 <iyzsong@gmail.com>2016-06-20 19:05:24 +0800
commitb9cbfa52f71505de8447fefabd97f16d0a9cbde6 (patch)
tree50a0b2a87f61bee8010c3a950a340bb278a62a7f
parent2d5907ad3c35eb7880df03cd3ac6c1bde2c4ff5f (diff)
downloadguix-b9cbfa52f71505de8447fefabd97f16d0a9cbde6.tar.gz
gnu: Add guile-dbd-sqlite3.
* gnu/packages/guile.scm (guile-dbd-sqlite3): New variable.
-rw-r--r--gnu/packages/guile.scm27
1 files changed, 27 insertions, 0 deletions
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 @@ programming interface is presented regardless of which database system is used.
 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