2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gettext, gtk3, dbus-glib, libXScrnSaver, libnotify, libxml2, pam, systemd, mate, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mate-screensaver";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "1.24.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "0imb1z2yvz1h95dzq396c569kkxys9mb2dyc6qxxxcnc5w02a2dw";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
gettext
|
|
|
|
libxml2 # provides xmllint
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
dbus-glib
|
|
|
|
libXScrnSaver
|
|
|
|
libnotify
|
|
|
|
pam
|
|
|
|
systemd
|
|
|
|
mate.mate-desktop
|
|
|
|
mate.mate-menus
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--without-console-kit" ];
|
|
|
|
|
|
|
|
makeFlags = [ "DBUS_SESSION_SERVICE_DIR=$(out)/etc" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Screen saver and locker for the MATE desktop";
|
|
|
|
homepage = "https://mate-desktop.org";
|
|
|
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|