diff options
Diffstat (limited to 'pkgs/applications/version-management/git-and-tools/git-machete/default.nix')
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/git-machete/default.nix | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/git-machete/default.nix b/pkgs/applications/version-management/git-and-tools/git-machete/default.nix index 3dd241840c7..d73ae5c960f 100644 --- a/pkgs/applications/version-management/git-and-tools/git-machete/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-machete/default.nix @@ -1,14 +1,17 @@ { lib, buildPythonApplication, fetchPypi , installShellFiles, pbr -, flake8, mock, pycodestyle, pylint, tox }: +, flake8, mock, pycodestyle, pylint, tox +, nix-update-script +, testVersion, git-machete +}: buildPythonApplication rec { pname = "git-machete"; - version = "3.2.1"; + version = "3.3.0"; src = fetchPypi { inherit pname version; - sha256 = "1sw6b1jaddacfm4kvvhgxn743khmsi1c4b4f5mgvm3rabv0h473h"; + sha256 = "0mq6hmb3wvj0ash27h4zyl46l3fikpf0mv3ng330lcy6v7bhy5b8"; }; nativeBuildInputs = [ installShellFiles pbr ]; @@ -23,6 +26,18 @@ buildPythonApplication rec { installShellCompletion --zsh --name _git-machete completion/git-machete.completion.zsh ''; + passthru = { + updateScript = nix-update-script { + attrPath = pname; + }; + + tests = { + version = testVersion { + package = git-machete; + }; + }; + }; + meta = with lib; { homepage = "https://github.com/VirtusLab/git-machete"; description = "Git repository organizer and rebase/merge workflow automation tool"; |