depot/third_party/nixpkgs/pkgs/kde/plasma/kscreen/default.nix

17 lines
310 B
Nix
Raw Normal View History

{
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";
}