guix-commits
[Top][All Lists]
Advanced

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

02/06: gnu: Add perl-net-dbus-glib.


From: Ricardo Wurmus
Subject: 02/06: gnu: Add perl-net-dbus-glib.
Date: Wed, 25 Oct 2017 04:49:48 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit fc4083c54f603f9a4d593661641e88cfae0c35d1
Author: Petter <address@hidden>
Date:   Wed Oct 25 08:30:58 2017 +0200

    gnu: Add perl-net-dbus-glib.
    
    * gnu/packages/glib.scm (perl-net-dbus-glib): New variable.
    
    Signed-off-by: Ricardo Wurmus <address@hidden>
---
 gnu/packages/glib.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index bc12a36..8e79971 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -66,7 +66,8 @@
             libsigc++
             glibmm
             telepathy-glib
-            perl-net-dbus))
+            perl-net-dbus
+            perl-net-dbus-glib))
 
 (define dbus
   (package
@@ -781,3 +782,29 @@ metadata.")
 inter-application messaging system.  The Perl API covers the core base level
 of the DBus APIs, not concerning itself yet with the GLib or QT wrappers.")
     (license license:perl-license)))
+
+(define perl-net-dbus-glib
+  (package
+    (name "perl-net-dbus-glib")
+    (version "0.33.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DA/DANBERR/"
+                           "Net-DBus-GLib-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1z4mbv8z0rad604xahijpg5szzi8qak07hbahh230z4jf96fkxvj"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("dbus-glib" ,dbus-glib)))
+    (home-page "http://search.cpan.org/~danberr/Net-DBus-GLib-0.33.0/";)
+    (synopsis "Perl extension for the DBus GLib bindings")
+    (description "This package provides an extension to the @code{Net::DBus}
+module allowing integration with the GLib mainloop.  To integrate with the
+main loop, simply get a connection to the bus via the methods in
address@hidden::DBus::GLib} rather than the usual @code{Net::DBus} module.  
Every
+other API remains the same.")
+    (license license:gpl2+)))



reply via email to

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