2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus-glib, libXScrnSaver, libnotify, pam, systemd, mate, wrapGAppsHook }:
|
2017-12-31 14:11:14 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mate-screensaver-${version}";
|
2019-04-21 13:02:47 +01:00
|
|
|
version = "1.22.0";
|
2017-12-31 14:11:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-13 22:44:07 +00:00
|
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
2019-04-21 13:02:47 +01:00
|
|
|
sha256 = "17fxyccsc410wbyxmds1sm7gjqbj6z46x5cjk1791hfzf0sh82sy";
|
2017-12-31 14:11:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
2018-02-25 02:23:58 +00:00
|
|
|
dbus-glib
|
2017-12-31 14:11:14 +00:00
|
|
|
libXScrnSaver
|
|
|
|
libnotify
|
|
|
|
pam
|
|
|
|
systemd
|
2018-02-13 22:44:07 +00:00
|
|
|
mate.mate-desktop
|
|
|
|
mate.mate-menus
|
2017-12-31 14:11:14 +00:00
|
|
|
];
|
|
|
|
|
2018-07-25 22:44:21 +01:00
|
|
|
configureFlags = [ "--without-console-kit" ];
|
2017-12-31 14:11:14 +00:00
|
|
|
|
|
|
|
makeFlags = "DBUS_SESSION_SERVICE_DIR=$(out)/etc";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Screen saver and locker for the MATE desktop";
|
2019-04-15 00:25:45 +01:00
|
|
|
homepage = https://mate-desktop.org;
|
2017-12-31 14:11:14 +00:00
|
|
|
license = with licenses; [ gpl2Plus lgpl2Plus ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|