Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 25 lines 446 B view raw
1{ 2 mkKdeDerivation, 3 pkg-config, 4 qtsensors, 5 qtwayland, 6 dbus, 7 wayland-protocols, 8}: 9mkKdeDerivation { 10 pname = "kscreen"; 11 12 extraNativeBuildInputs = [ pkg-config ]; 13 14 extraBuildInputs = [ 15 qtsensors 16 qtwayland 17 wayland-protocols 18 ]; 19 20 postFixup = '' 21 substituteInPlace $out/share/kglobalaccel/org.kde.kscreen.desktop \ 22 --replace-fail dbus-send ${dbus}/bin/dbus-send 23 ''; 24 meta.mainProgram = "kscreen-console"; 25}