diff options
author | Pierre Neidhardt <mail@ambrevar.xyz> | 2018-10-02 19:59:19 +0200 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2018-10-19 17:56:36 +0200 |
commit | d3142f2ffbb53f511538d3b1517f34b0e17d6414 (patch) | |
tree | cbd0175b0d9f79fb4741884f095790172335b8ac /gnu | |
parent | 9eea4e03028f0aaed9ef4a0d371601fff622ebd4 (diff) | |
download | patches-d3142f2ffbb53f511538d3b1517f34b0e17d6414.tar patches-d3142f2ffbb53f511538d3b1517f34b0e17d6414.tar.gz |
gnu: Add sbcl-cffi-grovel.
* gnu/packages/lisp.scm (sbcl-cffi-grovel): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/lisp.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 6608413fd0..c2ec5e5acc 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -2994,3 +2994,23 @@ package.") ("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")))))))))) |