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