From 77a5461c31c5e53f23a9a3e90fd77d814fa24be6 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Fri, 19 Oct 2018 16:52:59 +0200 Subject: [PATCH] gnu: Add sbcl-cl-cffi-gtk-gobject. * gnu/packages/lisp.scm (sbcl-cl-cffi-gtk-gobject): New variable. --- gnu/packages/lisp.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 6ba678961c..6d945da557 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -3297,3 +3297,24 @@ is a library for creating graphical user interfaces.") (substitute* "glib/glib.init.lisp" (("libglib|libgthread" all) (string-append (assoc-ref inputs "glib") "/lib/" all)))))))))) + +(define-public sbcl-cl-cffi-gtk-gobject + (package + (inherit sbcl-cl-cffi-gtk-boot0) + (name "sbcl-cl-cffi-gtk-gobject") + (inputs + `(("glib" ,glib) + ("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib) + ("trivial-garbage" ,sbcl-trivial-garbage) + ("bordeaux-threads" ,sbcl-bordeaux-threads) + ("closer-mop" ,sbcl-closer-mop) + ,@(package-inputs sbcl-cl-cffi-gtk-boot0))) + (arguments + `(#:asd-file "gobject/cl-cffi-gtk-gobject.asd" + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "gobject/gobject.init.lisp" + (("libgobject" all) (string-append + (assoc-ref inputs "glib") "/lib/" all))))))))))