3
0
Fork 0
forked from mirrors/nixpkgs

php.packages.composer: update src attribute

So it can be automatically updated with `nix-update`
This commit is contained in:
Pol Dellaiera 2022-12-25 19:46:47 +01:00
parent 7fc6b0e4a4
commit 50b6e06bfe
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -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=";
};