2021-06-09 13:16:23 +01:00
|
|
|
{ stdenvNoCC, fetchurl, lib }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "symfony-cli";
|
2021-06-18 20:01:56 +01:00
|
|
|
version = "4.25.4";
|
2021-06-09 13:16:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/symfony/cli/releases/download/v${version}/symfony_linux_amd64.gz";
|
2021-06-18 20:01:56 +01:00
|
|
|
sha256 = "94ade97d79e6949022ac45e4f8f9c025a9e3efa54a1a891a086a24eb9a9765a7";
|
2021-06-09 13:16:23 +01: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" ];
|
|
|
|
};
|
|
|
|
}
|