1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

support clamav socket

This commit is contained in:
Robin Appelman 2025-06-16 18:48:11 +02:00
commit 200921a74c
4 changed files with 111 additions and 27 deletions

View file

@ -31,33 +31,34 @@
vendorHash = "sha256-H+XMRMvbUz/WCUdPRmL8nSCqa5YE3Qb1+goEQjjDK70=";
};
};
in php.buildComposerProject2 (finalAttrs: {
pname = "phpunit";
inherit (versions.${phpVersion}) version vendorHash;
in
php.buildComposerProject2 (finalAttrs: {
pname = "phpunit";
inherit (versions.${phpVersion}) version vendorHash;
src = fetchFromGitHub {
owner = "sebastianbergmann";
repo = "phpunit";
tag = finalAttrs.version;
inherit (versions.${phpVersion}) hash;
};
src = fetchFromGitHub {
owner = "sebastianbergmann";
repo = "phpunit";
tag = finalAttrs.version;
inherit (versions.${phpVersion}) hash;
};
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion { package = phpunit; };
};
passthru = {
updateScript = nix-update-script {};
tests.version = testers.testVersion {package = phpunit;};
};
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
nativeInstallCheckInputs = [versionCheckHook];
versionCheckProgramArg = "--version";
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 ];
teams = [ lib.teams.php ];
};
})
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];
teams = [lib.teams.php];
};
})