2015-04-26 02:28:59 +00:00
|
|
|
{ stdenv, fetchurl, dbus, glib, pkgconfig, expat }:
|
2012-04-05 23:53:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dbus-cplusplus-${version}";
|
|
|
|
version = "0.9.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/dbus-cplusplus/dbus-c%2B%2B/0.9.0/libdbus-c%2B%2B-0.9.0.tar.gz";
|
2015-04-26 02:28:59 +00:00
|
|
|
name = "${name}.tar.gz";
|
2012-04-05 23:53:20 +00:00
|
|
|
sha256 = "0qafmy2i6dzx4n1dqp6pygyy6gjljnb7hwjcj2z11c1wgclsq4dw";
|
|
|
|
};
|
|
|
|
|
2018-02-18 12:59:42 +00:00
|
|
|
patches = [
|
|
|
|
(fetchurl {
|
|
|
|
name = "gcc-4.7.patch";
|
|
|
|
url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/"
|
|
|
|
+ "dbus-c%2B%2B/files/dbus-c%2B%2B-0.9.0-gcc-4.7.patch";
|
|
|
|
sha256 = "0rwcz9pvc13b3yfr0lkifnfz0vb5q6dg240bzgf37ni4s8rpc72g";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
|
|
|
name = "writechar.patch"; # since gcc7
|
|
|
|
url = "https://src.fedoraproject.org/cgit/rpms/dbus-c++.git/plain/"
|
|
|
|
+ "dbus-c++-writechar.patch?id=7f371172f5c";
|
|
|
|
sha256 = "1kkg4gbpm4hp87l25zw2a3r9c58g7vvgzcqgiman734i66zsbb9l";
|
|
|
|
})
|
|
|
|
(fetchurl {
|
|
|
|
name = "threading.patch"; # since gcc7
|
|
|
|
url = "https://src.fedoraproject.org/cgit/rpms/dbus-c++.git/plain/"
|
|
|
|
+ "dbus-c++-threading.patch?id=7f371172f5c";
|
|
|
|
sha256 = "1h362anx3wyxm5lq0v8girmip1jmkdbijrmbrq7k5pp47zkhwwrq";
|
|
|
|
})
|
|
|
|
];
|
2013-08-27 08:49:12 +00:00
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ dbus glib expat ];
|
2012-04-05 23:53:20 +00:00
|
|
|
|
2019-01-04 19:33:50 +00:00
|
|
|
configureFlags = [ "--disable-ecore" "--disable-tests" ];
|
2012-04-05 23:53:20 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://dbus-cplusplus.sourceforge.net;
|
|
|
|
description = "C++ API for D-BUS";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|