diff --git a/pkgs/development/php-packages/composer/default.nix b/pkgs/development/php-packages/composer/default.nix index c8ee78a3c5d0f..9b6779af04d66 100644 --- a/pkgs/development/php-packages/composer/default.nix +++ b/pkgs/development/php-packages/composer/default.nix @@ -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