diff --git a/pkgs/development/tools/symfony-cli/default.nix b/pkgs/development/tools/symfony-cli/default.nix index c011c1048ecd..56602369245f 100644 --- a/pkgs/development/tools/symfony-cli/default.nix +++ b/pkgs/development/tools/symfony-cli/default.nix @@ -1,26 +1,28 @@ { buildGoModule , fetchFromGitHub , lib +, nix-update-script , testers , symfony-cli }: buildGoModule rec { pname = "symfony-cli"; - version = "5.7.4"; + version = "5.7.5"; vendorHash = "sha256-2+Q93tm3ooOd/m6aUWAwFGh5CzARPNISNx0Tcrjc7NY="; src = fetchFromGitHub { owner = "symfony-cli"; repo = "symfony-cli"; rev = "v${version}"; - hash = "sha256-d4cI/Nyn2XPvdZFLY7GHIAcmIUnzgyehGxZPylUD3EU="; + hash = "sha256-Zz2akBfrhuC2lOZdvpjDFwlxWd4NUhfoAPkoLpFLzwk="; }; ldflags = [ "-s" "-w" "-X main.version=${version}" + "-X main.channel=stable" ]; postInstall = '' @@ -30,10 +32,13 @@ buildGoModule rec { # Tests requires network access doCheck = false; - passthru.tests.version = testers.testVersion { - inherit version; - package = symfony-cli; - command = "symfony version --no-ansi"; + passthru = { + updateScript = nix-update-script { }; + tests.version = testers.testVersion { + inherit version; + package = symfony-cli; + command = "symfony version --no-ansi"; + }; }; meta = {