1 { lib, stdenv, fetchurl, buildPackages
2 , pkg-config, expat, gettext, libiconv, dbus, glib
5 stdenv.mkDerivation rec {
10 url = "${meta.homepage}/releases/dbus-glib/dbus-glib-${version}.tar.gz";
11 sha256 = "sha256-fVUNzN/NKG4ziVUBgp7Zce62XGFOc6rbSgiu73GbFDo=";
14 outputs = [ "out" "dev" "devdoc" ];
17 nativeBuildInputs = [ pkg-config gettext glib ];
19 buildInputs = [ expat libiconv ];
21 propagatedBuildInputs = [ dbus glib ];
23 configureFlags = [ "--exec-prefix=${placeholder "dev"}" ] ++
24 lib.optional (stdenv.buildPlatform != stdenv.hostPlatform)
25 "--with-dbus-binding-tool=${buildPackages.dbus-glib.dev}/bin/dbus-binding-tool";
29 passthru = { inherit dbus glib; };
32 homepage = "https://dbus.freedesktop.org";
33 license = with lib.licenses; [ afl21 gpl2Plus ];
34 description = "Obsolete glib bindings for D-Bus lightweight IPC mechanism";
36 platforms = lib.platforms.unix;