2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "git-interactive-rebase-tool";
|
2021-04-22 02:08:21 +00:00
|
|
|
version = "2.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MitMaro";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-04-22 02:08:21 +00:00
|
|
|
sha256 = "sha256-DYl/GUbeNtKmXoR3gq8mK8EfsZNVNlrdngAwfzG+epw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-22 02:08:21 +00:00
|
|
|
cargoSha256 = "sha256-1joMWPfn0s+pLsO6NHMT6AoXZ33R8MY2AWSrROY2mw8=";
|
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 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|