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