Merge pull request #272929 from gaelreyrol/symfony-cli-update-5.7.5

symfony-cli: 5.7.4 -> 5.7.5
This commit is contained in:
Pol Dellaiera 2023-12-08 22:06:41 +01:00 committed by GitHub
commit bfe017d957
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = {