anchor.diff: -{ lib, stdenv, writeScriptBin, fetchFromGitLab, autoreconfHook, pkg-config
  -, autoconf-archive, libxslt, boost , gtkmm2 , imagemagick, sane-backends
  -, tesseract4, udev, libusb1 }:
  +{ lib, stdenv, writeScriptBin, fetchpatch, fetchFromGitLab, autoreconfHook, pkg-config
  +, autoconf-archive, libxslt, boost, gtkmm2, imagemagick, sane-backends
  +, tesseract4, udev, libusb1
  +, withNetworkScan ? false, utsushi-networkscan
  +}:
   
   
   let
  
positive.code:   enableParallelBuilding = true;
  
    doInstallCheck = false;
  
    meta = with lib; {
      description = "SANE utsushi backend for some Epson scanners";
  
negative.code:       [ -r .rev ] && cat .rev || true
      fi
    '';
  
  in stdenv.mkDerivation rec {
    pname = "imagescan";
    version = "3.65.0";
  
    src = fetchFromGitLab {
      owner = "utsushi";
      repo = pname;
      rev = version;
      sha256 = "sha256-CrN9F/WJKmlDN7eozEHtKgGUQBWVwTqwjnrfiATk7lI=";
    };
  
    patches = [
      (fetchpatch {
        url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-gfx/iscan/files/iscan-3.63.0-autoconf-2.70.patch?id=4fe8a9e6c60f9163cadad830ba4935c069c67b10";
        sha256 = "sha256-2V4cextjcEQrywe4tvvD5KaVYdXnwdNhTiY/aSNx3mM=";
      })
      (fetchpatch {
        url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-gfx/iscan/files/iscan-3.61.0-imagemagick-7.patch?id=985c92af4730d864e86fa87746185b0246e9db93";
        sha256 = "sha256-dfdVMp3ZfclYeRxYjMIvl+ZdlLn9S+IwQ+OmlHW8318=";
      })
    ];
  
    nativeBuildInputs = [
      autoreconfHook
  