2018-09-04 23:38:07 +02:00
|
|
|
{stdenv, fetchFromGitHub, pkgconfig, mono48, autoreconfHook }:
|
2016-01-24 11:40:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dbus-sharp-${version}";
|
|
|
|
version = "0.8.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mono";
|
|
|
|
repo = "dbus-sharp";
|
|
|
|
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1g5lblrvkd0wnhfzp326by6n3a9mj2bj7a7646g0ziwgsxp5w6y7";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
2018-09-04 23:38:07 +02:00
|
|
|
|
|
|
|
# Use msbuild when https://github.com/NixOS/nixpkgs/pull/43680 is merged
|
|
|
|
# See: https://github.com/NixOS/nixpkgs/pull/46060
|
|
|
|
buildInputs = [ mono48 ];
|
2016-01-24 11:40:32 +01:00
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "D-Bus for .NET";
|
|
|
|
platforms = platforms.linux;
|
2018-10-08 21:32:14 +02:00
|
|
|
license = licenses.mit;
|
2016-01-24 11:40:32 +01:00
|
|
|
};
|
|
|
|
}
|