841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
33 lines
985 B
Nix
33 lines
985 B
Nix
{ lib, buildPythonApplication, fetchPypi
|
|
, installShellFiles, pbr
|
|
, flake8, mock, pycodestyle, pylint, tox }:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "git-machete";
|
|
version = "3.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1sw6b1jaddacfm4kvvhgxn743khmsi1c4b4f5mgvm3rabv0h473h";
|
|
};
|
|
|
|
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; {
|
|
homepage = "https://github.com/VirtusLab/git-machete";
|
|
description = "Git repository organizer and rebase/merge workflow automation tool";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.blitz ];
|
|
};
|
|
}
|