{ lib, bundlerApp, bundlerUpdateScript }:

bundlerApp {
  pname = "taskjuggler";
  gemdir = ./.;

  exes = [
    "tj3" "tj3client" "tj3d" "tj3man" "tj3ss_receiver" "tj3ss_sender"
    "tj3ts_receiver" "tj3ts_sender" "tj3ts_summary" "tj3webd"
  ];

  passthru.updateScript = bundlerUpdateScript "taskjuggler";

  meta = with lib; {
    description = "Modern and powerful project management tool";
    homepage    = "https://taskjuggler.org/";
    license     = licenses.gpl2;
    platforms   = platforms.unix;
    maintainers = with maintainers; [ manveru nicknovitski ];
  };
}
