summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMichal Atlas <michal_atlas+git@posteo.net>2023-11-24 17:07:09 +0000
committerGuillaume Le Vaillant <glv@posteo.net>2024-01-28 13:45:41 +0100
commitb0aa90afbb121cbe13d1e7bc790b98d8c6d4aa58 (patch)
tree6e2a35cddd146982919b88802b41f296b41b567e /gnu
parent661ed47475d70c75cef091da510c64c689781ad9 (diff)
downloadguix-b0aa90afbb121cbe13d1e7bc790b98d8c6d4aa58.tar.gz
gnu: Add cl-metering.
* gnu/packages/lisp-xyz.scm (sbcl-metering, ecl-metering, cl-metering): New
  variables.

Change-Id: I7bc9ec158f7c3eb97ba0386ee8dffeeca2274b31
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index ade0162cb5..ea364fdc3d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20641,6 +20641,37 @@ within your Lisp program, so you don't need to invoke a separate tool.")
 (define-public cl-alexa
   (sbcl-package->cl-source-package sbcl-alexa))
 
+(define-public sbcl-metering
+  (let ((commit "62dbaa5e8d29d2f213b881d740114941c2c3d1be")
+        (revision "0"))
+    (package
+      (name "sbcl-metering")
+      (version (git-version "3.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.common-lisp.net/dkochmanski/metering")
+               (commit commit)))
+         (file-name (git-file-name "cl-metering" version))
+         (sha256
+          (base32 "0jx3ypk8m815yp7208xkcxkvila847mvna25a2p22ihnj0ms9rn1"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-fiveam))
+      (synopsis "Common Lisp code profiling tool")
+      (description
+       "The Metering System is a portable Common Lisp code profiling tool.
+It gathers timing and consing statistics for specified functions while
+a program is running.")
+      (home-page "https://gitlab.common-lisp.net/dkochmanski/metering")
+      (license license:public-domain))))
+
+(define-public ecl-metering
+  (sbcl-package->ecl-package sbcl-metering))
+
+(define-public cl-metering
+  (sbcl-package->cl-source-package sbcl-metering))
+
 (define-public sbcl-messagebox
   (let ((commit "ea3688d9a9954bee7079c0173bc7b3f327021e9f")
         (revision "1"))