summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-10-19 16:54:46 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2018-10-19 17:56:38 +0200
commitc80dfee9f18aaba422ba0ad45aa3aeb17b789fa1 (patch)
tree3a5a5003c731b81e588db7d5a4c792ab509b6a0a /gnu/packages
parent7b5b8c44050c459eb94998ac6a0ece204bcc5a04 (diff)
downloadguix-c80dfee9f18aaba422ba0ad45aa3aeb17b789fa1.tar.gz
gnu: Add sbcl-cl-cffi-gtk.
* gnu/packages/lisp.scm (sbcl-cl-cffi-gtk): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/lisp.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index ac1d4a432f..68927971b5 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -3424,3 +3424,22 @@ is a library for creating graphical user interfaces.")
                (("libgtk" all)
                 (string-append
                  (assoc-ref inputs "gtk") "/lib/" all))))))))))
+
+(define-public sbcl-cl-cffi-gtk
+  (package
+    (inherit sbcl-cl-cffi-gtk-boot0)
+    (name "sbcl-cl-cffi-gtk")
+    (inputs
+     `(("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
+       ("cl-cffi-gtk-gobject" ,sbcl-cl-cffi-gtk-gobject)
+       ("cl-cffi-gtk-gio" ,sbcl-cl-cffi-gtk-gio)
+       ("cl-cffi-gtk-gdk" ,sbcl-cl-cffi-gtk-gdk)
+       ,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
+    (native-inputs
+     `(("fiveam" ,sbcl-fiveam)))
+    (arguments
+     `(#:asd-file "gtk/cl-cffi-gtk.asd"
+       #:test-asd-file "test/cl-cffi-gtk-test.asd"
+       ;; TODO: Tests fail with memory fault.
+       ;; See https://github.com/Ferada/cl-cffi-gtk/issues/24.
+       #:tests? #f))))