2019-11-22 10:39:14 +01:00
|
|
|
{ lib, buildPythonApplication, fetchPypi
|
|
|
|
, installShellFiles, pbr
|
|
|
|
, flake8, mock, pycodestyle, pylint, tox }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "git-machete";
|
2020-09-20 20:32:57 +02:00
|
|
|
version = "2.15.6";
|
2019-11-22 10:39:14 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-09-20 20:32:57 +02:00
|
|
|
sha256 = "0ajb3m3i3pfc5v3gshglk7qphk1rpniwx8q8isgx1a6cyarzr9bd";
|
2019-11-22 10:39:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ installShellFiles pbr ];
|
|
|
|
|
|
|
|
# TODO: Add missing check inputs (2019-11-22):
|
|
|
|
# - stestr
|
|
|
|
doCheck = false;
|
|
|
|
checkInputs = [ flake8 mock pycodestyle pylint tox ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
installShellCompletion --bash --name git-machete completion/git-machete.completion.bash
|
|
|
|
installShellCompletion --zsh --name _git-machete completion/git-machete.completion.zsh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/VirtusLab/git-machete";
|
2020-03-22 17:48:01 +01:00
|
|
|
description = "Git repository organizer and rebase/merge workflow automation tool";
|
2019-11-22 10:39:14 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.blitz ];
|
|
|
|
};
|
|
|
|
}
|