mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 23:28:29 +01:00
gnu: Add ruby-language-server-protocol.
* gnu/packages/ruby.scm (ruby-language-server-protocol): New variable.
This commit is contained in:
parent
99edfc3995
commit
c6e298ba67
1 changed files with 38 additions and 0 deletions
|
@ -11758,6 +11758,44 @@ (define-public ruby-sprockets
|
||||||
(home-page "https://github.com/rails/sprockets")
|
(home-page "https://github.com/rails/sprockets")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ruby-language-server-protocol
|
||||||
|
(package
|
||||||
|
(name "ruby-language-server-protocol")
|
||||||
|
(version "3.17.0.3")
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch) ;for tests
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/mtsmfm/language_server-protocol-ruby")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0f2g301fz99c6nkca39s9227brlycznv8a9r4b4i99rg25m91lc6"))))
|
||||||
|
(build-system ruby-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'replace-git-ls-files
|
||||||
|
(lambda _
|
||||||
|
(substitute* "language_server-protocol.gemspec"
|
||||||
|
(("git ls-files -z([^`]*)" _ files)
|
||||||
|
(string-append "find " files
|
||||||
|
" -type f -not -regex '.*\\.gem$'"
|
||||||
|
" -print0 | sort -z"))))))))
|
||||||
|
(native-inputs
|
||||||
|
(list ruby-activesupport
|
||||||
|
ruby-benchmark-ips
|
||||||
|
ruby-m
|
||||||
|
ruby-minitest
|
||||||
|
ruby-minitest-power-assert
|
||||||
|
ruby-pry-byebug))
|
||||||
|
(synopsis "Language Server Protocol (LSP) development kit for Ruby")
|
||||||
|
(description "This package provides a Language Server Protocol (LSP)
|
||||||
|
development kit for Ruby.")
|
||||||
|
(home-page "https://github.com/mtsmfm/language_server-protocol-ruby")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public ruby-mustache
|
(define-public ruby-mustache
|
||||||
(package
|
(package
|
||||||
(name "ruby-mustache")
|
(name "ruby-mustache")
|
||||||
|
|
Loading…
Reference in a new issue