[PATCH] gnu: Add ruby-appraisal.

  • Open
  • quality assurance status badge
Details
One participant
  • Adam Quandour
Owner
unassigned
Submitted by
Adam Quandour
Severity
normal
A
A
Adam Quandour wrote on 24 May 23:38 +0200
(address . guix-patches@gnu.org)(name . Adam Quandour)(address . adam.quandour@gmail.com)
20240524213807.10537-1-adam.quandour@gmail.com
* gnu/packages/ruby.scm (ruby-appraisal): New variable.
---
gnu/packages/ruby.scm | 50 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)

Toggle diff (70 lines)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5c1e666..53b411b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1495,6 +1495,33 @@ (define-public ruby-atoulme-saikuro
;; of the Expat license.
(license license:bsd-3)))
+(define-public ruby-appraisal
+ (package
+ (name "ruby-appraisal")
+ (version "2.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "appraisal" version))
+ (sha256
+ (base32
+ "1knkxrjagaqf418lkgd7xvfb5rh143d19ld8vfq16y8jpqhr561n"))))
+ (build-system ruby-build-system)
+ ;; tests need Internet access.
+ (arguments '(#:tests? #f))
+ (native-inputs
+ (list ruby-activesupport
+ ruby-rspec
+ ruby-thor-0.14.6))
+ (synopsis "A Ruby library for testing your library against different versions of dependencies")
+ (description "Appraisal integrates with bundler and rake to test
+your library against different versions of dependencies in repeatable
+scenarios called \"appraisals\". Appraisal is designed to make it
+easy to check for regressions in your library without interfering
+ with day-to-day development using Bundler.")
+ (home-page "https://github.com/thoughtbot/appraisal")
+ (license license:expat)))
+
(define-public ruby-awesome-print
(package
(name "ruby-awesome-print")
@@ -3383,6 +3410,29 @@ (define-public ruby-thor
(home-page "http://whatisthor.com/")
(license license:expat)))
+(define-public ruby-thor-0.14.6
+ ;; needed for ruby-appraisal
+ (package
+ (name "ruby-thor")
+ (version "0.14.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (rubygems-uri "thor" version))
+ (sha256
+ (base32
+ "18qmgv38gfw9clhq6szyw5kcxkkk8xr7c0klp3pk3cyznzbapif7"))))
+ (build-system ruby-build-system)
+ ;; couldn't run tests
+ ;; "No Rakefile found"
+ (arguments `(#:tests? #f))
+ (native-inputs (list ruby-rspec ruby-simplecov ruby-webmock))
+ (synopsis "Ruby toolkit for building command-line interfaces")
+ (description "Thor is a toolkit for building powerful command-line
+interfaces.")
+ (home-page "http://whatisthor.com/")
+ (license license:expat)))
+
(define-public ruby-lumberjack
(package
(name "ruby-lumberjack")
--
2.41.0
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 71184@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 71184
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch