summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2019-05-29 15:22:53 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2019-06-26 13:02:28 +0200
commit216dd6f6af4d3bffd8c20ae67b4cd15be1a82d43 (patch)
treeeaafee89d48059bb4914e30bc90bad626d3ef26a
parent5dffca33774b8c020e505d2293d8f86ad3169aa5 (diff)
gnu: Add sbcl-iolib.grovel.
* gnu/packages/lisp.scm (sbcl-iolib.grovel): New variable.
-rw-r--r--gnu/packages/lisp.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 4dc56ad80b..06c418f403 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -5792,3 +5792,25 @@ and @code{kqueue(2)}), a pathname library and file-system utilities.")
(arguments
'(#:asd-file "iolib.base.asd"))
(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")))