Commit c560c39f authored by Brandon Bennett's avatar Brandon Bennett
Browse files

starship-jj: init at 0.7.0

starship-jj is a plugin to the starship prompt utility to add some advanced support for the jujutsu VCS tool.

https://gitlab.com/lanastara_foss/starship-jj
parent 316eb971
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
{
  lib,
  fetchCrate,
  rustPlatform,
  nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "starship-jj";
  version = "0.7.0";

  src = fetchCrate {
    inherit (finalAttrs) pname version;
    hash = "sha256-oisz3V3UDHvmvbA7+t5j7waN9NykMUWGOpEB5EkmYew=";
  };

  cargoHash = "sha256-NNeovW27YSK/fO2DjAsJqBvebd43usCw7ni47cgTth8=";
  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Starship plugin for jj";
    homepage = "https://gitlab.com/lanastara_foss/starship-jj";
    changelog = "https://gitlab.com/lanastara_foss/starship-jj/-/blob/${finalAttrs.version}/CHANGELOG.md";
    maintainers = with lib.maintainers; [
      nemith
    ];
    license = lib.licenses.mit;
    mainProgram = "starship-jj";
  };
})