diff options
author | Paul A. Patience <paul@apatience.com> | 2022-11-25 07:48:02 +0000 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-11-25 10:28:29 +0100 |
commit | d0b4baf51f8a3b79923de5348f3d4a5cdf164e33 (patch) | |
tree | e4fa112c97cc35cf839451c59d7cda03166aca72 | |
parent | 13eafd67301b37b6490d666c4f78d6c26337c052 (diff) | |
download | guix-d0b4baf51f8a3b79923de5348f3d4a5cdf164e33.tar.gz |
gnu: Add cl-system-load.
* gnu/packages/lisp-xyz.scm (sbcl-system-load, cl-system-load, ecl-system-load): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 56178a82cd..ad2da5fa82 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -16966,6 +16966,35 @@ return the CPU count of the current system.") (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")) |