mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
41 lines
1003 B
Nix
41 lines
1003 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus-glib, libXScrnSaver, libnotify, pam, systemd, mate, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mate-screensaver";
|
|
version = "1.22.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0c4qq5szsbfrz8hgkmlby2k7f1qs8kgqf2shd63z0pc8p6f47vvc";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|