Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
36 lines
939 B
Nix
36 lines
939 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
php,
|
|
phpunit,
|
|
testers,
|
|
}:
|
|
|
|
php.buildComposerProject2 (finalAttrs: {
|
|
pname = "phpunit";
|
|
version = "11.3.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sebastianbergmann";
|
|
repo = "phpunit";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-bJdatRBrORR7KPcpRVIPYo2picQSfh8Pa0waeOZAH8Q=";
|
|
};
|
|
|
|
vendorHash = "sha256-wRgYEwbvvEGCp7/Rat+WUkvv04JqFHssHXtJjeQZo3o=";
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
tests.version = testers.testVersion { package = phpunit; };
|
|
};
|
|
|
|
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";
|
|
maintainers = with lib.maintainers; [ onny ] ++ lib.teams.php.members;
|
|
};
|
|
})
|