1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/desktops/kde-4.7/utils/printer-applet.nix
Eelco Dolstra dd8cc506b5 * Update kdeutils.
svn path=/nixpkgs/branches/kde-4.7/; revision=27997
2011-07-29 12:31:07 +00:00

33 lines
902 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ kde, cmake, kdelibs, qt4, automoc4, phonon
, pythonPackages, sip, pyqt4, pykde4, pycups, rhpl, system_config_printer
, pythonDBus, makeWrapper }:
kde.package rec {
buildInputs =
[ cmake qt4 kdelibs automoc4 phonon
pythonPackages.python pythonPackages.wrapPython
] ++ pythonPath;
pythonPath = [ pyqt4 pykde4 pycups system_config_printer ];
postInstall =
''
wrapPythonPrograms
# system-config-printer supplies some D-Bus policy that we need.
mkdir -p $out/nix-support
echo ${system_config_printer} > $out/nix-support/propagated-user-env-packages
'';
meta = {
description = "KDE printer applet";
longDescription = "Applet to view current print jobs and configure new printers";
kde = {
name = "printer-applet";
module = "kdeutils";
version = "1.7";
versionFile = "printer-applet.py";
};
};
}