1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

sane-backends: update saneBackendsGit to the latest version

For some reason, SANE suddenly stopped recognizing my scanner recently:

 | $ scanimage -L
 |
 | No scanners were identified. If you were expecting something different,
 | check that the scanner is plugged in, turned on and detected by the
 | sane-find-scanner tool (if appropriate). Please read the documentation
 | which came with this software (README, FAQ, manpages).

I was able to remedy this issue by building SANE with the latest version
of the backends package from Git, by adding the following override to
~/.nixpkgs/config.nix:

 | {
 |   packageOverrides = pkgs:
 |   {
 |     saneBackends = pkgs.saneBackendsGit;
 |   };
 | }
This commit is contained in:
Peter Simons 2013-07-10 10:14:05 +02:00
parent 17962c1aa0
commit ea21636320

View file

@ -5,12 +5,12 @@ in
assert hotplugSupport -> (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"); assert hotplugSupport -> (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux");
stdenv.mkDerivation { stdenv.mkDerivation {
name = "sane-backends-1.0.22.482-g071f226"; name = "sane-backends-1.0.23.296-gf139120";
src = fetchgit { src = fetchgit {
url = "http://git.debian.org/git/sane/sane-backends.git"; url = "http://git.debian.org/git/sane/sane-backends.git";
rev = "071f2269cd68d3411cbfa05a3d028b74496db970"; rev = "f139120c72db6de98be95b52c206c2a4d8071e92";
sha256 = "178xkv30m6irk4k0gqnfcl5kramm1qyj24dar8gp32428z1444xf"; sha256 = "1b2fv19c8ijh9l0jjilli3j70n17wvcgpqq1nxmiby3ai6nrzk8d";
}; };
udevSupport = hotplugSupport; udevSupport = hotplugSupport;
@ -34,7 +34,7 @@ stdenv.mkDerivation {
meta = { meta = {
homepage = "http://www.sane-project.org/"; homepage = "http://www.sane-project.org/";
description = "Scanner Access Now Easy"; description = "Scanner Access Now Easy";
license = "GPLv2+"; license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.simons ]; maintainers = [ stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;