anchor.diff:  stdenv.mkDerivation {
     inherit name src;
   
  +  buildInputs = [
  +    libjpeg
  +    cups
  +    libusb1
  +    pythonPackages.python
  +    pythonPackages.wrapPython
  +    saneBackends
  +    dbus
  +    net_snmp
  +  ] ++ stdenv.lib.optional qtSupport qt4;
  +  nativeBuildInputs = [
  +    pkgconfig
  +  ];
  +
  +  pythonPath = with pythonPackages; [
  +    dbus
  +    pillow
  +    pygobject
  +    recursivePthLoader
  +    reportlab
  +  ] ++ stdenv.lib.optional qtSupport pyqt4;
  +
     prePatch = ''
       # HPLIP hardcodes absolute paths everywhere. Nuke from orbit.
       find . -type f -exec sed -i \
  
positive.code:     mv $out/etc/sane.d/dll.conf $out/etc/sane.d/dll.d/hpaio.conf
  
      rm $out/etc/udev/rules.d/56-hpmud.rules
      ''));
  
    buildInputs = [
        libjpeg
        cups
        libusb1
        pythonPackages.python
        pythonPackages.wrapPython
        saneBackends
        dbus
        net_snmp
      ] ++ stdenv.lib.optional qtSupport qt4;
    nativeBuildInputs = [
      pkgconfig
    ];
  
    pythonPath = with pythonPackages; [
        dbus
        pillow
        pygobject
        recursivePthLoader
        reportlab
      ] ++ stdenv.lib.optional qtSupport pyqt4;
  
    meta = with stdenv.lib; {
      description = "Print, scan and fax HP drivers for Linux";
  
negative.code:   '';
  
    postInstall =
      (stdenv.lib.optionalString withPlugin
      (let hplip_arch =
            if stdenv.system == "i686-linux" then "x86_32"
            else if stdenv.system == "x86_64-linux" then "x86_64"
  