agorakit: add updateScript and NGI team & 1.9.3 -> 1.11 (#422302)

This commit is contained in:
Aleksana
2025-07-05 09:54:23 +08:00
committed by GitHub
+8 -4
View File
@@ -2,18 +2,19 @@
lib,
fetchFromGitHub,
php82,
nix-update-script,
dataDir ? "/var/lib/agorakit",
}:
php82.buildComposerProject2 (finalAttrs: {
pname = "agorakit";
version = "1.9.3";
version = "1.11";
src = fetchFromGitHub {
owner = "agorakit";
repo = "agorakit";
tag = finalAttrs.version;
sha256 = "sha256-mBBl/8nXG3FsMeecbERLyY2tGFhh+5nS8A4nd7HI+8c=";
tag = "v${finalAttrs.version}";
sha256 = "sha256-YCHszRi+atEkaM9bHncpRtQsuiS6P22yKSqYzXq8flk=";
};
installPhase = ''
@@ -26,9 +27,11 @@ php82.buildComposerProject2 (finalAttrs: {
runHook postInstall
'';
vendorHash = "sha256-PBymOrvorGfByTBVu/r+kBxQya5qIlu07mfu4ttT7xs=";
vendorHash = "sha256-tBB3Zl/N1XqPTD84at5WoGrD0G5rJbobk4E8BFOSm+M=";
composerStrictValidation = false;
passthru.updateScript = nix-update-script { };
meta = {
description = "Web-based, open-source groupware";
longDescription = "AgoraKit is web-based, open-source groupware for citizens' initiatives. By creating collaborative groups, people can discuss topics, organize events, store files and keep everyone updated as needed. AgoraKit is a forum, calendar, file manager and email notifier.";
@@ -36,5 +39,6 @@ php82.buildComposerProject2 (finalAttrs: {
license = lib.licenses.agpl3Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ shogo ];
teams = with lib.teams; [ ngi ];
};
})