utsushi: fix build with SANE 1.1 and above

Patch utsushi's version checks so it builds with SANE versions 1.1 and
above. It's currently broken on NixOS 23.05.
This commit is contained in:
James Atkins 2023-06-12 18:46:17 -05:00
parent 46395e3a10
commit b8f05fdfb3

View file

@ -37,6 +37,10 @@ in stdenv.mkDerivation rec {
url = "https://raw.githubusercontent.com/archlinux/svntogit-community/b3046e0e78b95440f135fcadb19a9eb531729a58/trunk/boost-1.74.patch";
sha256 = "sha256-W8R1l7ZPcsfiIy1QBJvh0M8du0w1cnTg3PyAz65v4rE=";
})
(fetchpatch {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-gfx/iscan/files/iscan-3.65.0-sane-backends-1.1.patch";
sha256 = "sha256-AmMZ+/lrUMR7IU+S8MEn0Ji5pqOiD6izFJBsJ0tCCCw=";
})
];
nativeBuildInputs = [