name:                 dbus
version:              1.3.11
visibility:           public
id:                   dbus-1.3.11-HtdmZsU2WWi3zWEUaxClgd
key:                  dbus-1.3.11-HtdmZsU2WWi3zWEUaxClgd
license:              Apache-2.0
maintainer:           Andrey Sverdlichenko <blaze@rusty.zone>
author:               John Millikin <john@john-millikin.com>
stability:            experimental
homepage:             https://github.com/rblaze/haskell-dbus#readme
synopsis:             A client library for the D-Bus IPC system.
description:
    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.

    @
    &#x7b;-\# LANGUAGE OverloadedStrings \#-&#x7d;

    import Data.List (sort)
    import DBus
    import DBus.Client

    main = do
    &#x20;   client <- connectSession
    &#x20;
    &#x20;   -- Request a list of connected clients from the bus
    &#x20;   reply <- call_ client (methodCall \"\/org\/freedesktop\/DBus\" \"org.freedesktop.DBus\" \"ListNames\")
    &#x20;       &#x7b; methodCallDestination = Just \"org.freedesktop.DBus\"
    &#x20;       &#x7d;
    &#x20;
    &#x20;   -- org.freedesktop.DBus.ListNames() returns a single value, which is
    &#x20;   -- a list of names (here represented as [String])
    &#x20;   let Just names = fromVariant (methodReturnBody reply !! 0)
    &#x20;
    &#x20;   -- Print each name on a line, sorted so reserved names are below
    &#x20;   -- temporary names.
    &#x20;   mapM_ putStrLn (sort names)
    @

    >$ ghc --make list-names.hs
    >$ ./list-names
    >:1.0
    >:1.1
    >:1.10
    >:1.106
    >:1.109
    >:1.110
    >ca.desrt.dconf
    >org.freedesktop.DBus
    >org.freedesktop.Notifications
    >org.freedesktop.secrets
    >org.gnome.ScreenSaver

category:             Network, Desktop
abi:                  339166d5fe78edc8a664dd8dbf33c0f7
exposed:              True
exposed-modules:
    DBus DBus.Client DBus.Generation DBus.Internal.Address
    DBus.Internal.Message DBus.Internal.Types DBus.Internal.Wire
    DBus.Introspection DBus.Introspection.Parse
    DBus.Introspection.Render DBus.Introspection.Types DBus.Socket
    DBus.TH DBus.Transport

import-dirs:
    /usr/pkg/lib/aarch64-netbsd-ghc-9.10.1/dbus-1.3.11-HtdmZsU2WWi3zWEUaxClgd

library-dirs:
    /usr/pkg/lib/aarch64-netbsd-ghc-9.10.1/dbus-1.3.11-HtdmZsU2WWi3zWEUaxClgd

library-dirs-static:
    /usr/pkg/lib/aarch64-netbsd-ghc-9.10.1/dbus-1.3.11-HtdmZsU2WWi3zWEUaxClgd

dynamic-library-dirs: /usr/pkg/lib/aarch64-netbsd-ghc-9.10.1
data-dir:             /usr/pkg/share/aarch64-netbsd-ghc-9.10.1/dbus-1.3.11
hs-libraries:         HSdbus-1.3.11-HtdmZsU2WWi3zWEUaxClgd
depends:
    base-4.20.0.0-inplace bytestring-0.12.1.0-inplace
    cereal-0.5.8.3-Ebr9ecffid0KhYDGGolykI
    conduit-1.3.6-2x5PueC1dZcLkuSiZzdSOV containers-0.7-inplace
    deepseq-1.5.0.0-inplace exceptions-0.10.7-inplace
    filepath-1.5.2.0-inplace lens-5.3.3-GuyFqV52qsYJgFSfE7uH9V
    network-3.2.7.0-1Ct3oTmBj2N7AMqmYP2CgU parsec-3.1.17.0-inplace
    random-1.3.0-23BW6tricnOKWC1NYRlV2o
    split-0.2.5-KrerJABNXWK8mcNwVgGWc5
    template-haskell-2.22.0.0-inplace text-2.1.1-inplace
    th-lift-0.8.6-HiTn7UGAzk37UiZAQGDUV2 transformers-0.6.1.1-inplace
    unix-2.8.5.1-inplace vector-0.13.2.0-IQjxDWDvdFJE3A4jpN00x9
    xml-conduit-1.10.0.0-4wEQaKjYHwACEb7bECySLI
    xml-types-0.3.8-FwSR3o5KEB5Crfesb7jmPZ

haddock-interfaces:
    /usr/pkg/share/doc/aarch64-netbsd-ghc-9.10.1/dbus-1.3.11/html/dbus.haddock

haddock-html:
    /usr/pkg/share/doc/aarch64-netbsd-ghc-9.10.1/dbus-1.3.11/html
