mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
php.packages.composer: 2.5.1 -> 2.5.4
This commit is contained in:
parent
f5582fba22
commit
d2629daf0d
@ -1,20 +1,17 @@
|
|||||||
{ mkDerivation, fetchurl, makeWrapper, unzip, lib, php }:
|
{ mkDerivation, fetchurl, makeBinaryWrapper, unzip, lib, php }:
|
||||||
|
|
||||||
let
|
mkDerivation rec {
|
||||||
pname = "composer";
|
pname = "composer";
|
||||||
version = "2.5.1";
|
version = "2.5.4";
|
||||||
in
|
|
||||||
mkDerivation {
|
|
||||||
inherit pname version;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/composer/composer/releases/download/${version}/composer.phar";
|
url = "https://github.com/composer/composer/releases/download/${version}/composer.phar";
|
||||||
sha256 = "sha256-8blP7hGlvWoarl13yNomnfJ8cF/MgG6/TIwub6hkXCA=";
|
sha256 = "sha256-kc5sv5Rj6uhq6dXCHUL6pgGlGfP7srYjpV7iRngHm9M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
Loading…
Reference in New Issue
Block a user