Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitLab, pkg-config, autoreconfHook 2, mono, gtk-sharp-3_0, dbus-sharp-1_0, dbus-sharp-glib-1_0 }: 3 4stdenv.mkDerivation rec { 5 pname = "notify-sharp"; 6 version = "3.0.3"; 7 8 src = fetchFromGitLab { 9 domain = "gitlab.gnome.org"; 10 owner = "Archive"; 11 repo = "notify-sharp"; 12 13 rev = version; 14 sha256 = "1vm7mnmxdwrgy4mr07lfva8sa6a32f2ah5x7w8yzcmahaks3sj5m"; 15 }; 16 17 nativeBuildInputs = [ 18 pkg-config autoreconfHook 19 ]; 20 21 buildInputs = [ 22 mono gtk-sharp-3_0 23 dbus-sharp-1_0 dbus-sharp-glib-1_0 24 ]; 25 26 dontStrip = true; 27 28 postPatch = '' 29 sed -i 's#^[ \t]*DOCDIR=.*$#DOCDIR=$out/lib/monodoc#' ./configure.ac 30 ''; 31 32 meta = with lib; { 33 description = "D-Bus for .NET"; 34 platforms = platforms.linux; 35 license = licenses.mit; 36 }; 37}