1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 07:04:28 +00:00
nixpkgs/pkgs/development/libraries/dbus-cplusplus/default.nix
2013-08-27 10:49:12 +02:00

31 lines
963 B
Nix

{ stdenv, fetchurl, dbus, glib, gtkmm, pkgconfig, expat }:
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";
name = "dbus-cplusplus.tar.gz";
sha256 = "0qafmy2i6dzx4n1dqp6pygyy6gjljnb7hwjcj2z11c1wgclsq4dw";
};
patches = [( fetchurl {
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;
name = "gcc-4.7.patch";
sha256 = "0rwcz9pvc13b3yfr0lkifnfz0vb5q6dg240bzgf37ni4s8rpc72g";
})];
buildInputs = [ dbus glib gtkmm pkgconfig expat ];
configureFlags = "--disable-ecore";
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 ];
};
}