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 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
{ mkDerivation, fetchurl, makeWrapper, unzip, lib, php }:
|
||||
|
||||
let
|
||||
pname = "composer";
|
||||
version = "2.5.1";
|
||||
|
@ -7,7 +8,7 @@ mkDerivation {
|
|||
inherit pname version;
|
||||
|
||||
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=";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue