gnu: Add sbcl-iolib.grovel.

* gnu/packages/lisp.scm (sbcl-iolib.grovel): New variable.
This commit is contained in:
Pierre Neidhardt 2019-05-29 15:22:53 +02:00
parent 5dffca3377
commit 216dd6f6af
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 22 additions and 0 deletions

View File

@ -5792,3 +5792,25 @@ and @code{kqueue(2)}), a pathname library and file-system utilities.")
(arguments (arguments
'(#:asd-file "iolib.base.asd")) '(#:asd-file "iolib.base.asd"))
(synopsis "Base package for IOLib, a Common Lisp I/O library"))) (synopsis "Base package for IOLib, a Common Lisp I/O library")))
(define-public sbcl-iolib.grovel
(package
(inherit sbcl-iolib.asdf)
(name "sbcl-iolib.grovel")
(inputs
`(("iolib.asdf" ,sbcl-iolib.asdf)
("iolib.conf" ,sbcl-iolib.conf)
("iolib.base", sbcl-iolib.base)
("cffi", sbcl-cffi)))
(arguments
'(#:asd-file "iolib.grovel.asd"
#:phases
(modify-phases %standard-phases
(add-after 'install 'install-header
(lambda* (#:key outputs #:allow-other-keys)
;; This header is required by sbcl-iolib.
(install-file "src/grovel/grovel-common.h"
(string-append (assoc-ref outputs "out")
"/lib/sbcl"))
#t)))))
(synopsis "CFFI Groveller for IOLib, a Common Lisp I/O library")))