2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, buildPackages
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config, expat, gettext, libiconv, dbus, glib
|
2019-05-06 23:25:40 +00:00
|
|
|
}:
|
2007-03-04 21:28:24 +00:00
|
|
|
|
2008-01-23 16:33:41 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-04-28 05:54:43 +00:00
|
|
|
name = "dbus-glib-0.112";
|
2011-08-26 14:57:48 +00:00
|
|
|
|
2007-03-04 21:28:24 +00:00
|
|
|
src = fetchurl {
|
2008-01-23 16:33:41 +00:00
|
|
|
url = "${meta.homepage}/releases/dbus-glib/${name}.tar.gz";
|
2021-04-28 05:54:43 +00:00
|
|
|
sha256 = "sha256-fVUNzN/NKG4ziVUBgp7Zce62XGFOc6rbSgiu73GbFDo=";
|
2007-03-04 21:28:24 +00:00
|
|
|
};
|
2011-12-14 18:22:48 +00:00
|
|
|
|
2016-09-01 09:07:23 +00:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-10-05 08:51:22 +00:00
|
|
|
outputBin = "dev";
|
2015-07-26 11:43:49 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config gettext glib ];
|
2011-12-14 18:22:48 +00:00
|
|
|
|
2014-11-26 23:16:50 +00:00
|
|
|
buildInputs = [ expat libiconv ];
|
2011-12-14 18:22:48 +00:00
|
|
|
|
2015-10-13 12:33:08 +00:00
|
|
|
propagatedBuildInputs = [ dbus glib ];
|
2013-03-23 16:11:40 +00:00
|
|
|
|
2019-05-06 23:25:40 +00:00
|
|
|
configureFlags = [ "--exec-prefix=${placeholder "dev"}" ] ++
|
2021-01-21 17:00:13 +00:00
|
|
|
lib.optional (stdenv.buildPlatform != stdenv.hostPlatform)
|
2019-05-06 23:25:40 +00:00
|
|
|
"--with-dbus-binding-tool=${buildPackages.dbus-glib.dev}/bin/dbus-binding-tool";
|
2016-05-05 02:27:17 +00:00
|
|
|
|
2018-05-12 14:47:58 +00:00
|
|
|
doCheck = false;
|
2011-12-14 18:22:48 +00:00
|
|
|
|
2008-02-02 20:42:13 +00:00
|
|
|
passthru = { inherit dbus glib; };
|
2007-11-16 21:05:15 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://dbus.freedesktop.org";
|
2021-04-28 06:43:37 +00:00
|
|
|
license = with lib.licenses; [ afl21 gpl2Plus ];
|
2011-12-14 18:22:48 +00:00
|
|
|
description = "Obsolete glib bindings for D-Bus lightweight IPC mechanism";
|
2017-03-27 17:11:17 +00:00
|
|
|
maintainers = [ ];
|
2021-01-21 17:00:13 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2007-11-16 21:05:15 +00:00
|
|
|
};
|
2007-03-04 21:28:24 +00:00
|
|
|
}
|