anchor.diff:  , pytest
   , glibcLocales
   , nose
  +, send2trash
   # This little flag adds a huge number of dependencies, but we assume that
   # everyone wants Anki to draw plots with statistics by default.
   , plotsSupport ? true
  
positive.code:       cp -v anki.xml $out/share/mime/packages/
        cp -v anki.{png,xpm} $out/share/pixmaps/
        cp -rv locale $out/share/
        cp -rv anki aqt thirdparty/send2trash $pp/
  
        wrapPythonPrograms
      '';
  
negative.code:       sha256 = "0yjyxgpk79rplz9z2r93kmlk09ari6xxfrz1cfm2yl9v8zfw1n6l";
      };
  
      propagatedBuildInputs = [ pyqt4 sqlalchemy pyaudio beautifulsoup httplib2 send2trash ]
                              ++ lib.optional plotsSupport matplotlib;
  
      checkInputs = [ pytest glibcLocales nose ];
  