nixpkgs/pkgs/development/libraries/notify-sharp/default.nix

38 lines
789 B
Nix
Raw Normal View History

{ 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 {
pname = "notify-sharp";
2016-01-24 12:16:21 +00:00
version = "3.0.3";
2020-08-31 23:08:13 +01:00
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "Archive";
2016-01-24 12:16:21 +00:00
repo = "notify-sharp";
2019-09-09 00:38:31 +01:00
rev = version;
2016-01-24 12:16:21 +00:00
sha256 = "1vm7mnmxdwrgy4mr07lfva8sa6a32f2ah5x7w8yzcmahaks3sj5m";
};
nativeBuildInputs = [
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
'';
meta = with lib; {
2016-01-24 12:16:21 +00:00
description = "D-Bus for .NET";
platforms = platforms.linux;
2018-10-25 20:42:49 +01:00
license = licenses.mit;
2016-01-24 12:16:21 +00:00
};
}