gradle-completion: add update script

This commit is contained in:
Tomodachi94 2024-11-07 05:55:51 +00:00 committed by Sandro Jäckel
parent 5c0fef8f13
commit a49f4cf7f5
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -3,6 +3,7 @@
stdenvNoCC,
fetchFromGitHub,
installShellFiles,
gitUpdater,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
@ -38,6 +39,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = {
description = "Gradle tab completion for bash and zsh";
homepage = "https://github.com/gradle/gradle-completion";