2024-04-21 15:54:59 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
2024-05-15 15:35:15 +00:00
|
|
|
, nix-update-script
|
2024-04-21 15:54:59 +00:00
|
|
|
, 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-06-20 14:57:18 +00:00
|
|
|
version = "11.2.2";
|
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-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-MhQxPZeg0mKDmy/iIUj+2oybBC3CoIYj2PWB+RBWq10=";
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
vendorHash = "sha256-w2Yu0T8omr8F7r5nBZOmRJE0LEdGQ3XAdxNZoK1sx1M=";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
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-05-15 15:35:15 +00:00
|
|
|
maintainers = with lib.maintainers; [ onny patka ] ++ lib.teams.php.members;
|
2023-03-04 12:14:45 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|