depot/third_party/nixpkgs/pkgs/desktops/xfce/applications/xfce4-screensaver/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

62 lines
998 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.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;
};
}