diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2021-06-09 14:16:23 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2021-06-09 20:28:10 +0200 |
commit | f1bbe0c2cacba75b96311ea0ffea8cd1222ed1ed (patch) | |
tree | 7b0ea3e3e53553aaa2379e81c4164a3c8f2bfd09 /pkgs/development/tools/symfony-cli | |
parent | 10eab5b6b3d1d38ffd3594fa6e4be13924dafd15 (diff) |
symfony-cli: init at 4.25.2
Diffstat (limited to 'pkgs/development/tools/symfony-cli')
-rw-r--r-- | pkgs/development/tools/symfony-cli/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/tools/symfony-cli/default.nix b/pkgs/development/tools/symfony-cli/default.nix new file mode 100644 index 0000000000000..eb12f9e1dcd70 --- /dev/null +++ b/pkgs/development/tools/symfony-cli/default.nix @@ -0,0 +1,29 @@ +{ stdenvNoCC, fetchurl, lib }: + +stdenvNoCC.mkDerivation rec { + pname = "symfony-cli"; + version = "4.25.2"; + + src = fetchurl { + url = "https://github.com/symfony/cli/releases/download/v${version}/symfony_linux_amd64.gz"; + sha256 = "8bfa53c1479883e9b48d2e4e5d3f6f7a511df73d65fe5c7b07a4890ee2c75c7e"; + }; + + 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" ]; + }; +} |