Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
997 B
Nix
38 lines
997 B
Nix
{
|
|
php,
|
|
fetchFromGitHub,
|
|
lib,
|
|
versionCheckHook,
|
|
}:
|
|
|
|
(php.withExtensions ({ enabled, all }: enabled ++ [ all.pcov ])).buildComposerProject2
|
|
(finalAttrs: {
|
|
pname = "paratest";
|
|
version = "7.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "paratestphp";
|
|
repo = "paratest";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-EH9lKI61hYYmTe7T8j1CIwiuRqgkouWnapJWvqo9iQQ=";
|
|
};
|
|
|
|
composerLock = ./composer.lock;
|
|
vendorHash = "sha256-8IpgE/s0ooZoecd7kVMixd5EGHcu/aNuMJ5RX6Zzt6w=";
|
|
|
|
nativeInstallCheckInputs = [
|
|
versionCheckHook
|
|
];
|
|
versionCheckProgramArg = "--version";
|
|
doInstallCheck = true;
|
|
|
|
meta = {
|
|
changelog = "https://github.com/paratestphp/paratest/releases/tag/v${finalAttrs.version}";
|
|
description = "Parallel testing for PHPUnit";
|
|
homepage = "https://github.com/paratestphp/paratest";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "paratest";
|
|
maintainers = [ lib.maintainers.patka ];
|
|
};
|
|
})
|