Skip to content

Commit

Permalink
gradle-completion: add update script
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed Nov 7, 2024
1 parent 830a40d commit 88e7524
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/by-name/gr/gradle-completion/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
stdenvNoCC,
fetchFromGitHub,
installShellFiles,
gitUpdater,
}:

stdenvNoCC.mkDerivation (finalAttrs: {
Expand Down Expand Up @@ -37,6 +38,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";
Expand Down

0 comments on commit 88e7524

Please sign in to comment.