[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: Add emacs-realgud.
From: |
Ludovic Courtès |
Subject: |
08/08: gnu: Add emacs-realgud. |
Date: |
Mon, 5 Feb 2018 10:56:26 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit b1968d86b9bc838d95be4745f53c63493920ae3a
Author: Maxim Cournoyer <address@hidden>
Date: Sun Feb 4 22:04:50 2018 -0500
gnu: Add emacs-realgud.
* gnu/packages/emacs.scm (emacs-realgud): New public variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/emacs.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index b4f866f..18f457a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3230,6 +3230,63 @@ another (presumably currently running) Emacs Lisp file.")
after buffer changes.")
(license license:gpl3+)))
+(define-public emacs-realgud
+ (package
+ (name "emacs-realgud")
+ (version "1.4.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://elpa.gnu.org/packages/realgud-"
+ version ".tar"))
+ (sha256
+ (base32
+ "1nc8km339ip90h1j55ahfga03v7x7rh4iycmw6yrxyzir68vwn7c"))))
+ (build-system emacs-build-system)
+ (arguments
+ `(#:tests? #t
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-autogen-script
+ (lambda _
+ (substitute* "autogen.sh"
+ (("./configure") "sh configure"))))
+ (add-after 'fix-autogen-script 'autogen
+ (lambda _
+ (setenv "CONFIG_SHELL" "sh")
+ (invoke "sh" "autogen.sh")))
+ (add-after 'fix-autogen-script 'set-home
+ (lambda _
+ (setenv "HOME" (getenv "TMPDIR"))))
+ (add-before 'patch-el-files 'remove-realgud-pkg.el
+ (lambda _
+ ;; XXX: This file is auto-generated at some point and causes
+ ;; substitute* to crash during the `patch-el-files' phase with:
+ ;; ERROR: In procedure stat: No such file or directory:
+ ;; "./realgud-pkg.el"
+ (delete-file "./realgud-pkg.el")
+ ;; FIXME: `patch-el-files' crashes on this file with error:
+ ;; unable to locate "bashdb".
+ (delete-file "./test/test-regexp-bashdb.el"))))
+ #:include (cons* ".*\\.el$" %default-include)))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("emacs-test-simple" ,emacs-test-simple)))
+ (propagated-inputs
+ `(("emacs-load-relative" ,emacs-load-relative)
+ ("emacs-loc-changes" ,emacs-loc-changes)))
+ (home-page "https://github.com/realgud/realgud/")
+ (synopsis
+ "Modular front-end for interacting with external debuggers")
+ (description
+ "RealGUD is a modular, extensible GNU Emacs front-end for interacting
+with external debuggers. It integrates various debuggers such as gdb, pdb,
+ipdb, jdb, lldb, bashdb, zshdb, etc. and allows to visually step code in the
+sources. Unlike GUD, it also supports running multiple debug sessions in
+parallel.")
+ (license license:gpl3+)))
+
(define-public emacs-request
(package
(name "emacs-request")
- branch master updated (76dbb75 -> b1968d8), Ludovic Courtès, 2018/02/05
- 07/08: gnu: Add emacs-loc-changes., Ludovic Courtès, 2018/02/05
- 03/08: emacs-build-system: Reinstate the check phase., Ludovic Courtès, 2018/02/05
- 01/08: doc: Document the 'upstream-name' property., Ludovic Courtès, 2018/02/05
- 02/08: emacs-build-system: Add set-emacs-load-path phase., Ludovic Courtès, 2018/02/05
- 05/08: gnu: Add emacs-test-simple., Ludovic Courtès, 2018/02/05
- 04/08: emacs-build-system: Do not patch files containing NULs., Ludovic Courtès, 2018/02/05
- 06/08: gnu: Add emacs-load-relative., Ludovic Courtès, 2018/02/05
- 08/08: gnu: Add emacs-realgud.,
Ludovic Courtès <=