1{stdenv, fetchFromGitHub, pkgconfig, dbus, mono, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 name = "dbus-sharp-${version}";
5 version = "0.8.1";
6
7 src = fetchFromGitHub {
8 owner = "mono";
9 repo = "dbus-sharp";
10
11 rev = "v${version}";
12 sha256 = "1g5lblrvkd0wnhfzp326by6n3a9mj2bj7a7646g0ziwgsxp5w6y7";
13 };
14
15 nativeBuildInputs = [ pkgconfig autoreconfHook ];
16 buildInputs = [ mono ];
17
18 dontStrip = true;
19
20 meta = with stdenv.lib; {
21 description = "D-Bus for .NET";
22 platforms = platforms.linux;
23 };
24}