summaryrefslogtreecommitdiff
path: root/dev-haskell/dbus/metadata.xml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/dbus/metadata.xml')
-rw-r--r--dev-haskell/dbus/metadata.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/dev-haskell/dbus/metadata.xml b/dev-haskell/dbus/metadata.xml
index 5063563f544d..4640c75ee040 100644
--- a/dev-haskell/dbus/metadata.xml
+++ b/dev-haskell/dbus/metadata.xml
@@ -8,23 +8,23 @@
D-Bus is a simple, message-based protocol for inter-process
communication, which allows applications to interact with other parts of
the machine and the user's session using remote procedure calls.
-
+
D-Bus is a essential part of the modern Linux desktop, where it replaces
earlier protocols such as CORBA and DCOP.
-
+
This library is an implementation of the D-Bus protocol in Haskell. It
can be used to add D-Bus support to Haskell applications, without the
awkward interfaces common to foreign bindings.
-
+
Example: connect to the session bus, and get a list of active names.
-
+
@
{-\# LANGUAGE OverloadedStrings \#-}
-
+
import Data.List (sort)
import DBus
import DBus.Client
-
+
main = do
  client <- connectSession
  //
@@ -41,7 +41,7 @@
  \-- temporary names.
  mapM_ putStrLn (sort names)
@
-
+
>$ ghc --make list-names.hs
>$ ./list-names
>:1.0
@@ -56,4 +56,8 @@
>org.freedesktop.secrets
>org.gnome.ScreenSaver
</longdescription>
+ <upstream>
+ <remote-id type="hackage">dbus</remote-id>
+ <remote-id type="github">rblaze/haskell-dbus</remote-id>
+ </upstream>
</pkgmetadata>