guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/10: gnu: Add cl-s-sql.


From: guix-commits
Subject: 05/10: gnu: Add cl-s-sql.
Date: Wed, 26 Feb 2020 05:32:24 -0500 (EST)

glv pushed a commit to branch master
in repository guix.

commit 88dbe39b16a53d1f1fa7b4dad97f10bca22f7d02
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Tue Feb 25 22:14:11 2020 +0100

    gnu: Add cl-s-sql.
    
    * gnu/packages/lisp-xyz.scm (sbcl-s-sql, cl-s-sql): New variables.
---
 gnu/packages/lisp-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 736efc7..0f5e995 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10827,3 +10827,21 @@ a PostgreSQL server over a socket.")))
 
 (define-public cl-simple-date-postgres-glue
   (sbcl-package->cl-source-package sbcl-simple-date-postgres-glue))
+
+(define-public sbcl-s-sql
+  (package
+    (inherit sbcl-simple-date)
+    (name "sbcl-s-sql")
+    (inputs
+     `(("alexandria" ,sbcl-alexandria)
+       ("cl-postgres" ,sbcl-cl-postgres)))
+    (arguments
+     `(#:tests? #f)) ; TODO: Break postmodern circular dependency
+    (synopsis "Lispy DSL for SQL")
+    (description
+     "@code{s-sql} is a Common Lisp library that can be used to compile
+s-expressions to strings of SQL code, escaping any Lisp values inside, and
+doing as much as possible of the work at compile time.")))
+
+(define-public cl-s-sql
+  (sbcl-package->cl-source-package sbcl-s-sql))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]