39 lines
638 B
Nix
39 lines
638 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
mono,
|
|
dbus-sharp-1_0,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dbus-sharp-glib";
|
|
version = "0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mono";
|
|
repo = "dbus-sharp-glib";
|
|
|
|
rev = "v${version}";
|
|
sha256 = "0z8ylzby8n5sar7aywc8rngd9ap5qqznadsscp5v34cacdfz1gxm";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
autoreconfHook
|
|
];
|
|
buildInputs = [
|
|
mono
|
|
dbus-sharp-1_0
|
|
];
|
|
|
|
dontStrip = true;
|
|
|
|
meta = with lib; {
|
|
description = "D-Bus for .NET: GLib integration module";
|
|
platforms = platforms.linux;
|
|
license = licenses.mit;
|
|
};
|
|
}
|