mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: Add sbcl-clsql-sqlite3.
* gnu/packages/lisp-xyz.scm (sbcl-clsql-sqlite3): New variable.
This commit is contained in:
parent
a5f4428770
commit
5ad8d7aa12
1 changed files with 21 additions and 0 deletions
|
@ -11086,3 +11086,24 @@ (define-public sbcl-clsql-uffi
|
|||
("clsql" ,sbcl-clsql)
|
||||
("uffi" ,sbcl-uffi)))
|
||||
(synopsis "UFFI helper functions for Common Lisp SQL interface library")))
|
||||
|
||||
(define-public sbcl-clsql-sqlite3
|
||||
(package
|
||||
(inherit sbcl-clsql)
|
||||
(name "sbcl-clsql-sqlite3")
|
||||
(inputs
|
||||
`(("clsql" ,sbcl-clsql)
|
||||
("clsql-uffi" ,sbcl-clsql-uffi)
|
||||
("sqlite" ,sqlite)))
|
||||
(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-sqlite3/sqlite3-loader.lisp"
|
||||
(("libsqlite3")
|
||||
(string-append (assoc-ref inputs "sqlite")
|
||||
"/lib/libsqlite3")))
|
||||
#t))))))
|
||||
(synopsis "SQLite3 driver for Common Lisp SQL interface library")))
|
||||
|
|
Loading…
Reference in a new issue