[bug#34587,3/3] gnu: Add emacs-lsp-ui.

Message ID 87sgwjt8e3.fsf@posteo.net
State Accepted
Headers show
Series [bug#34586,1/3] gnu: emacs-dash: Update to 2.15.0. | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed
cbaines/applying patch fail Apply failed

Commit Message

Brett Gilio Feb. 20, 2019, 4:02 a.m. UTC

Comments

Ricardo Wurmus March 14, 2019, 10:43 a.m. UTC | #1
Brett Gilio <brettg@posteo.net> writes:

> From a74523d0942cea6efb45eee3acd5e5609cb340c9 Mon Sep 17 00:00:00 2001
> From: Brett Gilio <brettg@posteo.net>
> Date: Tue, 19 Feb 2019 22:01:22 -0600
> Subject: [PATCH 3/3] gnu: Add emacs-lsp-ui.
>
> * gnu/packages/emacs-xyz.scm (emacs-lsp-ui): New variable.

Thanks.  I pushed it to the master branch with commit 209393a003.

Patch

From a74523d0942cea6efb45eee3acd5e5609cb340c9 Mon Sep 17 00:00:00 2001
From: Brett Gilio <brettg@posteo.net>
Date: Tue, 19 Feb 2019 22:01:22 -0600
Subject: [PATCH 3/3] gnu: Add emacs-lsp-ui.

* gnu/packages/emacs-xyz.scm (emacs-lsp-ui): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 51a3060a7..3bd15e795 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13186,3 +13186,29 @@  experience by providing optional integration with other popular Emacs packages
 like @code{company}, @code{flycheck}, and @code{projectile}.")
     (license license:gpl3+)))
 
+(define-public emacs-lsp-ui
+  (package
+    (name "emacs-lsp-ui")
+    (version "6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/emacs-lsp/lsp-ui.git")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1r4327fd8cvjxfwkddp5c4bdskyncbs4sx9m3z2w4d773y2jrakc"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-dash" ,emacs-dash)
+       ("emacs-lsp-mode" ,emacs-lsp-mode)
+       ("emacs-markdown-mode" ,emacs-markdown-mode)
+       ("emacs-flycheck" ,emacs-flycheck)))
+    (home-page "https://github.com/emacs-lsp/lsp-ui")
+    (synopsis "User interface extensions for @code{lsp-mode}")
+    (description
+     "@code{LSP-ui} contains several enhancements and integrations for
+@code{lsp-mode}, such as visual flychecking, displaying references in-line,
+and code peeking.")
+    (license license:gpl3+)))
-- 
2.20.1