summary refs log tree commit diff
diff options
context:
space:
mode:
authorStephen Webber <montokapro@gmail.com>2022-02-26 19:36:27 -0600
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-02-28 11:11:27 +0100
commit05786d6299e499d24d556bdeb1025be3f2af2a53 (patch)
treefd1ebf85f8dae9e0b7cb824bcd2eb8d79101169b
parente2d26ed0616d107c9c507e16fe82d0936bae4805 (diff)
downloadguix-05786d6299e499d24d556bdeb1025be3f2af2a53.tar.gz
gnu: Add emacs-lsp-metals.
* gnu/packages/emacs-xyz.scm (emacs-lsp-metals): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/emacs-xyz.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ef98088100..3bf1340e13 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24627,6 +24627,28 @@ files in Elisp.")
     (description "Emacs Java IDE using Eclipse JDT Language Server.")
     (license license:gpl3+)))
 
+(define-public emacs-lsp-metals
+  (package
+    (name "emacs-lsp-metals")
+    (version "1.2.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/emacs-lsp/lsp-metals")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0ca5xq1l3lscx36pcdnpy2axgyikjrl18naqr140kr1y500sy37s"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     (list emacs-dap-mode emacs-lsp-treemacs emacs-scala-mode))
+    (home-page "https://github.com/emacs-lsp/lsp-metals")
+    (synopsis "Scala support for LSP mode")
+    (description "This package is an Emacs Scala IDE using LSP mode to connect
+to Metals.")
+    (license license:gpl3+)))
+
 (define-public emacs-lsp-ui
   (package
     (name "emacs-lsp-ui")