summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2021-03-11 21:25:21 +0000
committerGuillaume Le Vaillant <glv@posteo.net>2021-03-12 15:06:51 +0100
commit2e5ac371e799cb91354ffafaf8af2da37d11fa3f (patch)
tree19a0438490cf9a29ddeb6a43f470a5e8099681a4 /gnu
parent77ee8af58cbf9225961b891071e1f6838cb7fc65 (diff)
downloadguix-2e5ac371e799cb91354ffafaf8af2da37d11fa3f.tar.gz
gnu: Add sbcl-stumpwm-disk.
* gnu/packages/wm.scm: (sbcl-stumpwm-disk): New variable.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/wm.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index d6a967bece..9cab0cb3db 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2020,6 +2020,26 @@ layouts in StumpWM.")
     (description "Modeline support for CPU info.")
     (license license:gpl3+)))
 
+(define-public sbcl-stumpwm-disk
+  (package
+    (inherit stumpwm-contrib)
+    (name "sbcl-stumpwm-disk")
+    (arguments
+     '(#:asd-systems '("disk")
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'chdir
+           (lambda _ (chdir "modeline/disk") #t)))))
+    (inputs
+     `(("stumpwm" ,stumpwm "lib")
+       ("cl-diskspace" ,sbcl-cl-diskspace)
+       ("cl-mount-info" ,sbcl-cl-mount-info)))
+    (home-page "https://github.com/stumpwm/stumpwm-contrib")
+    (synopsis "StumpWM modeline support to show disk usage")
+    (description "StumpWM modeline support to show disk usage")
+    (license (list license:gpl2+ license:gpl3+))))
+
 (define-public sbcl-stumpwm-mem
   (package
     (inherit stumpwm-contrib)