2020-02-03 02:15:10 +00:00
|
|
|
{ stdenv, ncurses5, fetchFromGitHub, rustPlatform, libiconv, Security }:
|
2020-02-02 06:25:29 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "git-interactive-rebase-tool";
|
|
|
|
version = "1.2.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MitMaro";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "10z3di2qypgsmg2z7xfs9nlrf9vng5i7l8dvqadv1l4lb9zz7i8q";
|
|
|
|
};
|
|
|
|
|
2020-02-26 04:05:14 +00:00
|
|
|
cargoSha256 = "0jc6mhszxmwsdjk73wkfi0jjp9vkzzl9kk0dbnry6w7dyr5if8cc";
|
2020-02-02 06:25:29 +00:00
|
|
|
|
2020-02-03 02:15:10 +00:00
|
|
|
buildInputs = [ ncurses5 ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
|
2020-02-02 06:25:29 +00:00
|
|
|
|
2020-02-03 00:43:54 +00:00
|
|
|
checkFlagsArray = [ "--test-threads=1" ];
|
|
|
|
|
2020-02-03 02:15:10 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-02-02 06:25:29 +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;
|
|
|
|
maintainers = with maintainers; [ masaeedu ];
|
|
|
|
};
|
|
|
|
}
|