mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
17 lines
310 B
Nix
17 lines
310 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";
|
|
}
|