From 9254875b7ac3559d76494e454bfa72d26c26ba9c Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 11 Mar 2021 21:25:21 +0000 Subject: [PATCH] gnu: add disk (StumpWM module) * gnu/packages/wm.scm: (stcl-stumpwm-disk): New variable --- gnu/packages/wm.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index d6a967bece..1d89b23e4a 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+ license:bsd-2)))) + (define-public sbcl-stumpwm-mem (package (inherit stumpwm-contrib) -- 2.29.2