summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAaron Covrig <aarcov@gmail.com>2026-02-24 20:03:57 -0500
committerAndreas Enge <andreas@enge.fr>2026-03-01 18:44:00 +0100
commitba1d02afb88c84ed3172af3d0b9397a028e52bb9 (patch)
tree00c4a4c21aaedc34ebb3075ffe1dcaa933ad64fb /gnu/packages
parent088f79f10eb4788df4c688bcfea639728b19c17d (diff)
gnu: Add ruby-appraisal.
* gnu/packages/ruby-check.scm (ruby-appraisal): New variable. Change-Id: I2bd811cdcb90c232fe7585ca2ea4bb2037f38aa4 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/ruby-check.scm61
1 files changed, 60 insertions, 1 deletions
diff --git a/gnu/packages/ruby-check.scm b/gnu/packages/ruby-check.scm
index 9299cf15a2e..5164d9a672b 100644
--- a/gnu/packages/ruby-check.scm
+++ b/gnu/packages/ruby-check.scm
@@ -57,7 +57,9 @@
57 #:use-module (guix packages) 57 #:use-module (guix packages)
58 #:use-module (guix utils) 58 #:use-module (guix utils)
59 #:use-module (gnu packages) 59 #:use-module (gnu packages)
60 #:use-module (gnu packages ruby)) 60 #:use-module (gnu packages rails)
61 #:use-module (gnu packages ruby)
62 #:use-module (gnu packages ruby-xyz))
61 63
62;;; Commentary: 64;;; Commentary:
63;;; 65;;;
@@ -87,6 +89,63 @@ specified in a \"Gemfile\", as well as their dependencies.")
87 (home-page "https://bundler.io/") 89 (home-page "https://bundler.io/")
88 (license license:expat))) 90 (license license:expat)))
89 91
92(define-public ruby-appraisal
93 (package
94 (name "ruby-appraisal")
95 (version "2.5.0")
96 (source
97 (origin
98 (method git-fetch)
99 (uri (git-reference
100 (url "https://github.com/thoughtbot/appraisal")
101 (commit (string-append "v" version))))
102 (file-name (git-file-name name version))
103 (sha256
104 (base32 "19lv42j1a5slixldpfyz2id999aqkmg2kiibd7700ysiv4x70ayw"))))
105 (build-system ruby-build-system)
106 (arguments
107 (list
108 #:test-target "spec"
109 #:phases
110 #~(modify-phases %standard-phases
111 (add-before 'build 'loosen-requirements
112 (lambda _
113 (substitute* "Gemfile"
114 ((".*gem \"thor\",.*")
115 "gem \"thor\", \">= 0.14\""))))
116 (add-before 'check 'delete-broken-tests
117 ;; These tests make various bundler calls that don't respect
118 ;; the build environment
119 (lambda _
120 (for-each delete-file
121 (list
122 "./spec/acceptance/appraisals_file_bundler_dsl_compatibility_spec.rb"
123 "./spec/appraisal/appraisal_file_spec.rb"
124 "./spec/acceptance/bundle_without_spec.rb"
125 "./spec/acceptance/bundle_with_custom_path_spec.rb"
126 "./spec/acceptance/cli/clean_spec.rb"
127 "./spec/acceptance/cli/generate_spec.rb"
128 "./spec/acceptance/cli/help_spec.rb"
129 "./spec/acceptance/cli/install_spec.rb"
130 "./spec/acceptance/cli/list_spec.rb"
131 "./spec/acceptance/cli/run_spec.rb"
132 "./spec/acceptance/cli/update_spec.rb"
133 "./spec/acceptance/cli/version_spec.rb"
134 "./spec/acceptance/cli/with_no_arguments_spec.rb"
135 "./spec/acceptance/gemfile_dsl_compatibility_spec.rb"
136 "./spec/acceptance/gemspec_spec.rb")))))))
137 (native-inputs (list bundler ruby-activesupport ruby-rspec))
138 (propagated-inputs (list ruby-rake ruby-thor))
139 (synopsis "Tests your library against different versions of dependencies")
140 (description
141 "Appraisal integrates with bundler and rake to test your
142library against different versions of dependencies in repeatable scenarios
143called \"appraisals.\" Appraisal is designed to make it easy to check for
144regressions in your library without interfering with day-to-day development
145using Bundler.")
146 (home-page "https://github.com/thoughtbot/appraisal")
147 (license license:expat)))
148
90(define-public ruby-asciidoctor/minimal 149(define-public ruby-asciidoctor/minimal
91 (hidden-package 150 (hidden-package
92 (package 151 (package