nixpkgs/pkgs/development/tools/misc/phpunit/default.nix
Pol Dellaiera dfa9e40a0f phpunit: 10.3.3 -> 10.4.1
Also switch to the new Composer builder
2023-10-09 10:16:24 +02:00

27 lines
882 B
Nix

{ lib, fetchFromGitHub, php }:
php.buildComposerProject (finalAttrs: {
pname = "phpunit";
version = "10.4.1";
src = fetchFromGitHub {
owner = "sebastianbergmann";
repo = "phpunit";
rev = finalAttrs.version;
hash = "sha256-AKUMCa8QuXqE0HrMaxR8SvhdoYjL/CmaTzf5UhszPPw=";
};
# TODO: Open a PR against https://github.com/sebastianbergmann/phpunit
# Missing `composer.lock` from the repository.
composerLock = ./composer.lock;
vendorHash = "sha256-xFXf9Nc6OxvZJ4Bt9zFhhdsJY4VwnztfCE4j5tOqQKQ=";
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;
maintainers = [ lib.maintainers.onny ] ++ lib.teams.php.members;
};
})