2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchFromGitHub, pkg-config, mono4, autoreconfHook }:
|
2016-01-24 10:40:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "dbus-sharp";
|
2016-01-24 10:40:32 +00:00
|
|
|
version = "0.8.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mono";
|
|
|
|
repo = "dbus-sharp";
|
|
|
|
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1g5lblrvkd0wnhfzp326by6n3a9mj2bj7a7646g0ziwgsxp5w6y7";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2018-09-04 21:38:07 +00:00
|
|
|
|
|
|
|
# Use msbuild when https://github.com/NixOS/nixpkgs/pull/43680 is merged
|
|
|
|
# See: https://github.com/NixOS/nixpkgs/pull/46060
|
2018-12-22 23:38:37 +00:00
|
|
|
buildInputs = [ mono4 ];
|
2016-01-24 10:40:32 +00:00
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-01-24 10:40:32 +00:00
|
|
|
description = "D-Bus for .NET";
|
|
|
|
platforms = platforms.linux;
|
2018-10-08 19:32:14 +00:00
|
|
|
license = licenses.mit;
|
2016-01-24 10:40:32 +00:00
|
|
|
};
|
|
|
|
}
|