anchor.diff:        inherit manual;
       };
   
  -    meta = with stdenv.lib; {
  +    meta = with lib; {
         homepage = "https://apps.ankiweb.net/";
         description = "Spaced repetition flashcard program";
         longDescription = ''
  
positive.code:       cp -rv anki aqt web $pp/
  
        wrapPythonPrograms
  
        # copy the manual into $doc
        cp -r ${manual}/share/doc/anki/html $doc/share/doc/anki
  
negative.code:       env HOME=$TMP pytest --ignore tests/test_sync.py
      '';
  
      dontWrapQtApps = true;
  
      installPhase = ''
        pp=$out/lib/${python.libPrefix}/site-packages
  
  