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