[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: Add sbcl-clsql-postgresql-socket3.
From: |
guix-commits |
Subject: |
07/08: gnu: Add sbcl-clsql-postgresql-socket3. |
Date: |
Fri, 28 Feb 2020 17:43:07 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit f9680d523015dd514a189cb0f60438edd3d83adb
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Fri Feb 28 19:33:55 2020 +0100
gnu: Add sbcl-clsql-postgresql-socket3.
* gnu/packages/lisp-xyz.scm (sbcl-clsql-postgresql-socket3): New variable.
---
gnu/packages/lisp-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 300638b..52e2d4a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -11128,3 +11128,26 @@ interfaces as well as a functional and an object
oriented interface.")
"/lib/libpq")))
#t))))))
(synopsis "PostgreSQL driver for Common Lisp SQL interface library")))
+
+(define-public sbcl-clsql-postgresql-socket3
+ (package
+ (inherit sbcl-clsql)
+ (name "sbcl-clsql-postgresql-socket3")
+ (inputs
+ `(("cl-postgres" ,sbcl-cl-postgres)
+ ("clsql" ,sbcl-clsql)
+ ("md5" ,sbcl-md5)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments sbcl-clsql)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-after 'create-asd-file 'fix-asd-file
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (lib (string-append out "/lib/" (%lisp-type)))
+ (asd (string-append lib
"/clsql-postgresql-socket3.asd")))
+ (substitute* asd
+ (("CLSQL-POSTGRESQL-SOCKET-SYSTEM::")
+ "")))
+ #t))))))
+ (synopsis "PostgreSQL driver for Common Lisp SQL interface library")))
- branch master updated (512068a -> 079ee3b), guix-commits, 2020/02/28
- 05/08: gnu: Add sbcl-clsql-sqlite3., guix-commits, 2020/02/28
- 06/08: gnu: Add sbcl-clsql-postgresql., guix-commits, 2020/02/28
- 02/08: gnu: Add cl-uffi., guix-commits, 2020/02/28
- 01/08: gnu: Add cl-cffi-uffi-compat., guix-commits, 2020/02/28
- 03/08: gnu: Add cl-clsql., guix-commits, 2020/02/28
- 04/08: gnu: Add sbcl-clsql-uffi., guix-commits, 2020/02/28
- 08/08: gnu: Add sbcl-clsql-mysql., guix-commits, 2020/02/28
- 07/08: gnu: Add sbcl-clsql-postgresql-socket3.,
guix-commits <=