anchor.diff:      cp -r ${manual}/share/doc/anki/html $doc/share/doc/anki
     '';
   
  +  # now wrapPythonPrograms from postFixup will add both python and qt env variables
     dontWrapQtApps = true;
   
     preFixup = ''
  
positive.code:   # UTF-8 locale needed for testing
    LC_ALL = "en_US.UTF-8";
  
    checkPhase = ''
      # - Anki writes some files to $HOME during tests
      # - Skip tests using network
      env HOME=$TMP pytest --ignore tests/test_sync.py
    '';
  
    installPhase = ''
  
negative.code:     ./no-version-check.patch
    ];
  
    # Anki does not use setup.py
    dontBuild = true;
  
    postPatch = ''
      # Remove QT translation files. We'll use the standard QT ones.
      rm "locale/"*.qm
  
  