summary refs log tree commit diff
path: root/pkgs/development/libraries/dbus-glib/default.nix
blob: 4a2cd6f4cf95752bf0c3c980e04de2bda593bd8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, pkgconfig, expat, gettext, libiconv, dbus, glib }:

stdenv.mkDerivation rec {
  name = "dbus-glib-0.86";
  
  src = fetchurl {
    url = "${meta.homepage}/releases/dbus-glib/${name}.tar.gz";
    sha256 = "1p0bm5p8g8h0mimhj0d58dqdrhfipvcwv95l6hf69z4gygksclak";
  };
  
  buildInputs = [ pkgconfig expat gettext ]
                ++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
  
  propagatedBuildInputs = [ dbus.libs glib ];
  
  passthru = { inherit dbus glib; };

  meta = {
    homepage = http://dbus.freedesktop.org;
    license = "AFL-2.1 or GPL-2";
    description = "GLib bindings for D-Bus lightweight IPC mechanism";
  };
}