mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
62 lines
1.2 KiB
Nix
62 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, pkg-config
|
|
, gettext
|
|
, glib
|
|
, libcanberra-gtk3
|
|
, libnotify
|
|
, libwnck
|
|
, gtk-layer-shell
|
|
, gtk3
|
|
, libxml2
|
|
, mate-desktop
|
|
, mate-panel
|
|
, wrapGAppsHook3
|
|
, mateUpdateScript
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mate-notification-daemon";
|
|
version = "1.28.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
hash = "sha256-//71U76hW+z/XtQNZOGMI9O2ScRZnMHrHoL3BTOFOzQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
gettext
|
|
libxml2 # for xmllint
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
libcanberra-gtk3
|
|
libnotify
|
|
libwnck
|
|
gtk-layer-shell
|
|
gtk3
|
|
mate-desktop
|
|
mate-panel
|
|
];
|
|
|
|
configureFlags = [ "--enable-in-process" ];
|
|
|
|
env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname; };
|
|
|
|
meta = with lib; {
|
|
description = "Notification daemon for MATE Desktop";
|
|
mainProgram = "mate-notification-properties";
|
|
homepage = "https://github.com/mate-desktop/mate-notification-daemon";
|
|
license = with licenses; [ gpl2Plus gpl3Plus ];
|
|
platforms = platforms.unix;
|
|
maintainers = teams.mate.members;
|
|
};
|
|
}
|