2022-04-27 09:35:20 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "git-interactive-rebase-tool";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "2.2.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MitMaro";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-KqItunxh24jAkvsAMnByS+dhm+wyUqmdF96qEDs/5mI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
cargoSha256 = "sha256-510kNtcSsuXADMmSqu2t0HsnPUS/Jedsfvjnh2k+vDs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-04-22 02:08:21 +00:00
|
|
|
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"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
2021-02-13 14:23:35 +00:00
|
|
|
maintainers = with maintainers; [ masaeedu SuperSandro2000 zowoq ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "interactive-rebase-tool";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|