summaryrefslogtreecommitdiff
path: root/gnu/packages/ruby-xyz.scm
diff options
context:
space:
mode:
authorgemmaro <gemmaro.dev@gmail.com>2026-08-17 20:55:37 +0000
committerAndreas Enge <andreas@enge.fr>2026-08-28 16:40:53 +0200
commit18ba9661578ee6d04709e047a5fa2ef4675b4b4a (patch)
treeaf23b2b33c6a7c7bd89bff0e41bb11829293b860 /gnu/packages/ruby-xyz.scm
parent50e06b43007e60600a4234b0bbae5b6099d5bc42 (diff)
gnu: ruby-rdoc: Update to 8.0.0.
* gnu/packages/ruby-xyz.scm (ruby-rdoc): Update to 8.0.0. [propagated-inputs]: Add ruby-erb, ruby-tsort, ruby-prism, and ruby-rbs. [native-inputs]: Remove bundler, ruby-kpeg, ruby-racc, and ruby-rubocop. Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/ruby-xyz.scm')
-rw-r--r--gnu/packages/ruby-xyz.scm27
1 files changed, 13 insertions, 14 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 29c942f5bcd..6086debc4d2 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -13300,7 +13300,11 @@ technique.")
13300(define-public ruby-rdoc 13300(define-public ruby-rdoc
13301 (package 13301 (package
13302 (name "ruby-rdoc") 13302 (name "ruby-rdoc")
13303 (version "6.7.0") 13303 (version "8.0.0")
13304 ;; The source contains some generated files via racc and kpeg.
13305 ;; However the generated result is not deterministic [1] with
13306 ;; multiple runs.
13307 ;; [1] https://github.com/ruby/rdoc/blob/v8.0.0/Rakefile#L91-L93
13304 (source 13308 (source
13305 (origin 13309 (origin
13306 (method git-fetch) 13310 (method git-fetch)
@@ -13310,23 +13314,18 @@ technique.")
13310 (file-name (git-file-name name version)) 13314 (file-name (git-file-name name version))
13311 (sha256 13315 (sha256
13312 (base32 13316 (base32
13313 "0dy997zi7k17c2yjlq1y7zl9yaiym1f4jgfh84qqzhwl1qm6v41j")))) 13317 "1ga4d34allpqglal403x897pxq0a713v4f6w0ln43x8xv362mapf"))))
13314 (build-system ruby-build-system) 13318 (build-system ruby-build-system)
13315 (arguments 13319 ;; Document generation in the install phase causes errors since it
13316 `(#:phases 13320 ;; conflicts with the Ruby's builtin version of RDoc.
13317 (modify-phases %standard-phases 13321 (arguments (list #:gem-flags #~(list "--no-document")))
13318 (add-before 'build 'generate 13322 (native-inputs (list ruby-test-unit-ruby-core))
13319 ;; 'gem build' doesn't honor Rakefile dependencies (see: 13323 (propagated-inputs (list ruby-erb ruby-tsort ruby-prism ruby-rbs))
13320 ;; https://github.com/ruby/rdoc/issues/432#issuecomment-650808977).
13321 (lambda _
13322 (invoke "rake" "generate"))))))
13323 (native-inputs (list bundler ruby-kpeg ruby-racc ruby-rubocop
13324 ruby-test-unit-ruby-core))
13325 (home-page "https://ruby.github.io/rdoc/") 13324 (home-page "https://ruby.github.io/rdoc/")
13326 (synopsis "HTML and command-line documentation utility") 13325 (synopsis "HTML and command-line documentation utility")
13327 (description "RDoc produces HTML and command-line documentation for Ruby 13326 (description "RDoc produces HTML and command-line documentation for Ruby
13328projects. RDoc includes the +rdoc+ and +ri+ tools for generating and displaying 13327projects. RDoc includes the @samp{rdoc} and @samp{ri} tools for
13329documentation from the command-line.") 13328generating and displaying documentation from the command-line.")
13330 (license license:gpl2+))) 13329 (license license:gpl2+)))
13331 13330
13332(define-public ruby-sass-listen 13331(define-public ruby-sass-listen