From 3020f0014c0604e9ab9619c96e57fdf9d28839a3 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Fri, 8 Jul 2022 18:22:14 +0200 Subject: [PATCH 1/3] php: sha256 -> hash --- pkgs/development/interpreters/php/8.0.nix | 2 +- pkgs/development/interpreters/php/8.1.nix | 2 +- pkgs/development/interpreters/php/generic.nix | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/interpreters/php/8.0.nix b/pkgs/development/interpreters/php/8.0.nix index 55a8f55a6799..f1ba12e06c02 100644 --- a/pkgs/development/interpreters/php/8.0.nix +++ b/pkgs/development/interpreters/php/8.0.nix @@ -3,7 +3,7 @@ let base = callPackage ./generic.nix (_args // { version = "8.0.20"; - sha256 = "y3Zmv2ftn2yYfUg2yvA9SzZFN+anXlbNXJhnYOzC/dg="; + hash = "sha256-y3Zmv2ftn2yYfUg2yvA9SzZFN+anXlbNXJhnYOzC/dg="; }); in diff --git a/pkgs/development/interpreters/php/8.1.nix b/pkgs/development/interpreters/php/8.1.nix index 7c289dbb6cbd..c5ffbea888c2 100644 --- a/pkgs/development/interpreters/php/8.1.nix +++ b/pkgs/development/interpreters/php/8.1.nix @@ -3,7 +3,7 @@ let base = callPackage ./generic.nix (_args // { version = "8.1.7"; - sha256 = "uBZ1PrAFUR5pXZCUXCcJPDI2zHPbEmJlbZ+t1z6tfp0="; + hash = "sha256-uBZ1PrAFUR5pXZCUXCcJPDI2zHPbEmJlbZ+t1z6tfp0="; }); in diff --git a/pkgs/development/interpreters/php/generic.nix b/pkgs/development/interpreters/php/generic.nix index 70052197d220..5984113574c2 100644 --- a/pkgs/development/interpreters/php/generic.nix +++ b/pkgs/development/interpreters/php/generic.nix @@ -29,7 +29,7 @@ let , xcbuild , version - , sha256 + , hash , extraPatches ? [ ] , packageOverrides ? (final: prev: { }) , phpAttrsOverrides ? (attrs: { }) @@ -290,7 +290,7 @@ let src = fetchurl { url = "https://www.php.net/distributions/php-${version}.tar.bz2"; - inherit sha256; + inherit hash; }; patches = [ ./fix-paths-php7.patch ] ++ extraPatches; From b429bc25083c82510e4505cea74c6c26c2cbd43c Mon Sep 17 00:00:00 2001 From: ajs124 Date: Fri, 8 Jul 2022 18:23:30 +0200 Subject: [PATCH 2/3] php80: 8.0.20 -> 8.0.21 https://www.php.net/ChangeLog-8.php#8.0.21 --- pkgs/development/interpreters/php/8.0.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/php/8.0.nix b/pkgs/development/interpreters/php/8.0.nix index f1ba12e06c02..193eabe6c01f 100644 --- a/pkgs/development/interpreters/php/8.0.nix +++ b/pkgs/development/interpreters/php/8.0.nix @@ -2,8 +2,8 @@ let base = callPackage ./generic.nix (_args // { - version = "8.0.20"; - hash = "sha256-y3Zmv2ftn2yYfUg2yvA9SzZFN+anXlbNXJhnYOzC/dg="; + version = "8.0.21"; + hash = "sha256-HLd2LR/+zOruuvufbiQTLKI/sUQ8tWMND8z1PwTPoSY="; }); in From e416f8806d273338effcef70acc3a43b7529fd10 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Fri, 8 Jul 2022 18:24:08 +0200 Subject: [PATCH 3/3] php81: 8.1.7 -> 8.1.8 Fixes CVE-2022-31627 https://www.php.net/ChangeLog-8.php#8.1.8 --- pkgs/development/interpreters/php/8.1.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/php/8.1.nix b/pkgs/development/interpreters/php/8.1.nix index c5ffbea888c2..e56ff13864bb 100644 --- a/pkgs/development/interpreters/php/8.1.nix +++ b/pkgs/development/interpreters/php/8.1.nix @@ -2,8 +2,8 @@ let base = callPackage ./generic.nix (_args // { - version = "8.1.7"; - hash = "sha256-uBZ1PrAFUR5pXZCUXCcJPDI2zHPbEmJlbZ+t1z6tfp0="; + version = "8.1.8"; + hash = "sha256-uIFaWgJDFFPUJh41mL0fKFFuTANU8yjBKJDyV4cOTAE="; }); in