2014-09-20 10:09:11 +01:00
|
|
|
{ kde, kdelibs
|
2016-01-03 14:17:21 +00:00
|
|
|
, pythonPackages, cups, pyqt4, pykde4, pycups, system-config-printer }:
|
2014-09-20 10:09:11 +01:00
|
|
|
|
2016-01-03 14:17:21 +00:00
|
|
|
let s_c_p = system-config-printer.override { withGUI = false; }; in
|
2014-09-20 10:09:11 +01:00
|
|
|
|
|
|
|
kde rec {
|
|
|
|
buildInputs = [ kdelibs pythonPackages.python pythonPackages.wrapPython
|
|
|
|
] ++ pythonPath;
|
|
|
|
|
|
|
|
pythonPath = [ cups pyqt4 pykde4 pycups s_c_p ];
|
|
|
|
|
2015-01-18 06:08:00 +00:00
|
|
|
# system-config-printer supplies some D-Bus policy that we need.
|
|
|
|
propagatedUserEnvPkgs = [ s_c_p ];
|
2014-09-20 10:09:11 +01:00
|
|
|
|
2015-01-18 06:08:00 +00:00
|
|
|
postInstall = "wrapPythonPrograms";
|
2014-09-20 10:09:11 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE printer manager";
|
|
|
|
longDescription = "Applet to view current print jobs and configure new printers";
|
|
|
|
};
|
|
|
|
}
|