anchor.diff:    ];
   
     preBuild = ''
  -    sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py
       substituteInPlace ./electrum_grs/ecc_fast.py \
         --replace ${libsecp256k1_name} ${secp256k1}/lib/libsecp256k1${stdenv.hostPlatform.extensions.sharedLibrary}
     '' + (if enableQt then ''
  
positive.code: 
    libzbar_name =
      if stdenv.isLinux then "libzbar.so.0"
      else "libzbar${stdenv.hostPlatform.extensions.sharedLibrary}";
  
  in
  
negative.code: }:
  
  let
    version = "4.3.1";
  
    libsecp256k1_name =
      if stdenv.isLinux then "libsecp256k1.so.0"
  