mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: Add sbcl-clsql-postgresql.
* gnu/packages/lisp-xyz.scm (sbcl-clsql-postgresql): New variable.
This commit is contained in:
parent
5ad8d7aa12
commit
cd53df62c9
1 changed files with 21 additions and 0 deletions
|
@ -11107,3 +11107,24 @@ (define-public sbcl-clsql-sqlite3
|
|||
"/lib/libsqlite3")))
|
||||
#t))))))
|
||||
(synopsis "SQLite3 driver for Common Lisp SQL interface library")))
|
||||
|
||||
(define-public sbcl-clsql-postgresql
|
||||
(package
|
||||
(inherit sbcl-clsql)
|
||||
(name "sbcl-clsql-postgresql")
|
||||
(inputs
|
||||
`(("clsql" ,sbcl-clsql)
|
||||
("clsql-uffi" ,sbcl-clsql-uffi)
|
||||
("postgresql" ,postgresql)))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments sbcl-clsql)
|
||||
((#:phases phases '%standard-phases)
|
||||
`(modify-phases ,phases
|
||||
(add-after 'unpack 'fix-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "db-postgresql/postgresql-loader.lisp"
|
||||
(("libpq")
|
||||
(string-append (assoc-ref inputs "postgresql")
|
||||
"/lib/libpq")))
|
||||
#t))))))
|
||||
(synopsis "PostgreSQL driver for Common Lisp SQL interface library")))
|
||||
|
|
Loading…
Reference in a new issue