forked from mirrors/nixpkgs
php.packages.composer: update src
attribute
So it can be automatically updated with `nix-update`
This commit is contained in:
parent
7fc6b0e4a4
commit
50b6e06bfe
|
@ -1,4 +1,5 @@
|
||||||
{ mkDerivation, fetchurl, makeWrapper, unzip, lib, php }:
|
{ mkDerivation, fetchurl, makeWrapper, unzip, lib, php }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "composer";
|
pname = "composer";
|
||||||
version = "2.5.1";
|
version = "2.5.1";
|
||||||
|
@ -7,7 +8,7 @@ mkDerivation {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://getcomposer.org/download/${version}/composer.phar";
|
url = "https://github.com/composer/composer/releases/download/${version}/composer.phar";
|
||||||
sha256 = "sha256-8blP7hGlvWoarl13yNomnfJ8cF/MgG6/TIwub6hkXCA=";
|
sha256 = "sha256-8blP7hGlvWoarl13yNomnfJ8cF/MgG6/TIwub6hkXCA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue