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