3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add sbcl-cl-cffi-gtk-cairo.

* gnu/packages/lisp.scm (sbcl-cl-cffi-gtk-cairo): New variable.
This commit is contained in:
Pierre Neidhardt 2018-10-19 16:53:38 +02:00
parent 867b3f4780
commit 7176fe7c32
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -3338,3 +3338,22 @@ is a library for creating graphical user interfaces.")
(("libgio" all)
(string-append
(assoc-ref inputs "glib") "/lib/" all))))))))))
(define-public sbcl-cl-cffi-gtk-cairo
(package
(inherit sbcl-cl-cffi-gtk-boot0)
(name "sbcl-cl-cffi-gtk-cairo")
(inputs
`(("cairo" ,cairo)
("cl-cffi-gtk-glib" ,sbcl-cl-cffi-gtk-glib)
,@(package-inputs sbcl-cl-cffi-gtk-boot0)))
(arguments
`(#:asd-file "cairo/cl-cffi-gtk-cairo.asd"
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "cairo/cairo.init.lisp"
(("libcairo" all)
(string-append
(assoc-ref inputs "cairo") "/lib/" all))))))))))