2023-10-09 19:29:22 +00:00
|
|
|
{ lib, fetchFromGitHub, php }:
|
2023-03-04 12:14:45 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
php.buildComposerProject (finalAttrs: {
|
2023-03-04 12:14:45 +00:00
|
|
|
pname = "phpunit";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "10.4.1";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sebastianbergmann";
|
|
|
|
repo = "phpunit";
|
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-AKUMCa8QuXqE0HrMaxR8SvhdoYjL/CmaTzf5UhszPPw=";
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
# TODO: Open a PR against https://github.com/sebastianbergmann/phpunit
|
|
|
|
# Missing `composer.lock` from the repository.
|
|
|
|
composerLock = ./composer.lock;
|
|
|
|
vendorHash = "sha256-xFXf9Nc6OxvZJ4Bt9zFhhdsJY4VwnztfCE4j5tOqQKQ=";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
meta = {
|
|
|
|
changelog = "https://github.com/sebastianbergmann/phpunit/blob/${finalAttrs.version}/ChangeLog-${lib.versions.majorMinor finalAttrs.version}.md";
|
2023-03-04 12:14:45 +00:00
|
|
|
description = "PHP Unit Testing framework";
|
|
|
|
homepage = "https://phpunit.de";
|
2023-10-09 19:29:22 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.onny ] ++ lib.teams.php.members;
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|