* gnu/packages/ruby.scm (ruby-minitest-tu-shim): Delete variable.
This package is a leaf in Guix, unmaintained for 10 years.
---
gnu/packages/ruby.scm | 46 -------------------------------------------
1 file changed, 46 deletions(-)
@@ -7937,52 +7937,6 @@ (define-public ruby-gem-hadar
(home-page "https://github.com/flori/gem_hadar")
(license license:expat)))
-(define-public ruby-minitest-tu-shim
- (package
- (name "ruby-minitest-tu-shim")
- (version "1.3.3")
- (source (origin
- (method url-fetch)
- (uri (rubygems-uri "minitest_tu_shim" version))
- (sha256
- (base32
- "0xlyh94iirvssix157ng2akr9nqhdygdd0c6094hhv7dqcfrn9fn"))))
- (build-system ruby-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'fix-test-include-path
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((minitest (assoc-ref inputs "ruby-minitest")))
- (substitute* "Rakefile"
- (("Hoe\\.add_include_dirs .*")
- (string-append "Hoe.add_include_dirs \""
- minitest "/lib/ruby/vendor_ruby"
- "/gems/minitest-"
- #$(package-version ruby-minitest-4)
- "/lib" "\""))))))
- (add-before 'check 'fix-test-assumptions
- (lambda _
- ;; The test output includes the file name, so a couple of tests
- ;; fail. Changing the regular expressions slightly fixes this
- ;; problem.
- (substitute* "test/test_mini_test.rb"
- (("output.sub!\\(.*, 'FILE:LINE'\\)")
- "output.sub!(/\\/.+-[\\w\\/\\.]+:\\d+/, 'FILE:LINE')")
- (("gsub\\(/.*, 'FILE:LINE'\\)")
- "gsub(/\\/.+-[\\w\\/\\.]+:\\d+/, 'FILE:LINE')")))))))
- (propagated-inputs
- (list ruby-minitest-4))
- (native-inputs
- (list ruby-hoe-3))
- (synopsis "Adapter library between minitest and test/unit")
- (description
- "This library bridges the gap between the small and fast minitest and
-Ruby's large and slower test/unit.")
- (home-page "https://rubygems.org/gems/minitest_tu_shim")
- (license license:expat)))
-
(define-public ruby-term-ansicolor
(package
(name "ruby-term-ansicolor")