mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: Add sbcl-cffi-grovel.
* gnu/packages/lisp.scm (sbcl-cffi-grovel): New variable.
This commit is contained in:
parent
9eea4e0302
commit
d3142f2ffb
1 changed files with 20 additions and 0 deletions
|
@ -2994,3 +2994,23 @@ (define-public sbcl-cffi-libffi
|
|||
("cffi-grovel" ,sbcl-cffi-grovel)
|
||||
("trivial-features" ,sbcl-trivial-features)
|
||||
("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 a new issue