nixpkgs/pkgs/development/tools/symfony-cli/default.nix

30 lines
658 B
Nix
Raw Normal View History

2021-06-09 14:16:23 +02:00
{ stdenvNoCC, fetchurl, lib }:
stdenvNoCC.mkDerivation rec {
pname = "symfony-cli";
2021-10-28 22:41:12 +02:00
version = "4.26.8";
2021-06-09 14:16:23 +02:00
src = fetchurl {
url = "https://github.com/symfony/cli/releases/download/v${version}/symfony_linux_amd64.gz";
2021-10-28 22:41:12 +02:00
sha256 = "sha256-/9jsdl39TOkuNCB4G7orJH4qR4Spdt7VTsC1jelyLs0=";
2021-06-09 14:16:23 +02: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" ];
};
}