nixpkgs/pkgs/kde/plasma/kscreen/default.nix
2024-09-20 08:54:48 +03:00

17 lines
312 B
Nix

{
mkKdeDerivation,
qtsensors,
dbus,
}:
mkKdeDerivation {
pname = "kscreen";
extraBuildInputs = [ qtsensors ];
postFixup = ''
substituteInPlace $out/share/kglobalaccel/org.kde.kscreen.desktop \
--replace-fail dbus-send ${dbus}/bin/dbus-send
'';
meta.mainProgram = "kscreen-console";
}