2024-04-21 15:54:59 +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-04-21 15:54:59 +00:00
|
|
|
version = "11.1.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;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-aS2mQeE8WnEaTexl8qhhfGyi1MP48s6fjrTXkVLq1LU=";
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
vendorHash = "sha256-kjMJCrMG08AXX662GAR5+V6w1+WOv8F9r6ONIOowP8Q=";
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
maintainers = [ lib.maintainers.onny lib.maintainers.patka ] ++ lib.teams.php.members;
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|