nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, pkgconfig, mono, dbus-sharp-2_0, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 name = "dbus-sharp-glib-${version}";
5 version = "0.6";
6
7 src = fetchFromGitHub {
8 owner = "mono";
9 repo = "dbus-sharp-glib";
10
11 rev = "v${version}";
12 sha256 = "0i39kfg731as6j0hlmasgj8dyw5xsak7rl2dlimi1naphhffwzm8";
13 };
14
15 nativeBuildInputs = [ pkgconfig autoreconfHook ];
16 buildInputs = [ mono dbus-sharp-2_0 ];
17
18 dontStrip = true;
19
20 meta = with stdenv.lib; {
21 description = "D-Bus for .NET: GLib integration module";
22 platforms = platforms.linux;
23 license = licenses.mit;
24 };
25}