2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, dbus, glib, pkg-config, expat }:
|
2012-04-05 23:53:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "dbus-cplusplus";
|
2012-04-05 23:53:20 +00:00
|
|
|
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";
|
2019-08-15 12:41:18 +00:00
|
|
|
name = "${pname}-${version}.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
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
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
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://dbus-cplusplus.sourceforge.net";
|
2012-04-05 23:53:20 +00:00
|
|
|
description = "C++ API for D-BUS";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|