lol

hplip-3.11.1, enable polkit support

svn path=/nixpkgs/trunk/; revision=26178

+10 -6
+10 -6
pkgs/misc/drivers/hplip/default.nix
··· 1 - {stdenv, fetchurl, cups, zlib, libjpeg, libusb, python, saneBackends, dbus, pkgconfig 2 - , qtSupport ? false, qt4 1 + {stdenv, fetchurl, cups, zlib, libjpeg, libusb, python, saneBackends, dbus 2 + , pkgconfig, polkit, qtSupport ? false, qt4 3 3 }: 4 4 5 - stdenv.mkDerivation { 6 - name = "hplip-3.10.5"; 5 + stdenv.mkDerivation rec { 6 + name = "hplip-3.11.1"; 7 7 8 8 src = fetchurl { 9 - url = "http://prdownloads.sourceforge.net/hplip/hplip-3.10.5.tar.gz"; 10 - sha256 = "1lyl9nrdaih64cqw6fa7ivjf7a74bq8zn0gkj1gap47b04my608p"; 9 + url = "mirror://sourceforge/hplip/${name}.tar.gz"; 10 + sha256 = "0y68s4xm5d0kv7p5j41qq0xglp4vdbjwbrjs89b4a21wwn69hp9g"; 11 11 }; 12 12 13 13 #preBuild='' ··· 27 27 --with-icondir=$out/share/applications 28 28 --with-systraydir=$out/xdg/autostart 29 29 --with-mimedir=$out/etc/cups 30 + --enable-policykit 30 31 --disable-network-build" 31 32 32 33 export makeFlags=" 33 34 halpredir=$out/share/hal/fdi/preprobe/10osvendor 34 35 hplip_statedir=$out/var 35 36 rulesdir=$out/etc/udev/rules.d 37 + policykit_dir=$out/share/polkit-1/actions 38 + policykit_dbus_etcdir=$out/etc/dbus-1/system.d 39 + policykit_dbus_sharedir=$out/share/dbus-1/system-services 36 40 hplip_confdir=$out/etc/hp 37 41 "; 38 42 '';