2021-06-09 12:16:23 +00:00
|
|
|
{ stdenvNoCC, fetchurl, lib }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "symfony-cli";
|
2021-09-16 19:29:14 +00:00
|
|
|
version = "4.26.3";
|
2021-06-09 12:16:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/symfony/cli/releases/download/v${version}/symfony_linux_amd64.gz";
|
2021-09-16 19:29:14 +00:00
|
|
|
sha256 = "sha256-les12GheTKr4XvZpE4YIyNMaXWizeB0COhDiMcYYC7o=";
|
2021-06-09 12:16:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
gunzip <$src >symfony
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D -t $out/bin symfony
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Symfony CLI";
|
|
|
|
homepage = "https://symfony.com/download";
|
|
|
|
license = licenses.unfree;
|
|
|
|
maintainers = with maintainers; [ drupol ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|