gnu: emacs-dape: Update to 0.14.0.
* gnu/packages/emacs-xyz.scm (emacs-dape): Update to 0.14.0. Change-Id: I262ae61eaaf5a29ae114a058b51da5e1f1f07e8d
This commit is contained in:
parent
b4f3bb565b
commit
f284122832
1 changed files with 44 additions and 46 deletions
|
@ -31513,56 +31513,54 @@ in Docker environment.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+))))
|
||||||
|
|
||||||
(define-public emacs-dape
|
(define-public emacs-dape
|
||||||
(let ((commit "51fad7df7473778fbc4bac703317de7f7713b307")
|
(package
|
||||||
(revision "0"))
|
(name "emacs-dape")
|
||||||
(package
|
(version "0.14.0")
|
||||||
(name "emacs-dape")
|
(source
|
||||||
(version (git-version "0.12.0" revision commit))
|
(origin
|
||||||
(source
|
(method git-fetch)
|
||||||
(origin
|
(uri (git-reference
|
||||||
(method git-fetch)
|
(url "https://github.com/svaante/dape")
|
||||||
(uri (git-reference
|
(commit version)))
|
||||||
(url "https://github.com/svaante/dape")
|
(file-name (git-file-name name version))
|
||||||
(commit commit)))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32 "0227i5z9vkr2l9isrlssdwda844jvpcs4i9ryj0cwj6i60jbf1g3"))))
|
||||||
(sha256
|
(build-system emacs-build-system)
|
||||||
(base32 "1jics02b9fxjs0lykiv7z924z18id550mqhf6piqzv0sgan91pg2"))))
|
(arguments
|
||||||
(build-system emacs-build-system)
|
;; FIXME python tests pass, JS tests require additional dependencies
|
||||||
(arguments
|
;; See https://lists.sr.ht/~abcdw/rde-devel/patches/51878
|
||||||
;; FIXME python tests pass, JS tests require additional dependencies
|
(list #:tests? #f
|
||||||
;; See https://lists.sr.ht/~abcdw/rde-devel/patches/51878
|
#:test-command #~'("emacs" "--batch" "-l" "dape.el"
|
||||||
(list #:tests? #f
|
"-l" "dape-tests.el"
|
||||||
#:test-command #~'("emacs" "--batch" "-l" "dape.el"
|
"-f" "ert-run-tests-batch-and-exit")
|
||||||
"-l" "dape-tests.el"
|
#:phases
|
||||||
"-f" "ert-run-tests-batch-and-exit")
|
#~(modify-phases %standard-phases
|
||||||
#:phases
|
(add-after 'unpack 'support-unwrapped-python
|
||||||
#~(modify-phases %standard-phases
|
(lambda _
|
||||||
(add-after 'unpack 'support-unwrapped-python
|
(substitute* "dape.el"
|
||||||
(lambda _
|
(("command \"python\"")
|
||||||
(substitute* "dape.el"
|
"command \"python3\""))))
|
||||||
(("command \"python\"")
|
(add-before 'check 'pre-check
|
||||||
"command \"python3\""))))
|
(lambda* (#:key tests? inputs #:allow-other-keys)
|
||||||
(add-before 'check 'pre-check
|
(if tests?
|
||||||
(lambda* (#:key tests? inputs #:allow-other-keys)
|
(setenv
|
||||||
(if tests?
|
"PATH"
|
||||||
(setenv
|
(string-append
|
||||||
"PATH"
|
(getenv "PATH")
|
||||||
(string-append
|
":" (dirname (search-input-file inputs "/bin/python3"))
|
||||||
(getenv "PATH")
|
":" (dirname (search-input-file inputs "/bin/node"))))
|
||||||
":" (dirname (search-input-file inputs "/bin/python3"))
|
(format #t "test suite not run~%")))))))
|
||||||
":" (dirname (search-input-file inputs "/bin/node"))))
|
(native-inputs (list node-lts python-minimal python-debugpy))
|
||||||
(format #t "test suite not run~%")))))))
|
(propagated-inputs (list emacs-jsonrpc))
|
||||||
(native-inputs (list node-lts python-minimal python-debugpy))
|
(home-page "https://github.com/svaante/dape")
|
||||||
(propagated-inputs (list emacs-jsonrpc))
|
(synopsis "Debug Adapter Protocol for Emacs")
|
||||||
(home-page "https://github.com/svaante/dape")
|
(description
|
||||||
(synopsis "Debug Adapter Protocol for Emacs")
|
"Dape is a debug adapter client for Emacs. The debug adapter protocol,
|
||||||
(description
|
|
||||||
"Dape is a debug adapter client for Emacs. The debug adapter protocol,
|
|
||||||
much like its more well-known counterpart, the language server protocol,
|
much like its more well-known counterpart, the language server protocol,
|
||||||
aims to establish a common API for programming tools. However, instead of
|
aims to establish a common API for programming tools. However, instead of
|
||||||
functionalities such as code completions, it provides a standardized
|
functionalities such as code completions, it provides a standardized
|
||||||
interface for debuggers.")
|
interface for debuggers.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-dap-mode
|
(define-public emacs-dap-mode
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue