{ lib, bundlerApp, bundlerUpdateScript }:

bundlerApp {
  pname = "jazzy";
  gemdir = ./.;
  exes = [ "jazzy" ];

  passthru.updateScript = bundlerUpdateScript "jazzy";

  meta = with lib; {
    description     = "Command-line utility that generates documentation for Swift or Objective-C";
    homepage        = "https://github.com/realm/jazzy";
    license         = licenses.mit;
    platforms       = platforms.darwin;
    maintainers     = with maintainers; [
      peterromfeldhk
      nicknovitski
    ];
  };
}
