Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 24 lines 526 B view raw
1{stdenv, fetchFromGitHub, pkgconfig, dbus, mono, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 name = "dbus-sharp-${version}"; 5 version = "0.8.1"; 6 7 src = fetchFromGitHub { 8 owner = "mono"; 9 repo = "dbus-sharp"; 10 11 rev = "v${version}"; 12 sha256 = "1g5lblrvkd0wnhfzp326by6n3a9mj2bj7a7646g0ziwgsxp5w6y7"; 13 }; 14 15 nativeBuildInputs = [ pkgconfig autoreconfHook ]; 16 buildInputs = [ mono ]; 17 18 dontStrip = true; 19 20 meta = with stdenv.lib; { 21 description = "D-Bus for .NET"; 22 platforms = platforms.linux; 23 }; 24}