Merge pull request #131141 from blitz/git-machete-update-script

git-machete: add test and update script

authored by

Jacek Galowicz and committed by
GitHub
3bbbf042 625cfa35

+16 -1
+16 -1
pkgs/applications/version-management/git-and-tools/git-machete/default.nix
··· 1 1 { lib, buildPythonApplication, fetchPypi 2 2 , installShellFiles, pbr 3 - , flake8, mock, pycodestyle, pylint, tox }: 3 + , flake8, mock, pycodestyle, pylint, tox 4 + , nix-update-script 5 + , testVersion, git-machete 6 + }: 4 7 5 8 buildPythonApplication rec { 6 9 pname = "git-machete"; ··· 22 25 installShellCompletion --bash --name git-machete completion/git-machete.completion.bash 23 26 installShellCompletion --zsh --name _git-machete completion/git-machete.completion.zsh 24 27 ''; 28 + 29 + passthru = { 30 + updateScript = nix-update-script { 31 + attrPath = pname; 32 + }; 33 + 34 + tests = { 35 + version = testVersion { 36 + package = git-machete; 37 + }; 38 + }; 39 + }; 25 40 26 41 meta = with lib; { 27 42 homepage = "https://github.com/VirtusLab/git-machete";