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";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "11.0.3";
|
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;
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-ASeALfqcDUoK2PSl88AJ3UgrLdesuH1o5UNq+ceGbxI=";
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
vendorHash = "sha256-2rG0ERgI5oVW3MuU8yFwgssoWX6zwUwXpro2IVkX7ac=";
|
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;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "phpunit";
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = [ lib.maintainers.onny ] ++ lib.teams.php.members;
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|