gnu: Add sbcl-cffi-grovel.
* gnu/packages/lisp.scm (sbcl-cffi-grovel): New variable.
This commit is contained in:
parent
9eea4e0302
commit
d3142f2ffb
|
@ -2994,3 +2994,23 @@ package.")
|
||||||
("cffi-grovel" ,sbcl-cffi-grovel)
|
("cffi-grovel" ,sbcl-cffi-grovel)
|
||||||
("trivial-features" ,sbcl-trivial-features)
|
("trivial-features" ,sbcl-trivial-features)
|
||||||
("libffi" ,libffi)))))
|
("libffi" ,libffi)))))
|
||||||
|
|
||||||
|
(define-public sbcl-cffi-grovel
|
||||||
|
(package
|
||||||
|
(inherit sbcl-cffi-toolchain)
|
||||||
|
(name "sbcl-cffi-grovel")
|
||||||
|
(inputs
|
||||||
|
`(("libffi" ,libffi)
|
||||||
|
("cffi" ,sbcl-cffi-bootstrap)
|
||||||
|
("cffi-toolchain" ,sbcl-cffi-toolchain)
|
||||||
|
("alexandria" ,sbcl-alexandria)))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments sbcl-cffi-toolchain)
|
||||||
|
((#:phases phases)
|
||||||
|
`(modify-phases ,phases
|
||||||
|
(add-after 'build 'install-headers
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(install-file "grovel/common.h"
|
||||||
|
(string-append
|
||||||
|
(assoc-ref outputs "out")
|
||||||
|
"/include/grovel"))))))))))
|
||||||
|
|
Loading…
Reference in New Issue