290a5d916e
Based on "problems" from repology: https://repology.org/repository/nix_unstable/problems Mostly simple changes to reflect redirects.
41 lines
986 B
Nix
41 lines
986 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus-glib, libXScrnSaver, libnotify, pam, systemd, mate, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mate-screensaver-${version}";
|
|
version = "1.20.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "0kmaj4psg7261h02dzarga6k5cb7n709d60xbfrhywnf5fb9787i";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
intltool
|
|
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";
|
|
|
|
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 ];
|
|
};
|
|
}
|