summary refs log tree commit diff
path: root/pkgs/desktops/kde-4.14/kdeutils/print-manager.nix
blob: e786c8f704198349ea4580b694fc51833b71b905 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ kde, kdelibs
, pythonPackages, cups, pyqt4, pykde4, pycups, system_config_printer }:

let s_c_p = system_config_printer.override { withGUI = false; }; in

kde rec {
  buildInputs = [ kdelibs pythonPackages.python pythonPackages.wrapPython
    ] ++ pythonPath;

  pythonPath = [ cups pyqt4 pykde4 pycups s_c_p ];

  # system-config-printer supplies some D-Bus policy that we need.
  propagatedUserEnvPkgs = [ s_c_p ];

  postInstall = "wrapPythonPrograms";

  meta = {
    description = "KDE printer manager";
    longDescription = "Applet to view current print jobs and configure new printers";
  };
}