From a9e2de7e3a5e773f2ce35c30c22b62bac18423c4 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Tue, 13 Aug 2019 23:45:29 +0200 Subject: gnu: Add ruby-solargraph. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/ruby.scm (ruby-solargraph): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/ruby.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 63b3facd29..ef9792bc0f 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -8871,3 +8871,56 @@ application.") (home-page "https://github.com/xijo/reverse_markdown") (license license:wtfpl2))) +(define-public ruby-solargraph + (package + (name "ruby-solargraph") + (version "0.36.0") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "solargraph" version)) + (sha256 + (base32 + "0b93xzkgd1h06da9gdnwivj1mzbil8lc072y2838dy6i7bxgpy9i")))) + (build-system ruby-build-system) + (propagated-inputs + `(("ruby-backport" ,ruby-backport) + ("bundler" ,bundler) + ("ruby-htmlentities" ,ruby-htmlentities) + ("ruby-jaro-winkler" ,ruby-jaro-winkler) + ("ruby-maruku" ,ruby-maruku) + ("ruby-nokogiri" ,ruby-nokogiri) + ("ruby-parser" ,ruby-parser) + ("ruby-reverse-markdown" ,ruby-reverse-markdown) + ("ruby-rubocop" ,ruby-rubocop) + ("ruby-thor" ,ruby-thor) + ("ruby-tilt" ,ruby-tilt) + ("ruby-yard" ,ruby-yard))) + (native-inputs + `(("ruby-rspec" ,ruby-rspec) + ("ruby-pry" ,ruby-pry) + ("ruby-simplecov" ,ruby-simplecov) + ("ruby-webmock" ,ruby-webmock-2))) + ;; FIXME: can't figure out how to run the tests properly: + + ;; An error occurred while loading spec_helper. + ;; Failure/Error: return gem_original_require(path) + ;; LoadError: + ;; cannot load such file -- spec_helper + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "rspec")) + #t))))) + (synopsis + "IDE tools for code completion, inline documentation, and static analysis") + (description + "Solargraph provides a comprehensive suite of tools for Ruby +programming: intellisense, diagnostics, inline documentation, and type +checking.") + (home-page "https://solargraph.org/") + (license license:expat))) -- cgit v1.2.3 > 2015-11-23Thank Jan.Ludovic Courtès 2015-11-17Thank Chris.Ludovic Courtès 2015-10-09Thank Chris.Ludovic Courtès 2015-09-20Thank Petter.Ludovic Courtès 2015-08-27Thank Eric Hanchrow.Ludovic Courtès 2015-07-23Thank Anders.Ludovic Courtès 2015-07-22Thank Malcolm.Ludovic Courtès 2015-07-22Thank Dave.Ludovic Courtès 2015-07-04Clean up 'THANKS' and 'AUTHORS'....Alex Kost 2015-06-07Thank Thomas.Ludovic Courtès 2015-05-01Thank Joshua.Ludovic Courtès 2015-04-14Thank Pjotr.Ludovic Courtès 2015-02-24Thank Daniel.Ludovic Courtès 2015-02-07Thank Andrei.Ludovic Courtès 2015-01-28Thank Amirouche.Ludovic Courtès 2014-12-09Thank rekado.Ludovic Courtès 2014-11-28Add (guix elf)....Ludovic Courtès 2014-11-17Thank Bruno.Ludovic Courtès 2014-11-13doc: Improve acknowledgments....Ludovic Courtès 2014-11-11Thank Sylvain.Ludovic Courtès 2014-11-10Thank Philip Woods.Ludovic Courtès 2014-11-08Thank Felipe.Ludovic Courtès 2014-08-31Thank Frederico.Ludovic Courtès 2014-08-23Thank Brandon.Ludovic Courtès 2014-08-15Update AUTHORS and THANKS.Ludovic Courtès 2014-07-22Thank Adam.Ludovic Courtès 2014-07-18Thank Marek.Ludovic Courtès 2014-07-16Update 'THANKS'....John Darrington 2014-07-05Thank Taylan and Alex.Ludovic Courtès