unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47079] [PATCH] gnu: Add disk (StumpWM module)
@ 2021-03-11 21:31 Sharlatan Hellseher
  2021-03-12 14:11 ` bug#47079: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Sharlatan Hellseher @ 2021-03-11 21:31 UTC (permalink / raw)
  To: 47079

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-gnu-add-disk-StumpWM-module.patch --]
[-- Type: text/x-patch, Size: 1433 bytes --]

From 9254875b7ac3559d76494e454bfa72d26c26ba9c Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#47079: [PATCH] gnu: Add disk (StumpWM module)
  2021-03-11 21:31 [bug#47079] [PATCH] gnu: Add disk (StumpWM module) Sharlatan Hellseher
@ 2021-03-12 14:11 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2021-03-12 14:11 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 47079-done

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Patch pushed as 2e5ac371e799cb91354ffafaf8af2da37d11fa3f.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-12 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 21:31 [bug#47079] [PATCH] gnu: Add disk (StumpWM module) Sharlatan Hellseher
2021-03-12 14:11 ` bug#47079: " Guillaume Le Vaillant

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).