From 1c87d1507a4a92818b9868e56d4195a63932ae1e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 25 May 2023 21:37:48 +0200 Subject: gnu: Add emacs-tree-inspector. * gnu/packages/emacs-xyz.scm (emacs-tree-inspector): New variable. --- gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/emacs-xyz.scm') diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 0ea9732bfa..469028b69b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -768,6 +768,38 @@ (define-public emacs-inspector Common Lisp or Smalltalk, but for Emacs Lisp.") (license license:gpl3+)))) +(define-public emacs-tree-inspector + (let ((commit "495ef1874fba9d75842087f4acf0ebd75cf09e97")) + (package + (name "emacs-tree-inspector") + (version "0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mmontone/emacs-tree-inspector") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "011pk5gr2j9m4qnv70qz63bh58ga72nqahv0zkf2qpbr2a5df09c")))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #true + #:test-command #~(list "emacs" "-Q" "--batch" + "-L" "." + "-l" "tree-inspector-tests.el" + "-f" "ert-run-tests-batch-and-exit"))) + (propagated-inputs (list emacs-treeview)) + (home-page "https://github.com/mmontone/emacs-tree-inspector") + (synopsis "Inspection tool for Emacs Lisp objects that uses a tree view") + (description + "Tree Inspector is an inspection tool for Emacs Lisp objects that uses +a tree view. It works together with Emacs Inspector when it is loaded; when +an object label is clicked on the tree, an inspector is opened on that +object.") + (license license:gpl3+)))) + (define-public emacs-terminal-here (package (name "emacs-terminal-here") -- cgit v1.2.3