anchor.diff:    #'';
   
     prePatch = ''
  -    sed -i s,/etc/sane.d,$out/etc/sane.d/, Makefile.in 
  +    sed -i s,/etc/sane.d,$out/etc/sane.d/, Makefile.in
     '';
  +
  +  # --disable-network-build Until we have snmp
   
     preConfigure = ''
       export configureFlags="$configureFlags
  
positive.code:       --with-icondir=$out/share/applications
        --with-systraydir=$out/xdg/autostart
        --with-mimedir=$out/etc/cups
        # Until we have snmp
        --disable-network-build"
  
      export makeFlags="
  
negative.code:   buildInputs = [libjpeg cups libusb python saneBackends dbus pkgconfig] ++
      stdenv.lib.optional qtSupport qt4;
  
    meta = with stdenv.lib; {
      description = "Print, scan and fax HP drivers for Linux";
      homepage = http://hplipopensource.com/;
      license = "free"; # MIT/BSD/GPL
      platforms = platforms.linux;
    };
  }
  