at 23.05-pre 689 B view raw
1{ buildGoModule, fetchFromGitHub, lib }: 2 3buildGoModule rec { 4 pname = "symfony-cli"; 5 version = "5.4.19"; 6 vendorSha256 = "sha256-P5KEliTqj9kGYffhl014QK6qPY9gLG+bViOz4dtsQwA="; 7 8 src = fetchFromGitHub { 9 owner = "symfony-cli"; 10 repo = "symfony-cli"; 11 rev = "v${version}"; 12 sha256 = "sha256-GAsyI8I+tHFMV/LqwPx2ph+w3zaqKSn9vieVQcuO+y0="; 13 }; 14 15 postInstall = '' 16 mv $out/bin/symfony-cli $out/bin/symfony 17 ''; 18 19 # Tests requires network access 20 doCheck = false; 21 22 meta = with lib; { 23 description = "Symfony CLI"; 24 homepage = "https://github.com/symfony-cli/symfony-cli"; 25 license = licenses.agpl3Plus; 26 maintainers = with maintainers; [ drupol ]; 27 }; 28}