nixpkgs/pkgs/development/libraries/dbus-sharp/dbus-sharp-1.0.nix
2021-01-21 19:11:02 -08:00

26 lines
536 B
Nix

{lib, stdenv, fetchFromGitHub, pkg-config, mono, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "dbus-sharp";
version = "0.7";
src = fetchFromGitHub {
owner = "mono";
repo = "dbus-sharp";
rev = "v${version}";
sha256 = "13qlqx9wqahfpzzl59157cjxprqcx2bd40w5gb2bs3vdx058p562";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ mono ];
dontStrip = true;
meta = with lib; {
description = "D-Bus for .NET";
platforms = platforms.linux;
license = licenses.mit;
};
}