summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2023-07-25 23:06:51 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2024-02-24 16:42:41 +0100
commitb41e88c55a41eb4656fdfeb3b5eb61d951963564 (patch)
treeff1090bfce3c3ee8752ade1af6cf1dbc05fe27a9 /gnu
parente912866ce9e0ba179554ef4091dc81518b3245fe (diff)
gnu: Add ruby-specinfra.
* gnu/packages/ruby.scm (ruby-specinfra): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ece5192f166..88a2840082d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1211,6 +1211,35 @@ the @env{RSPEC_DEBUG} environment variable to @samp{true} then invoke the
1211 (home-page "https://github.com/ko1/rspec-debug") 1211 (home-page "https://github.com/ko1/rspec-debug")
1212 (license license:expat))) 1212 (license license:expat)))
1213 1213
1214(define-public ruby-specinfra
1215 (package
1216 (name "ruby-specinfra")
1217 (version "2.88.1")
1218 (source (origin
1219 (method url-fetch)
1220 (uri (rubygems-uri "specinfra" version))
1221 (sha256
1222 (base32
1223 "07lap3sknncffpq9jw1x1mn9c5xxd058wxs5vnyz1y0lawdjfnsf"))))
1224 (build-system ruby-build-system)
1225 (propagated-inputs (list ruby-net-scp ruby-net-ssh ruby-net-telnet
1226 ruby-sfl))
1227 (arguments
1228 (list
1229 #:test-target "spec"
1230 #:phases
1231 #~(modify-phases %standard-phases
1232 (add-after 'extract-gemspec 'relax-dependencies
1233 (lambda _
1234 (substitute* "specinfra.gemspec"
1235 (("%q<net-telnet>.freeze, \\[.*\\]")
1236 "%q<net-telnet>.freeze, [\">= 0\"]")))))))
1237 (synopsis "Common layer for serverspec and itamae")
1238 (description "This Gem provides a common layer for serverspec and
1239itamae.")
1240 (home-page "https://github.com/mizzy/specinfra")
1241 (license license:expat)))
1242
1214;; Bundler is yet another source of circular dependencies, so we must disable 1243;; Bundler is yet another source of circular dependencies, so we must disable
1215;; its test suite as well. 1244;; its test suite as well.
1216(define-public bundler 1245(define-public bundler