bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
30 lines
839 B
Nix
30 lines
839 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, nix-update-script
|
|
, php
|
|
}:
|
|
|
|
php.buildComposerProject (finalAttrs: {
|
|
pname = "phpunit";
|
|
version = "11.2.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sebastianbergmann";
|
|
repo = "phpunit";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-MhQxPZeg0mKDmy/iIUj+2oybBC3CoIYj2PWB+RBWq10=";
|
|
};
|
|
|
|
vendorHash = "sha256-w2Yu0T8omr8F7r5nBZOmRJE0LEdGQ3XAdxNZoK1sx1M=";
|
|
|
|
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 patka ] ++ lib.teams.php.members;
|
|
};
|
|
})
|