From 3c90c28124236b28da6ea3850b4badbc6f42a2bd Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Thu, 12 May 2022 11:42:27 +0200 Subject: [PATCH 1/2] phpPackages.box: 2.7.5 -> 3.16.0 The source has been moved to the new upstream since Box2 is abandonned. --- .../doc/manual/from_md/release-notes/rl-2205.section.xml | 8 ++++++++ nixos/doc/manual/release-notes/rl-2205.section.md | 2 ++ pkgs/development/php-packages/box/default.nix | 8 ++++---- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml index 36d3f4976db..6a24555de74 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml @@ -2297,6 +2297,14 @@ package has been updated to 6.0.0 and now requires .NET 6.0. + + + The phpPackages.box package has been + updated from 2.7.5 to 3.16.0. See the + upgrade + guide for more details. + + The zrepl package has been updated from diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md index 7926f6b9667..2149427d9d0 100644 --- a/nixos/doc/manual/release-notes/rl-2205.section.md +++ b/nixos/doc/manual/release-notes/rl-2205.section.md @@ -827,6 +827,8 @@ In addition to numerous new and upgraded packages, this release has the followin - The `vscode-extensions.ionide.ionide-fsharp` package has been updated to 6.0.0 and now requires .NET 6.0. +- The `phpPackages.box` package has been updated from 2.7.5 to 3.16.0. See the [upgrade guide](https://github.com/box-project/box/blob/master/UPGRADE.md#from-27-to-30) for more details. + - The `zrepl` package has been updated from 0.4.0 to 0.5: - The RPC protocol version was bumped; all zrepl daemons in a setup must be updated and restarted before replication can resume. diff --git a/pkgs/development/php-packages/box/default.nix b/pkgs/development/php-packages/box/default.nix index bc0f4ac636c..97b9bbc0f11 100644 --- a/pkgs/development/php-packages/box/default.nix +++ b/pkgs/development/php-packages/box/default.nix @@ -1,14 +1,14 @@ { mkDerivation, fetchurl, makeWrapper, lib, php }: let pname = "box"; - version = "2.7.5"; + version = "3.16.0"; in mkDerivation { inherit pname version; src = fetchurl { - url = "https://github.com/box-project/box2/releases/download/${version}/box-${version}.phar"; - sha256 = "1zmxdadrv0i2l8cz7xb38gnfmfyljpsaz2nnkjzqzksdmncbgd18"; + url = "https://github.com/box-project/box/releases/download/${version}/box.phar"; + sha256 = "sha256-9QjijzCdfpWjGb3NXxPc+7GOuRy3psrJtpvHeZ14vfk="; }; dontUnpack = true; @@ -27,7 +27,7 @@ mkDerivation { meta = with lib; { description = "An application for building and managing Phars"; license = licenses.mit; - homepage = "https://box-project.github.io/box2/"; + homepage = "https://github.com/box-project/box"; maintainers = with maintainers; [ jtojnar ] ++ teams.php.members; }; } From 74240cf1762616aa7090840fc7df8e0bfcabade8 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Thu, 12 May 2022 11:58:36 +0200 Subject: [PATCH 2/2] phpPackages.php-parallel-lint: 1.0.0 -> 1.3.2 Upstream has been modified to the advised fork which seems to be manaed by known members of the PHP community. --- .../php-packages/php-parallel-lint/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/php-packages/php-parallel-lint/default.nix b/pkgs/development/php-packages/php-parallel-lint/default.nix index d0335142490..be1736b5391 100644 --- a/pkgs/development/php-packages/php-parallel-lint/default.nix +++ b/pkgs/development/php-packages/php-parallel-lint/default.nix @@ -1,16 +1,16 @@ { mkDerivation, fetchFromGitHub, makeWrapper, lib, php }: let pname = "php-parallel-lint"; - version = "1.0.0"; + version = "1.3.2"; in mkDerivation { inherit pname version; src = fetchFromGitHub { - owner = "JakubOnderka"; + owner = "php-parallel-lint"; repo = "PHP-Parallel-Lint"; rev = "v${version}"; - sha256 = "16nv8yyk2z3l213dg067l6di4pigg5rd8yswr5xgd18jwbys2vnw"; + sha256 = "sha256-pTHH19HwqyOj5pSmH7l0JlntNVtMdu4K9Cl+qyrrg9U="; }; nativeBuildInputs = [ @@ -38,7 +38,7 @@ mkDerivation { meta = with lib; { description = "Tool to check syntax of PHP files faster than serial check with fancier output"; license = licenses.bsd2; - homepage = "https://github.com/JakubOnderka/PHP-Parallel-Lint"; + homepage = "https://github.com/php-parallel-lint/PHP-Parallel-Lint"; maintainers = with maintainers; [ jtojnar ] ++ teams.php.members; }; }