summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorKatherine Cox-Buday <cox.katherine.e@gmail.com>2020-01-03 11:41:22 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-01-03 20:45:41 +0100
commit29411ae4f78329043d8d7946ab821b24a55fbb43 (patch)
treeabcd588d09c73cd8b42c76789957015e8e548c03 /gnu
parent20972e4e5ec145835835ad7d789ce11b550f04e5 (diff)
downloadguix-29411ae4f78329043d8d7946ab821b24a55fbb43.tar.gz
gnu: Add foreign-array.
* gnu/packages/lisp-xyz.scm (sbcl-foreign-array, cl-foreign-array,
  ecl-foreign-array): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index a11774a485..6b1da4d4e7 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -7483,3 +7483,24 @@ computer known.")
 
 (define-public ecl-antik-base
   (sbcl-package->ecl-package sbcl-antik-base))
+
+(define-public sbcl-foreign-array
+  (package
+    (inherit sbcl-antik-base)
+    (name "sbcl-foreign-array")
+    (arguments
+     (substitute-keyword-arguments (package-arguments sbcl-antik-base)
+       ((#:asd-file _ "") "foreign-array.asd")
+       ((#:asd-system-name _ #f) "foreign-array")))
+    (inputs
+     `(("antik-base" ,sbcl-antik-base)
+       ("cffi" ,sbcl-cffi)
+       ("trivial-garbage" ,sbcl-trivial-garbage)
+       ("static-vectors" ,sbcl-static-vectors)))
+    (synopsis "Common Lisp library providing access to foreign arrays")))
+
+(define-public cl-foreign-array
+  (sbcl-package->cl-source-package sbcl-foreign-array))
+
+(define-public ecl-foreign-array
+  (sbcl-package->ecl-package sbcl-foreign-array))