From f861793141d04ba737438330a239165991712c03 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 6 Aug 2023 17:54:37 +0200 Subject: [PATCH] gnu: Add ruby-fog-libvirt. * gnu/packages/ruby.scm (ruby-fog-libvirt): New variable. --- gnu/packages/ruby.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index dc249c0816..e6d51b94e2 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -90,6 +90,7 @@ (define-module (gnu packages ruby) #:use-module (gnu packages tls) #:use-module (gnu packages valgrind) #:use-module (gnu packages version-control) + #:use-module (gnu packages virtualization) #:use-module (gnu packages web-browsers) #:use-module (gnu packages serialization) #:use-module (guix packages) @@ -9784,6 +9785,32 @@ (define-public ruby-fog-xml (home-page "https://github.com/fog/fog-xml") (license license:expat))) +(define-public ruby-fog-libvirt + (package + (name "ruby-fog-libvirt") + (version "0.12.0") + (source (origin + (method git-fetch) ; for tests + (uri (git-reference + (url "https://github.com/fog/fog-libvirt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0b1qafb0l24anmr8fviwhp9vj14g0fic0mkg9n1i11h68zhqkj2v")))) + (build-system ruby-build-system) + (native-inputs (list ruby-minitest-stub-const ruby-mocha ruby-net-ssh + ruby-netrc ruby-octokit ruby-pry ruby-rubocop + ruby-shindo ruby-simplecov ruby-yard )) + (propagated-inputs (list ruby-fog-core ruby-fog-json ruby-fog-xml + ruby-json ruby-libvirt)) + (synopsis "Ruby libvirt provider, either standalone or as a module for +@code{fog}") + (description "This library can be used as a module for @code{fog} or as +standalone libvirt provider. @code{fog} is a Ruby cloud services library.") + (home-page "https://github.com/fog/fog-libvirt") + (license license:expat))) + (define-public ruby-pry-byebug (package (name "ruby-pry-byebug")