nixpkgs/pkgs/desktops/mate/mate-screensaver/default.nix

44 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gettext, gtk3, dbus-glib, libXScrnSaver, libnotify, libxml2, pam, systemd, mate, wrapGAppsHook }:
2017-12-31 14:11:14 +00:00
stdenv.mkDerivation rec {
pname = "mate-screensaver";
version = "1.24.0";
2017-12-31 14:11:14 +00:00
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0gpw6x9d0b77f14vjl7ghq5dya1mwcnvmgigg00manfwlksr5zby";
2017-12-31 14:11:14 +00:00
};
nativeBuildInputs = [
pkgconfig
gettext
libxml2 # provides xmllint
2017-12-31 14:11:14 +00:00
wrapGAppsHook
];
buildInputs = [
gtk3
dbus-glib
2017-12-31 14:11:14 +00:00
libXScrnSaver
libnotify
pam
systemd
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" ];
2017-12-31 14:11:14 +00:00
2020-02-14 21:52:51 +00:00
enableParallelBuilding = true;
2017-12-31 14:11:14 +00:00
meta = with stdenv.lib; {
description = "Screen saver and locker for the MATE desktop";
homepage = "https://mate-desktop.org";
2017-12-31 14:11:14 +00:00
license = with licenses; [ gpl2Plus lgpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}