Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{lib, stdenv, fetchFromGitHub, pkg-config, mono, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 pname = "dbus-sharp";
5 version = "0.7";
6
7 src = fetchFromGitHub {
8 owner = "mono";
9 repo = "dbus-sharp";
10
11 rev = "v${version}";
12 sha256 = "13qlqx9wqahfpzzl59157cjxprqcx2bd40w5gb2bs3vdx058p562";
13 };
14
15 nativeBuildInputs = [ pkg-config autoreconfHook ];
16 buildInputs = [ mono ];
17
18 dontStrip = true;
19
20 meta = with lib; {
21 description = "D-Bus for .NET";
22 platforms = platforms.linux;
23 license = licenses.mit;
24 };
25}