php.packages.composer: 2.5.1 -> 2.5.4

This commit is contained in:
Pol Dellaiera 2023-03-20 22:33:27 +01:00
parent f5582fba22
commit d2629daf0d
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -1,20 +1,17 @@
{ mkDerivation, fetchurl, makeWrapper, unzip, lib, php }:
{ mkDerivation, fetchurl, makeBinaryWrapper, unzip, lib, php }:
let
mkDerivation rec {
pname = "composer";
version = "2.5.1";
in
mkDerivation {
inherit pname version;
version = "2.5.4";
src = fetchurl {
url = "https://github.com/composer/composer/releases/download/${version}/composer.phar";
sha256 = "sha256-8blP7hGlvWoarl13yNomnfJ8cF/MgG6/TIwub6hkXCA=";
sha256 = "sha256-kc5sv5Rj6uhq6dXCHUL6pgGlGfP7srYjpV7iRngHm9M=";
};
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeBinaryWrapper ];
installPhase = ''
runHook preInstall