f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
30 lines
833 B
Nix
30 lines
833 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, php
|
|
}:
|
|
|
|
php.buildComposerProject (finalAttrs: {
|
|
pname = "phpunit";
|
|
version = "11.2.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sebastianbergmann";
|
|
repo = "phpunit";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-f3xLLOLpbSbgYoGpJHvUpea+wOu2U3M6jxZy/Rxro20=";
|
|
};
|
|
|
|
vendorHash = "sha256-Gjii3m8wWmZbozKnJW/n9+wQUupemIU8XjmlCuTtfxU=";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
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;
|
|
};
|
|
})
|