1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-08-02 12:14:46 +02:00

make it easier to use a specific phpunit version

This commit is contained in:
Robin Appelman 2026-07-14 00:48:56 +02:00
commit d59b99211a
5 changed files with 27 additions and 12 deletions

View file

@ -45,12 +45,16 @@ in
doInstallCheck = false;
postInstall = ''
mv $out/bin/phpunit $out/bin/phpunit${majorVersion}
'';
meta = {
changelog = "https://github.com/sebastianbergmann/phpunit/blob/${finalAttrs.version}/ChangeLog-${lib.versions.majorMinor finalAttrs.version}.md";
description = "PHP Unit Testing framework";
homepage = "https://phpunit.de";
license = lib.licenses.bsd3;
mainProgram = "phpunit";
mainProgram = "phpunit${majorVersion}";
maintainers = with lib.maintainers; [onny];
teams = [lib.teams.php];
};