48af15f7a5
GitOrigin-RevId: 04a2b269d8921505a2969fc9ec25c1f517f2b307
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.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0bb6ap8sdp4ad0xkh3y8vj46a363g5gdw0dzf9ycw0z9ah8ispfx";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|