guix-commits
[Top][All Lists]
Advanced

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

24/28: gnu: Add ruby-libvirt.


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

htgoebel pushed a commit to branch master
in repository guix.

commit 53761a7602cd545396fd2d6035458742668998c4
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Sun Aug 6 17:57:24 2023 +0200

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index de79813bfb..3b5554bee5 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -80,6 +80,7 @@
   #:use-module (gnu packages networking)
   #:use-module (gnu packages node)
   #:use-module (gnu packages perl)
+  #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
@@ -9673,6 +9674,28 @@ and delete boxes, versions, and providers on HashiCorp's 
Vagrant Cloud.")
     (home-page "https://github.com/hashicorp/vagrant_cloud";)
     (license license:asl2.0)))
 
+(define-public ruby-libvirt
+  (package
+    (name "ruby-libvirt")
+    (version "0.8.2")
+    (source (origin
+              (method url-fetch)
+              (uri (rubygems-uri "ruby-libvirt" version))
+              (sha256
+               (base32
+                "0v6vj5vs9v01zr00bflqpfczhwcyc6jdf8k2dqn42lq6d87si77d"))))
+    (build-system ruby-build-system)
+    (arguments
+     (list
+      #:tests? #f)) ; tests require access to libvirt socket
+    (native-inputs (list pkg-config))
+    (inputs (list libvirt))
+    (synopsis "Ruby bindings for libvirt")
+    (description "This package provides Ruby language binding for libvirt's
+native C API.")
+    (home-page "https://ruby.libvirt.org/";)
+    (license license:lgpl2.1+)))
+
 (define-public ruby-pry-byebug
   (package
     (name "ruby-pry-byebug")



reply via email to

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