Skip to content

Commit

Permalink
php.packages.composer: 2.5.1 -> 2.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Mar 20, 2023
1 parent f5582fb commit d2629da
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions pkgs/development/php-packages/composer/default.nix
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d2629da

Please sign in to comment.