summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-09-05 11:28:09 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2020-09-05 11:28:09 +0200
commit4daa12182d65ced4a7471e8bcdc17c0ea75c4326 (patch)
treed78c6c3037e635c30d4257bed93e8d1f828388d8
parent300b683ff98961c422e003de7caf08147a528f4a (diff)
downloadguix-4daa12182d65ced4a7471e8bcdc17c0ea75c4326.tar.gz
gnu: Add sbcl-clim-examples.
* gnu/packages/lisp-xyz.scm (sbcl-clim-examples): New variable.
-rw-r--r--gnu/packages/lisp-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 7712c27ee6..64d4828986 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -13469,6 +13469,29 @@ specification}, a toolkit for writing GUIs in Common Lisp.")
                 "mcclim-test-util"))
              #t)))))))
 
+(define-public sbcl-clim-examples
+  (package
+    (inherit sbcl-clim-lisp)
+    (name "sbcl-clim-examples")
+    (inputs
+     `(("alexandria" ,sbcl-alexandria)
+       ("closer-mop" ,sbcl-closer-mop)
+       ("mcclim" ,sbcl-mcclim)
+       ("mcclim-bezier" ,sbcl-mcclim-bezier)
+       ("mcclim-layouts-tab" ,sbcl-mcclim-layouts-tab)
+       ("mcclim-raster-image" ,sbcl-mcclim-raster-image)
+       ("swank" ,cl-slime-swank))) ; For drei-mcclim
+    (arguments
+     '(#:asd-file "Examples/clim-examples.asd"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-asd-system-names
+           (lambda _
+             (substitute* "Examples/clim-examples.asd"
+               (("mcclim-layouts/tab")
+                "mcclim-layouts-tab"))
+             #t)))))))
+
 (define-public sbcl-cl-inflector
   (let ((commit "f1ab16919ccce3bd82a0042677d9616dde2034fe")
         (revision "1"))