guix-commits
[Top][All Lists]
Advanced

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

03/10: gnu: Add ecl-cl-postgres.


From: guix-commits
Subject: 03/10: gnu: Add ecl-cl-postgres.
Date: Tue, 1 Sep 2020 12:26:48 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit 257cf3e7dbc884073a6b9180e118280da9af70f8
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Tue Sep 1 13:50:26 2020 +0200

    gnu: Add ecl-cl-postgres.
    
    * gnu/packages/lisp-xyz.scm (ecl-cl-postgres): New variable.
---
 gnu/packages/lisp-xyz.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 103f0ad..cfac25e 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10916,6 +10916,19 @@ a PostgreSQL server over a socket.")))
 (define-public cl-postgres
   (sbcl-package->cl-source-package sbcl-cl-postgres))
 
+(define-public ecl-cl-postgres
+  (package
+    (inherit (sbcl-package->ecl-package sbcl-cl-postgres))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-ecl
+           (lambda _
+             (substitute* "cl-postgres.asd"
+               (("\\) \"usocket\"") " :ecl) \"usocket\""))
+             #t)))
+       #:tests? #f))))
+
 (define-public sbcl-simple-date-postgres-glue
   (package
     (inherit sbcl-simple-date)



reply via email to

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