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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
789 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitLab, pkg-config, autoreconfHook
2016-01-24 13:16:21 +01:00
, mono, gtk-sharp-3_0, dbus-sharp-1_0, dbus-sharp-glib-1_0 }:
stdenv.mkDerivation rec {
pname = "notify-sharp";
2016-01-24 13:16:21 +01:00
version = "3.0.3";
2020-09-01 00:08:13 +02:00
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "Archive";
2016-01-24 13:16:21 +01:00
repo = "notify-sharp";
2019-09-09 01:38:31 +02:00
rev = version;
2016-01-24 13:16:21 +01:00
sha256 = "1vm7mnmxdwrgy4mr07lfva8sa6a32f2ah5x7w8yzcmahaks3sj5m";
};
nativeBuildInputs = [
pkg-config autoreconfHook
2016-01-24 13:16:21 +01: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 13:16:21 +01:00
description = "D-Bus for .NET";
platforms = platforms.linux;
2018-10-25 21:42:49 +02:00
license = licenses.mit;
2016-01-24 13:16:21 +01:00
};
}