mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
ee807863ee
s/system_config_printer/system-config-printer/
22 lines
604 B
Nix
22 lines
604 B
Nix
{ 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";
|
|
};
|
|
}
|