d994dabace
We do not use a "plugin system" for Git addons anymore, and therefore this directory is no longer useful. Indeed that directory is way more confusing, given that it includes more than mere Git addons, going from Bitbucket server command-line tools to complete rewrites of Git in exotic programming languages. Also, without this directory, the mental load of decision-making reduces a lot. When anyone is interested in including a new git-related tool, just put it into pkgs/applications/version-management, without apologies.
36 lines
1.3 KiB
Nix
36 lines
1.3 KiB
Nix
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "git-interactive-rebase-tool";
|
|
version = "2.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MitMaro";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-KqItunxh24jAkvsAMnByS+dhm+wyUqmdF96qEDs/5mI=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-510kNtcSsuXADMmSqu2t0HsnPUS/Jedsfvjnh2k+vDs=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
|
|
|
checkFlags = [
|
|
"--skip=external_editor::tests::edit_success"
|
|
"--skip=external_editor::tests::editor_non_zero_exit"
|
|
"--skip=external_editor::tests::empty_edit_abort_rebase"
|
|
"--skip=external_editor::tests::empty_edit_error"
|
|
"--skip=external_editor::tests::empty_edit_noop"
|
|
"--skip=external_editor::tests::empty_edit_re_edit_rebase_file"
|
|
"--skip=external_editor::tests::empty_edit_undo_and_edit"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/MitMaro/git-interactive-rebase-tool";
|
|
description = "Native cross platform full feature terminal based sequence editor for git interactive rebase";
|
|
changelog = "https://github.com/MitMaro/git-interactive-rebase-tool/releases/tag/${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ masaeedu SuperSandro2000 zowoq ];
|
|
mainProgram = "interactive-rebase-tool";
|
|
};
|
|
}
|