mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
phpPackages.composer: 2.6.4 -> 2.6.5
This commit is contained in:
parent
a2eb207f45
commit
3360cb0bb0
@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "composer-phar";
|
pname = "composer-phar";
|
||||||
version = "2.6.4";
|
version = "2.6.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/composer/composer/releases/download/${finalAttrs.version}/composer.phar";
|
url = "https://github.com/composer/composer/releases/download/${finalAttrs.version}/composer.phar";
|
||||||
hash = "sha256-Wjnz4s5bo5HuP+yyJ/ryE5D1t+1cVvFMq54cMEi8+Lg=";
|
hash = "sha256-mhjho6rby5TBuv1sSpj/kx9LQ6RW70hXUTBGbhnwXdY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -1,19 +1,16 @@
|
|||||||
{ lib, callPackage, fetchgit, php, unzip, _7zz, xz, git, curl, cacert, makeBinaryWrapper }:
|
{ lib, callPackage, fetchFromGitHub, php, unzip, _7zz, xz, git, curl, cacert, makeBinaryWrapper }:
|
||||||
|
|
||||||
php.buildComposerProject (finalAttrs: {
|
php.buildComposerProject (finalAttrs: {
|
||||||
composer = callPackage ../../../build-support/php/pkgs/composer-phar.nix { };
|
composer = callPackage ../../../build-support/php/pkgs/composer-phar.nix { };
|
||||||
|
|
||||||
pname = "composer";
|
pname = "composer";
|
||||||
version = "2.6.4";
|
version = "2.6.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
# We use `fetchgit` instead of `fetchFromGitHub` to ensure the existence
|
owner = "composer";
|
||||||
# of the `composer.lock` file, which is omitted in the archive downloaded
|
repo = "composer";
|
||||||
# via `fetchFromGitHub`.
|
|
||||||
src = fetchgit {
|
|
||||||
url = "https://github.com/composer/composer.git";
|
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-8lylMfTARff+gBZpIRqttmE0jeXdJnLHZKVmqHY3p+s=";
|
hash = "sha256-CKP7CYOuMKpuWdVveET2iLJPKJyCnv5YVjx4DE68UoE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||||
|
Loading…
Reference in New Issue
Block a user