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-25 19:11:58 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-02-26 11:29:27 +0100
commitf5203d25847c3ee1f094946362fd5d9e64838328 (patch)
tree1c20f4c8cd9c184bb72931dfe0052f1cae7494ee /gnu/packages/lisp-xyz.scm
parentc79ea1a217691a337f7831d5a2fe6a94f6accd14 (diff)
downloadguix-f5203d25847c3ee1f094946362fd5d9e64838328.tar.gz
gnu: Add cl-postgres.
* gnu/packages/lisp-xyz.scm (sbcl-cl-postgres, cl-postgres): New variables.
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r--gnu/packages/lisp-xyz.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 1955c943e1..2f84ad2694 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10792,3 +10792,24 @@ objects, used to support storing and retrieving time-related SQL types.")
 
 (define-public ecl-simple-date
   (sbcl-package->ecl-package sbcl-simple-date))
+
+(define-public sbcl-cl-postgres
+  (package
+    (inherit sbcl-simple-date)
+    (name "sbcl-cl-postgres")
+    (native-inputs
+     `(("fiveam" ,sbcl-fiveam)
+       ("simple-date" ,sbcl-simple-date)))
+    (inputs
+     `(("md5" ,sbcl-md5)
+       ("split-sequence" ,sbcl-split-sequence)
+       ("usocket" ,sbcl-usocket)))
+    (arguments
+     `(#:tests? #f)) ; TODO: Break simple-date/postgres-glue circular dependency
+    (synopsis "Common Lisp interface for PostgreSQL")
+    (description
+     "@code{cl-postgres} is a low-level library used for interfacing with
+a PostgreSQL server over a socket.")))
+
+(define-public cl-postgres
+  (sbcl-package->cl-source-package sbcl-cl-postgres))