nixpkgs/pkgs/by-name/ph/phpunit/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
839 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, nix-update-script
, php
}:
2023-02-19 19:28:10 +00:00
php.buildComposerProject (finalAttrs: {
2023-02-19 19:28:10 +00:00
pname = "phpunit";
version = "11.1.3";
2023-02-19 19:28:10 +00:00
src = fetchFromGitHub {
owner = "sebastianbergmann";
repo = "phpunit";
rev = finalAttrs.version;
hash = "sha256-Wq2k44WpUhDhSyIx8ofn/jUR7FS3zn2CCe4OiFKHXEA=";
2023-02-19 19:28:10 +00:00
};
vendorHash = "sha256-kjMJCrMG08AXX662GAR5+V6w1+WOv8F9r6ONIOowP8Q=";
2023-02-19 19:28:10 +00:00
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/sebastianbergmann/phpunit/blob/${finalAttrs.version}/ChangeLog-${lib.versions.majorMinor finalAttrs.version}.md";
2023-02-19 19:28:10 +00:00
description = "PHP Unit Testing framework";
homepage = "https://phpunit.de";
license = lib.licenses.bsd3;
2023-12-05 15:39:01 +00:00
mainProgram = "phpunit";
maintainers = with lib.maintainers; [ onny patka ] ++ lib.teams.php.members;
2023-02-19 19:28:10 +00:00
};
})