2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, pkg-config, autoreconfHook
|
2016-01-24 12:16:21 +00:00
|
|
|
, mono, gtk-sharp-3_0, dbus-sharp-1_0, dbus-sharp-glib-1_0 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "notify-sharp";
|
2016-01-24 12:16:21 +00:00
|
|
|
version = "3.0.3";
|
|
|
|
|
2020-08-31 22:08:13 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "Archive";
|
2016-01-24 12:16:21 +00:00
|
|
|
repo = "notify-sharp";
|
|
|
|
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2016-01-24 12:16:21 +00:00
|
|
|
sha256 = "1vm7mnmxdwrgy4mr07lfva8sa6a32f2ah5x7w8yzcmahaks3sj5m";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config autoreconfHook
|
2016-01-24 12:16:21 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
mono gtk-sharp-3_0
|
|
|
|
dbus-sharp-1_0 dbus-sharp-glib-1_0
|
|
|
|
];
|
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i 's#^[ \t]*DOCDIR=.*$#DOCDIR=$out/lib/monodoc#' ./configure.ac
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2016-01-24 12:16:21 +00:00
|
|
|
description = "D-Bus for .NET";
|
|
|
|
platforms = platforms.linux;
|
2018-10-25 19:42:49 +00:00
|
|
|
license = licenses.mit;
|
2016-01-24 12:16:21 +00:00
|
|
|
};
|
|
|
|
}
|