2022-01-13 20:06:32 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
buildGoModule rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "symfony-cli";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "5.4.12";
|
|
|
|
vendorSha256 = "sha256-P83dH+4vcf+UWphsqqJs03oJ47JLwUYt1cgnuCaM5lA=";
|
2022-01-13 20:06:32 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "symfony-cli";
|
|
|
|
repo = "symfony-cli";
|
|
|
|
rev = "v${version}";
|
2022-08-12 12:06:08 +00:00
|
|
|
sha256 = "sha256-8cJqcvBXjyy9Sk5ZYw0LZs1zPVWrc6udL3qKdIjTklI=";
|
2022-01-13 20:06:32 +00:00
|
|
|
};
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/symfony-cli $out/bin/symfony
|
|
|
|
'';
|
|
|
|
|
2022-01-13 20:06:32 +00:00
|
|
|
# Tests requires network access
|
|
|
|
doCheck = false;
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Symfony CLI";
|
2022-01-13 20:06:32 +00:00
|
|
|
homepage = "https://github.com/symfony-cli/symfony-cli";
|
|
|
|
license = licenses.agpl3Plus;
|
2021-06-28 23:13:55 +00:00
|
|
|
maintainers = with maintainers; [ drupol ];
|
|
|
|
};
|
|
|
|
}
|