guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/28: gnu: Add ruby-specinfra.


From: guix-commits
Subject: 13/28: gnu: Add ruby-specinfra.
Date: Sat, 24 Feb 2024 10:51:11 -0500 (EST)

htgoebel pushed a commit to branch master
in repository guix.

commit b41e88c55a41eb4656fdfeb3b5eb61d951963564
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Tue Jul 25 23:06:51 2023 +0200

    gnu: Add ruby-specinfra.
    
    * gnu/packages/ruby.scm (ruby-specinfra): New variable.
---
 gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ece5192f16..88a2840082 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
     (home-page "https://github.com/ko1/rspec-debug";)
     (license license:expat)))
 
+(define-public ruby-specinfra
+  (package
+    (name "ruby-specinfra")
+    (version "2.88.1")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "specinfra" version))
+              (sha256
+               (base32
+                "07lap3sknncffpq9jw1x1mn9c5xxd058wxs5vnyz1y0lawdjfnsf"))))
+    (build-system ruby-build-system)
+    (propagated-inputs (list ruby-net-scp ruby-net-ssh ruby-net-telnet
+                             ruby-sfl))
+    (arguments
+     (list
+      #:test-target "spec"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'extract-gemspec 'relax-dependencies
+            (lambda _
+              (substitute* "specinfra.gemspec"
+                (("%q<net-telnet>.freeze, \\[.*\\]")
+                 "%q<net-telnet>.freeze, [\">= 0\"]")))))))
+    (synopsis "Common layer for serverspec and itamae")
+    (description "This Gem provides a common layer for serverspec and
+itamae.")
+    (home-page "https://github.com/mizzy/specinfra";)
+    (license license:expat)))
+
 ;; Bundler is yet another source of circular dependencies, so we must disable
 ;; its test suite as well.
 (define-public bundler



reply via email to

[Prev in Thread] Current Thread [Next in Thread]