anchor.diff:    ] ++ lib.optional sqliteSupport sqlite
       ++ lib.optional postgresSupport postgresql
       ++ lib.optional redisSupport hiredis
  -    # drogon uses mariadb for mysql (see https://github.com/an-tao/drogon/wiki/ENG-02-Installation#Library-Dependencies)
  +    # drogon uses mariadb for mysql (see https://github.com/drogonframework/drogon/wiki/ENG-02-Installation#Library-Dependencies)
       ++ lib.optional mysqlSupport [ libmysqlclient mariadb ];
   
     patches = [
  
positive.code:   version = "1.7.1";
  
    src = fetchFromGitHub {
      owner = "an-tao";
      repo = "drogon";
      rev = "v${version}";
      sha256 = "0rhwbz3m5x3vy5zllfs8r347wqprg29pff5q7i53f25bh8y0n49i";
  
negative.code:   # modifying PATH here makes drogon_ctl visible to the test
    installCheckPhase = ''
      cd ..
      PATH=$PATH:$out/bin bash test.sh
    '';
  
    doInstallCheck = true;
  
    meta = with lib; {
      homepage = "https://github.com/drogonframework/drogon";
      description = "C++14/17 based HTTP web application framework";
      license = licenses.mit;
      maintainers = with maintainers; [ urlordjames ];
      platforms = platforms.all;
    };
  }
  