anchor.diff:    meta = {
       description = "Brother brscan4 sane backend driver";
       homepage = "http://www.brother.com";
  -    platforms = lib.platforms.linux;
  +    platforms = [ "i686-linux" "x86_64-linux" ];
       license = lib.licenses.unfree;
       maintainers = with lib.maintainers; [ jraygauthier ];
     };
  
positive.code: { lib, stdenv, fetchurl, callPackage, patchelf, makeWrapper, coreutils, libusb-compat-0_1 }:
  
  let
    myPatchElf = file: with lib; ''
      patchelf --set-interpreter \
  
negative.code:       ${file}
    '';
  
    udevRules = callPackage ./udev_rules_type1.nix { };
  
  in
  stdenv.mkDerivation rec {
    pname = "brscan4";
    version = "0.4.9-1";
    src = {
      "i686-linux" = fetchurl {
        url = "http://download.brother.com/welcome/dlf006646/${pname}-${version}.i386.deb";
        sha256 = "0pkg9aqvnkpjnb9cgzf7lxw2g4jqrf2w98irkv22r0gfsfs3nwma";
      };
      "x86_64-linux" = fetchurl {
  
        url = "https://download.brother.com/welcome/dlf006645/${pname}-${version}.amd64.deb";
        sha256 = "0kakkl8rmsi2yr3f8vd1kk8vsl9g2ijhqil1cvvbwrhwgi0b7ai7";
      };
    }."${stdenv.hostPlatform.system}";
  
    unpackPhase = ''
      ar x $src
  