guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add trivial-custom-debugger.


From: guix-commits
Subject: branch master updated: gnu: Add trivial-custom-debugger.
Date: Tue, 19 Jul 2022 00:38:49 -0400

This is an automated email from the git hooks/post-receive script.

ambrevar pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d519305d83 gnu: Add trivial-custom-debugger.
d519305d83 is described below

commit d519305d83d08058e4def2c4d72fe62102d9599d
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Tue Jul 19 06:35:32 2022 +0200

    gnu: Add trivial-custom-debugger.
    
    * gnu/packages/lisp-xyz.scm (cl-trivial-custom-debugger,
    ecl-trivial-custom-debugger, sbcl-trivial-custom-debugger): New variables.
---
 gnu/packages/lisp-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 129b99e485..f0dad37640 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22675,3 +22675,39 @@ between Lisp objects and some binary (i.e. 
octet-based) representation.")
 
 (define-public ecl-binary-types
   (sbcl-package->ecl-package sbcl-binary-types))
+
+(define-public sbcl-trivial-custom-debugger
+  (let ((commit "a560594a673bbcd88136af82086107ee5ff9ca81"))
+    (package
+      (name "sbcl-trivial-custom-debugger")
+      (version (git-version "1.0.0" "1" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/phoe/trivial-custom-debugger";)
+               (commit commit)))
+         (file-name (git-file-name "trivial-custom-debugger" version))
+         (sha256
+          (base32 "1iri5wsp9sc1f5q934cj87zd79r5dc8fda0gl7x1pz95v0wx28yk"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs
+       (list sbcl-parachute))
+      (home-page "https://github.com/phoe/trivial-custom-debugger/";)
+      (synopsis "Allow arbitrary functions as the standard Lisp debugger")
+      (description
+       "This is a portability library that allows one to fully override the
+standard debugger provided by their Common Lisp system for situations where
+binding @code{*debugger-hook*} is not enough -- most notably, for
+@code{break}.")
+      (license license:expat))))
+
+(define-public cl-trivial-custom-debugger
+  (sbcl-package->cl-source-package sbcl-trivial-custom-debugger))
+
+(define-public ecl-trivial-custom-debugger
+  (package
+    (inherit (sbcl-package->ecl-package sbcl-trivial-custom-debugger))
+    (arguments
+     ;; Tests fail on ECL: 
https://github.com/phoe/trivial-custom-debugger/issues/3
+     '(#:tests? #f))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]