anchor.diff:  , pytest
   , glibcLocales
   , nose
  +, jsonschema
   , send2trash
   , CoreAudio
   # This little flag adds a huge number of dependencies, but we assume that
  
positive.code:     # when updating, also update rev-manual to a recent version of
      # https://github.com/dae/ankidocs
      # The manual is distributed independently of the software.
      version = "2.1.11";
      sha256-pkg = "0rcjam7f017yg0fx5apdc309lsx59lfw33nikczz7hrw6gby6z3q";
      rev-manual = "f933104fecd8a83c33494bdb2b59817a3318202f";
      sha256-manual = "12j4x1bh8x6yinym4d1ard32vfl22iq2wz1lfwz6s3ljhggkc52h";
  
      manual = stdenv.mkDerivation {
        name = "anki-manual-${version}";
  
negative.code: 
      propagatedBuildInputs = [
        pyqtwebengine sqlalchemy beautifulsoup4 send2trash pyaudio requests decorator
        markdown jsonschema
      ]
        ++ lib.optional plotsSupport matplotlib
        ++ lib.optional stdenv.isDarwin [ CoreAudio ]
  