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

63 lines
998 B
Nix
Raw Normal View History

{ 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.2";
sha256 = "sha256-j5K5i+hl/miyHste73akZL62K6YTxXmN8mmFK9BCecs=";
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;
};
}