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

41 lines
1001 B
Nix
Raw Normal View History

{ 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}";
version = "1.22.1";
2017-12-31 14:11:14 +00:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0c4qq5szsbfrz8hgkmlby2k7f1qs8kgqf2shd63z0pc8p6f47vvc";
2017-12-31 14:11:14 +00:00
};
nativeBuildInputs = [
pkgconfig
intltool
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";
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 ];
};
}