mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: emacs-lsp-mode: Update to 9.0.0.
* gnu/packages/emacs-xyz.scm (emacs-lsp-mode): Update to 9.0.0. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Change-Id: Id36f74ddd423918bc564b54f4a3f6bf2a9406164
This commit is contained in:
parent
2974e17e78
commit
106c16fc8e
1 changed files with 42 additions and 44 deletions
|
@ -30678,53 +30678,51 @@ (define-public emacs-dockerfile-mode
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public emacs-lsp-mode
|
(define-public emacs-lsp-mode
|
||||||
(let ((commit "26c4d3e54ad2956623e64132312fe864274d346f")
|
(package
|
||||||
(revision "1"))
|
(name "emacs-lsp-mode")
|
||||||
(package
|
(version "9.0.0")
|
||||||
(name "emacs-lsp-mode")
|
(source
|
||||||
(version (git-version "8.0.1" revision commit))
|
(origin
|
||||||
(source
|
(method git-fetch)
|
||||||
(origin
|
(uri (git-reference
|
||||||
(method git-fetch)
|
(url "https://github.com/emacs-lsp/lsp-mode")
|
||||||
(uri (git-reference
|
(commit version)))
|
||||||
(url "https://github.com/emacs-lsp/lsp-mode")
|
(file-name (git-file-name name version))
|
||||||
(commit commit)))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32 "1p4979qbmllmmszmnyml0msxkza4pm14rdacmqczbfs3cs9n6bd3"))))
|
||||||
(sha256
|
(build-system emacs-build-system)
|
||||||
(base32 "0klnik69b5y6s2q00vyshxymlg7k4x9x6m7wpsf7z9w12qn27alx"))))
|
(arguments
|
||||||
(build-system emacs-build-system)
|
`(#:emacs ,emacs ;need libxml support
|
||||||
(arguments
|
#:phases
|
||||||
`(#:emacs ,emacs ;need libxml support
|
(modify-phases %standard-phases
|
||||||
#:phases
|
(add-after 'unpack 'move-clients-libraries
|
||||||
(modify-phases %standard-phases
|
;; Move all clients libraries at top-level, as is done, e.g., in
|
||||||
(add-after 'unpack 'move-clients-libraries
|
;; MELPA.
|
||||||
;; Move all clients libraries at top-level, as is done, e.g., in
|
(lambda _
|
||||||
;; MELPA.
|
(for-each (lambda (f)
|
||||||
(lambda _
|
(install-file f "."))
|
||||||
(for-each (lambda (f)
|
(find-files "clients/" "\\.el$"))))
|
||||||
(install-file f "."))
|
(add-before 'move-clients-libraries 'fix-patch-el-files
|
||||||
(find-files "clients/" "\\.el$"))))
|
;; /bin/ksh is only used on macOS, which we don't support, so we
|
||||||
(add-before 'move-clients-libraries 'fix-patch-el-files
|
;; don't want to add it as input.
|
||||||
;; /bin/ksh is only used on macOS, which we don't support, so we
|
(lambda _
|
||||||
;; don't want to add it as input.
|
(substitute* '("clients/lsp-csharp.el" "clients/lsp-fsharp.el")
|
||||||
(lambda _
|
(("/bin/ksh") "ksh")))))))
|
||||||
(substitute* '("clients/lsp-csharp.el" "clients/lsp-fsharp.el")
|
(propagated-inputs
|
||||||
(("/bin/ksh") "ksh")))))))
|
(list emacs-dash
|
||||||
(propagated-inputs
|
emacs-f
|
||||||
(list emacs-dash
|
emacs-ht
|
||||||
emacs-f
|
emacs-hydra
|
||||||
emacs-ht
|
emacs-markdown-mode
|
||||||
emacs-hydra
|
emacs-spinner))
|
||||||
emacs-markdown-mode
|
(home-page "https://emacs-lsp.github.io/lsp-mode/")
|
||||||
emacs-spinner))
|
(synopsis "Emacs client and library for the Language Server Protocol")
|
||||||
(home-page "https://emacs-lsp.github.io/lsp-mode/")
|
(description
|
||||||
(synopsis "Emacs client and library for the Language Server Protocol")
|
"LSP mode is a client and library implementation for the Language
|
||||||
(description
|
|
||||||
"LSP mode is a client and library implementation for the Language
|
|
||||||
Server Protocol. This mode creates an IDE-like experience by providing
|
Server Protocol. This mode creates an IDE-like experience by providing
|
||||||
optional integration with other popular Emacs packages like Company, Flycheck,
|
optional integration with other popular Emacs packages like Company, Flycheck,
|
||||||
and Projectile.")
|
and Projectile.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define* (%emacs-lsp-treemacs-upstream-source #:key commit version hash)
|
(define* (%emacs-lsp-treemacs-upstream-source #:key commit version hash)
|
||||||
(origin
|
(origin
|
||||||
|
|
Loading…
Reference in a new issue