summary refs log tree commit diff
path: root/gnu/packages/lisp-xyz.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-02-26 11:00:25 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-02-26 11:29:28 +0100
commitaf469826e2579074f9f88099d0ec55c5ccac8e26 (patch)
tree40e0575d1f1e3543ec6a608d8be61e2d3d54acb5 /gnu/packages/lisp-xyz.scm
parent903d0e81a10444d377c5516e704a67b66695f895 (diff)
downloadguix-af469826e2579074f9f88099d0ec55c5ccac8e26.tar.gz
gnu: Add cl-dbd-postgres.
* gnu/packages/lisp-xyz.scm (sbcl-dbd-postgres, cl-dbd-postgres): New
  variables.
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index d0e7524e9b..a45f14e5e1 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10924,3 +10924,16 @@ interface for MySQL, PostgreSQL and SQLite.")
 
 (define-public cl-dbd-mysql
   (sbcl-package->cl-source-package sbcl-dbd-mysql))
+
+(define-public sbcl-dbd-postgres
+  (package
+   (inherit sbcl-dbi)
+   (name "sbcl-dbd-postgres")
+   (inputs
+    `(("cl-postgres" ,sbcl-cl-postgres)
+      ("dbi" ,sbcl-dbi)
+      ("trivial-garbage" ,sbcl-trivial-garbage)))
+   (synopsis "Database driver for PostgreSQL")))
+
+(define-public cl-dbd-postgres
+  (sbcl-package->cl-source-package sbcl-dbd-postgres))