diff options
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ruby-xyz.scm | 27 |
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 |
| 13328 | projects. RDoc includes the +rdoc+ and +ri+ tools for generating and displaying | 13327 | projects. RDoc includes the @samp{rdoc} and @samp{ri} tools for |
| 13329 | documentation from the command-line.") | 13328 | generating 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 |
