From 2e71139235135f21acf043fc47abc01fa2f41f29 Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Tue, 14 Apr 2020 15:14:26 +0200 Subject: [PATCH 1/2] php.packages.phpcbf: 3.5.3 -> 3.5.4 Changelog: https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/3.5.4 Also switch to phpWithExtensions because it complained about missing extensions when running the binary. --- pkgs/top-level/php-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 28af31b73f2b..e4a999e67bc8 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -149,12 +149,12 @@ in }; phpcbf = mkDerivation rec { - version = "3.5.3"; + version = "3.5.4"; pname = "phpcbf"; src = pkgs.fetchurl { url = "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${version}/phpcbf.phar"; - sha256 = "1mrsf9p6p64pyqyylnlxb2b7cirdfccch83g7yhfnka3znffq86v"; + sha256 = "18x7fk59l821pivw1i2r868y78qgs0qk47b9il1smwi6plwyyflr"; }; phases = [ "installPhase" ]; @@ -163,7 +163,7 @@ in installPhase = '' mkdir -p $out/bin install -D $src $out/libexec/phpcbf/phpcbf.phar - makeWrapper ${php}/bin/php $out/bin/phpcbf \ + makeWrapper ${phpWithExtensions}/bin/php $out/bin/phpcbf \ --add-flags "$out/libexec/phpcbf/phpcbf.phar" ''; From 83c9620ac637796b159972e9589c15794b340740 Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Tue, 14 Apr 2020 15:15:32 +0200 Subject: [PATCH 2/2] php.packages.phpcs: 3.5.3 -> 3.5.4 Changelog: https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/3.5.4 Also switch to phpWithExtensions because it complained about missing extensions when running the binary. --- pkgs/top-level/php-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index e4a999e67bc8..4c6f4b4faeb8 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -176,12 +176,12 @@ in }; phpcs = mkDerivation rec { - version = "3.5.3"; + version = "3.5.4"; pname = "phpcs"; src = pkgs.fetchurl { url = "https://github.com/squizlabs/PHP_CodeSniffer/releases/download/${version}/phpcs.phar"; - sha256 = "0y4nhsifj4pdmf5g1nnm4951yjgiqswyz7wmjxx6kqiqc7chlkml"; + sha256 = "1lrybdxxig3yqd3i3nwji5jjn377p50sbpm4s4852dlsxz9qnlgs"; }; phases = [ "installPhase" ]; @@ -190,7 +190,7 @@ in installPhase = '' mkdir -p $out/bin install -D $src $out/libexec/phpcs/phpcs.phar - makeWrapper ${php}/bin/php $out/bin/phpcs \ + makeWrapper ${phpWithExtensions}/bin/php $out/bin/phpcs \ --add-flags "$out/libexec/phpcs/phpcs.phar" '';