[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/28: gnu: Add ruby-vagrant-spec.
From: |
guix-commits |
Subject: |
20/28: gnu: Add ruby-vagrant-spec. |
Date: |
Sat, 24 Feb 2024 10:51:12 -0500 (EST) |
htgoebel pushed a commit to branch master
in repository guix.
commit 5476ffa1994e6cd3a159d278584c519aa44263a2
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Mon Jul 24 22:26:40 2023 +0200
gnu: Add ruby-vagrant-spec.
* gnu/packages/virtualization.scm (ruby-vagrant-spec): New variable.
---
gnu/packages/virtualization.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 7b42b30f71..a9ff354c31 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2023 Juliana Sims <juli@incana.org>
;;; Copyright © 2023 Ahmad Draidi <a.r.draidi@redscript.org>
;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2023, 2024 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -123,6 +124,7 @@
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
+ #:use-module (gnu packages ruby)
#:use-module (gnu packages rsync)
#:use-module (gnu packages sdl)
#:use-module (gnu packages selinux)
@@ -143,6 +145,7 @@
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
+ #:use-module (guix build-system ruby)
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module (guix gexp)
@@ -2311,6 +2314,40 @@ the image.
@end enumerate")
(license license:asl2.0)))
+(define-public ruby-vagrant-spec
+ (package
+ (name "ruby-vagrant-spec")
+ (version "0.0.6")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "vagrant_spec" version))
+ (sha256
+ (base32
+ "1bkzz3mj7kzsv6k0ii8w31cgkpiqw3wvmvv2c6rknsavqqnagb4g"))))
+ (build-system ruby-build-system)
+ ;; (native-inputs (list ruby-rubocop ruby-vagrant-spec-helper-basic))
+ (propagated-inputs (list ruby-coveralls ruby-serverspec ruby-dep))
+ (arguments
+ (list
+ #:tests? #f ;; tests require vagrant
+ ;; target 'test' includes 'cops' and running some ansible-playbook
+ #:test-target "unit"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda _
+ (substitute* "Rakefile"
+ (("Bundler::GemHelper") "require
'bundler'\nBundler::GemHelper"))))
+ (add-before 'check 'prepare-check
+ (lambda _
+ (setenv "HOME" "/tmp"))))))
+ (synopsis "Specification and tests for Vagrant")
+ (description "@code{vagrant-spec} is a both a specification of how Vagrant
+and its various components should behave as well as a library of testing
+helpers that let you write your own unit and acceptance tests for Vagrant.")
+ (home-page "https://github.com/hashicorp/vagrant-spec")
+ (license license:mpl2.0)))
+
(define-public python-vagrant
(package
(name "python-vagrant")
- 02/28: gnu: Add ruby-excon., (continued)
- 02/28: gnu: Add ruby-excon., guix-commits, 2024/02/24
- 01/28: gnu: Add ruby-test-unit-ruby-core., guix-commits, 2024/02/24
- 03/28: gnu: Add ruby-ipaddr., guix-commits, 2024/02/24
- 04/28: gnu: Add ruby-net-ftp., guix-commits, 2024/02/24
- 05/28: gnu: Add ruby-fake-ftp., guix-commits, 2024/02/24
- 07/28: gnu: Add ruby-net-telnet., guix-commits, 2024/02/24
- 09/28: gnu: Add ruby-stringio., guix-commits, 2024/02/24
- 13/28: gnu: Add ruby-specinfra., guix-commits, 2024/02/24
- 14/28: gnu: Add ruby-serverspec., guix-commits, 2024/02/24
- 15/28: gnu: Add ruby-time., guix-commits, 2024/02/24
- 20/28: gnu: Add ruby-vagrant-spec.,
guix-commits <=
- 21/28: gnu: Add ruby-vagrant-spec-helper-basic., guix-commits, 2024/02/24
- 16/28: gnu: Add ruby-google-protobuf., guix-commits, 2024/02/24
- 06/28: gnu: Add ruby-net-sftp., guix-commits, 2024/02/24
- 11/28: gnu: Add ruby-rgl., guix-commits, 2024/02/24
- 12/28: gnu: Add ruby-sfl., guix-commits, 2024/02/24
- 08/28: gnu: Add ruby-pairing-heap., guix-commits, 2024/02/24
- 10/28: gnu: Add ruby-stream., guix-commits, 2024/02/24
- 19/28: gnu: Add ruby-vagrant-cloud., guix-commits, 2024/02/24
- 22/28: gnu: Add ruby-hashicorp-checkpoint., guix-commits, 2024/02/24
- 23/28: gnu: ruby-childprocess: Update to 4.1.0., guix-commits, 2024/02/24