unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59564] [PATCH] gnu: Add cl-system-load.
@ 2022-11-25  7:48 Paul A. Patience
  2022-11-25  9:36 ` bug#59564: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Paul A. Patience @ 2022-11-25  7:48 UTC (permalink / raw)
  To: 59564; +Cc: Paul A. Patience

* gnu/packages/lisp-xyz.scm (sbcl-system-load, cl-system-load,
ecl-system-load): New variables.
---
 gnu/packages/lisp-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 0416fc61ea..4b9462b08a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16736,6 +16736,35 @@ (define-public ecl-cl-cpus
 (define-public cl-cpus
   (sbcl-package->cl-source-package sbcl-cl-cpus))

+(define-public sbcl-system-load
+  (let ((commit "3ff1a40be55866cc5316ac7a530d872b12510294")
+        (revision "0"))
+    (package
+      (name "sbcl-system-load")
+      (version (git-version "1.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Shinmera/system-load")
+               (commit commit)))
+         (file-name (git-file-name "cl-system-load" version))
+         (sha256
+          (base32 "08d8kr8j5l2m8p69f47iklxhna394vx9mrys0sgplf5f2bqb7xcv"))))
+      (build-system asdf-build-system/sbcl)
+      (home-page "https://github.com/Shinmera/system-load")
+      (synopsis "Access system's CPU and memory usage from Common Lisp")
+      (description
+       "System-Load is a Common Lisp library for accessing the system's CPU and
+memory usage.")
+      (license license:zlib))))
+
+(define-public cl-system-load
+  (sbcl-package->cl-source-package sbcl-system-load))
+
+(define-public ecl-system-load
+  (sbcl-package->ecl-package sbcl-system-load))
+
 (define-public sbcl-fof
   (let ((commit "522879e7da110ecf2e841998b197b34062c54b29")
         (revision "1"))
--
2.38.0






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

end of thread, other threads:[~2022-11-25  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-25  7:48 [bug#59564] [PATCH] gnu: Add cl-system-load Paul A. Patience
2022-11-25  9:36 ` bug#59564: " 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).