anchor.diff:  , pytest
   , glibcLocales
   , nose
  +, jsonschema
   , send2trash
   , CoreAudio
   # This little flag adds a huge number of dependencies, but we assume that
  
positive.code: 
      propagatedBuildInputs = [
        pyqtwebengine sqlalchemy beautifulsoup4 send2trash pyaudio requests decorator
        markdown
      ]
        ++ lib.optional plotsSupport matplotlib
        ++ lib.optional stdenv.isDarwin [ CoreAudio ]
  
negative.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.15";
      sha256-pkg = "12dvyf3j9df4nrhhnqbzd9b21rpzkh4i6yhhangn2zf7ch0pclss";
      rev-manual = "8f6387867ac37ef3fe9d0b986e70f898d1a49139";
      sha256-manual = "0pm5slxn78r44ggvbksz7rv9hmlnsvn9z811r6f63dsc8vm6mfml";
  
      manual = stdenv.mkDerivation {
        name = "anki-manual-${version}";
  