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:
commit
bfe017d957
1 changed files with 11 additions and 6 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue