mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
dfa9e40a0f
Also switch to the new Composer builder
27 lines
882 B
Nix
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;
|
|
};
|
|
})
|