summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-02-22 19:31:15 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-02-22 19:31:15 +0100
commitc07f499345262888af1766ba4eba4ad2bb3658f2 (patch)
treefcd4d8d48df12aca8228452e18d6bcf28c162ddb
parentfac2e1a110ed4b8cbbb74cd4cea476347ec7e44c (diff)
downloadguix-c07f499345262888af1766ba4eba4ad2bb3658f2.tar.gz
gnu: Add r-languageserver.
* gnu/packages/statistics.scm (r-languageserver): New variable.
-rw-r--r--gnu/packages/statistics.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index bfb13600c1..bf384726de 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6160,6 +6160,45 @@ structure, and allows relevant features to be embedded directly onto the
 visualization, facilitating interpretation of the data.")
       (license license:gpl2))))
 
+(define-public r-languageserver
+  (let ((commit "004da9388f9b19990f031c8dc9b527fb406378ba")
+        (revision "1"))
+    (package
+      (name "r-languageserver")
+      (version (git-version "0.3.12" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/REditorSupport/languageserver")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "05f22bjpc87fngzq4jsk2q2yb2i3ha03b377r0wx15d0b8xaa1ix"))))
+      (properties `((upstream-name . "languageserver")))
+      (build-system r-build-system)
+      (propagated-inputs
+       (list r-callr
+             r-collections
+             r-fs
+             r-jsonlite
+             r-lintr
+             r-r6
+             r-roxygen2
+             r-stringi
+             r-styler
+             r-xml2
+             r-xmlparsedata))
+      (home-page "https://github.com/REditorSupport/languageserver")
+      (synopsis "Language Server for R")
+      (description
+       "This package provides an implementation of the Language Server
+Protocol for R.  The
+@url{https://microsoft.github.io/language-server-protocol/,Language Server
+protocol} is used by an editor client to integrate features like auto
+completion.")
+      (license license:expat))))
+
 (define-public python-rpy2
   (package
     (name "python-rpy2")