depot/third_party/nixpkgs/pkgs/desktops/xfce/applications/xfce4-screensaver/default.nix

63 lines
1,018 B
Nix

{
mkXfceDerivation,
gobject-introspection,
dbus-glib,
garcon,
glib,
gtk3,
libX11,
libXScrnSaver,
libXrandr,
libwnck,
libxfce4ui,
libxfce4util,
libxklavier,
pam,
python3,
systemd,
xfconf,
lib,
}:
let
# For xfce4-screensaver-configure
pythonEnv = python3.withPackages (pp: [ pp.pygobject3 ]);
in
mkXfceDerivation {
category = "apps";
pname = "xfce4-screensaver";
version = "4.18.3";
sha256 = "sha256-hOhWJoiKoeRgkhXaR8rnDpcJpStMD4BBdll4nwSA+EQ=";
nativeBuildInputs = [
gobject-introspection
];
buildInputs = [
dbus-glib
garcon
glib
gtk3
libX11
libXScrnSaver
libXrandr
libwnck
libxfce4ui
libxfce4util
libxklavier
pam
pythonEnv
systemd
xfconf
];
configureFlags = [ "--without-console-kit" ];
makeFlags = [ "DBUS_SESSION_SERVICE_DIR=$(out)/etc" ];
meta = with lib; {
description = "Screensaver for Xfce";
maintainers = with maintainers; [ symphorien ] ++ teams.xfce.members;
};
}