d9e13ed064
GitOrigin-RevId: a930f7da84786807bb105df40e76b541604c3e72
46 lines
1.2 KiB
Nix
46 lines
1.2 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, gettext, gtk3, dbus-glib, libXScrnSaver, libnotify, libxml2, pam, systemd, mate, wrapGAppsHook, mateUpdateScript }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mate-screensaver";
|
|
version = "1.26.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0xmgzrb5nk7x6ganf7jd4gmdafanx7f0znga0lhsd8kd40r40la1";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
gettext
|
|
libxml2 # provides xmllint
|
|
wrapGAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
dbus-glib
|
|
libXScrnSaver
|
|
libnotify
|
|
pam
|
|
systemd
|
|
mate.mate-desktop
|
|
mate.mate-menus
|
|
mate.mate-panel
|
|
];
|
|
|
|
configureFlags = [ "--without-console-kit" ];
|
|
|
|
makeFlags = [ "DBUS_SESSION_SERVICE_DIR=$(out)/etc" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|