gnu: emacs-lsp-mode: Update to 8.0.1-0.4aafe25.

* gnu/packages/emacs-xyz.scm (emacs-lsp-mode): Update to 8.0.1-0.4aafe25.
[arguments]: Add a 'fix-patch-el-files' phase.
This commit is contained in:
Clément Lassieur 2022-06-15 15:06:07 +02:00
parent a431d1dbc5
commit 673983c9c6
No known key found for this signature in database
GPG key ID: 89F96D4808F359C7

View file

@ -24930,18 +24930,20 @@ the standard @code{Dockerfile} file format.")
(license license:asl2.0))) (license license:asl2.0)))
(define-public emacs-lsp-mode (define-public emacs-lsp-mode
(let ((commit "4aafe25e03ab7470b8d3c1cb326affa3c5e9930e")
(revision "0"))
(package (package
(name "emacs-lsp-mode") (name "emacs-lsp-mode")
(version "8.0.0") (version (git-version "8.0.1" revision commit))
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/emacs-lsp/lsp-mode") (url "https://github.com/emacs-lsp/lsp-mode")
(commit version))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1a6jc9sxf9b8fj9h8xlv5k546bkzsy8j5nj19cfama389z0bzcsl")))) (base32 "01csz4vr3fg1q2py45mxj5j8bkvckn3daam1jafb2gg9gjc9bp7z"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
`(#:emacs ,emacs ;need libxml support `(#:emacs ,emacs ;need libxml support
@ -24953,7 +24955,13 @@ the standard @code{Dockerfile} file format.")
(lambda _ (lambda _
(for-each (lambda (f) (for-each (lambda (f)
(install-file f ".")) (install-file f "."))
(find-files "clients/" "\\.el$"))))))) (find-files "clients/" "\\.el$"))))
(add-before 'move-clients-libraries 'fix-patch-el-files
;; /bin/ksh is only used on macOS, which we don't support, so we
;; don't want to add it as input.
(lambda _
(substitute* '("clients/lsp-csharp.el" "clients/lsp-fsharp.el")
(("/bin/ksh") "ksh")))))))
(propagated-inputs (propagated-inputs
(list emacs-dash (list emacs-dash
emacs-f emacs-f
@ -24964,11 +24972,11 @@ the standard @code{Dockerfile} file format.")
(home-page "https://emacs-lsp.github.io/lsp-mode/") (home-page "https://emacs-lsp.github.io/lsp-mode/")
(synopsis "Emacs client and library for the Language Server Protocol") (synopsis "Emacs client and library for the Language Server Protocol")
(description (description
"LSP mode is a client and library implementation for the Language Server "LSP mode is a client and library implementation for the Language
Protocol. This mode creates an IDE-like experience by providing optional Server Protocol. This mode creates an IDE-like experience by providing
integration with other popular Emacs packages like Company, Flycheck, and optional integration with other popular Emacs packages like Company, Flycheck,
Projectile.") and Projectile.")
(license license:gpl3+))) (license license:gpl3+))))
(define-public emacs-lsp-treemacs (define-public emacs-lsp-treemacs
(package (package