ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / by-name / ph / phpunit / package.nix
blob9bf5dc0a73c2c1ed5fcff99aa0f124e2f5709eff
2   lib,
3   fetchFromGitHub,
4   nix-update-script,
5   php,
6   phpunit,
7   testers,
8 }:
10 php.buildComposerProject2 (finalAttrs: {
11   pname = "phpunit";
12   version = "11.5.0";
14   src = fetchFromGitHub {
15     owner = "sebastianbergmann";
16     repo = "phpunit";
17     rev = finalAttrs.version;
18     hash = "sha256-krlQu5zDxAjpM3zwaqty1p7ZJccnX8+Ru+AsXKSbcDY=";
19   };
21   vendorHash = "sha256-kz8vSl9OO4kTSYlJa79fca5XVdhyUwVFCyvdJdbYLAQ=";
23   passthru = {
24     updateScript = nix-update-script { };
25     tests.version = testers.testVersion { package = phpunit; };
26   };
28   meta = {
29     changelog = "https://github.com/sebastianbergmann/phpunit/blob/${finalAttrs.version}/ChangeLog-${lib.versions.majorMinor finalAttrs.version}.md";
30     description = "PHP Unit Testing framework";
31     homepage = "https://phpunit.de";
32     license = lib.licenses.bsd3;
33     mainProgram = "phpunit";
34     maintainers = with lib.maintainers; [ onny ] ++ lib.teams.php.members;
35   };