simple-scan: update 3.17.4 -> 3.17.90

Adds a dependency on PackageKit...

In better news:
- Default to PDF when saving in all cases.
- Always show file format options and use a combo box to fit better into
dialog.
- Detect HP scanners and install drivers using PackageKit if found.
- If SANE detects no scanners but we see USB IDs of Brother, Epson or
Samsung scanners then prompt the user to go to their website to install
drivers.
- Use GUsb instead of GUdev.
- Fix error dialogs not showing.

+17 -17
+17 -17
pkgs/applications/graphics/simple-scan/default.nix
··· 1 - { stdenv, fetchurl, cairo, colord, glib, gtk3, intltool, itstool, libxml2 2 - , makeWrapper, pkgconfig, saneBackends, systemd, vala }: 1 + { stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool, libusb, libxml2 2 + , makeWrapper, packagekit, pkgconfig, saneBackends, systemd, vala }: 3 3 4 - let version = "3.17.4"; in 4 + let version = "3.17.90"; in 5 5 stdenv.mkDerivation rec { 6 6 name = "simple-scan-${version}"; 7 7 8 8 src = fetchurl { 9 - sha256 = "1pslbv45g01g039zj2b01k08f763kkhzqw8wwz7yh27m7bjllnx6"; 9 + sha256 = "0xc3ln97dgvxrwy2qn82k9qvsr5kxksms4igzkivya3xpq2kx85c"; 10 10 url = "https://launchpad.net/simple-scan/3.17/${version}/+download/${name}.tar.xz"; 11 11 }; 12 12 13 + buildInputs = [ cairo colord glib gusb gtk3 libusb libxml2 packagekit 14 + saneBackends systemd vala ]; 15 + nativeBuildInputs = [ intltool itstool makeWrapper pkgconfig ]; 16 + 17 + enableParallelBuilding = true; 18 + 19 + doCheck = true; 20 + 21 + preFixup = '' 22 + wrapProgram "$out/bin/simple-scan" \ 23 + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 24 + ''; 25 + 13 26 meta = with stdenv.lib; { 14 27 description = "Simple scanning utility"; 15 28 longDescription = '' ··· 25 38 platforms = with platforms; linux; 26 39 maintainers = with maintainers; [ nckx ]; 27 40 }; 28 - 29 - buildInputs = [ cairo colord glib gtk3 libxml2 30 - saneBackends systemd vala ]; 31 - nativeBuildInputs = [ intltool itstool makeWrapper pkgconfig ]; 32 - 33 - enableParallelBuilding = true; 34 - 35 - doCheck = true; 36 - 37 - preFixup = '' 38 - wrapProgram "$out/bin/simple-scan" \ 39 - --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 40 - ''; 41 41 }