Subject: bug#59564: closed (Re: [bug#59564] [PATCH] gnu: Add cl-system-load.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 25 Nov 2022 09:38:01 +0000

Your bug report

#59564: [PATCH] gnu: Add cl-system-load.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
59564: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59564
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#59564] [PATCH] gnu: Add cl-system-load.
From: Guillaume Le Vaillant <[email-masked]>
To: "Paul A. Patience" <[email-masked]>
Cc: [email-masked]
Date: Fri, 25 Nov 2022 09:36:56 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch pushed as d0b4baf51f8a3b79923de5348f3d4a5cdf164e33.
Thanks.

Subject: [PATCH] gnu: Add cl-system-load.
From: "Paul A. Patience" <[email-masked]>
To: [email-masked]
Cc: "Paul A. Patience" <[email-masked]>
Date: Fri, 25 Nov 2022 07:48:02 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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