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

45 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2024-09-28 09:49:32 +05:30
{
lib,
fetchFromGitHub,
2025-03-29 19:44:20 +01:00
php82,
2025-07-04 13:48:42 +08:00
nix-update-script,
2024-09-28 09:49:32 +05:30
dataDir ? "/var/lib/agorakit",
}:
2025-03-29 19:44:20 +01:00
php82.buildComposerProject2 (finalAttrs: {
2024-09-28 09:49:32 +05:30
pname = "agorakit";
2025-07-04 13:57:13 +08:00
version = "1.11";
2024-09-28 09:49:32 +05:30
src = fetchFromGitHub {
2025-03-06 21:49:34 +01:00
owner = "agorakit";
repo = "agorakit";
2025-07-04 13:57:13 +08:00
tag = "v${finalAttrs.version}";
sha256 = "sha256-YCHszRi+atEkaM9bHncpRtQsuiS6P22yKSqYzXq8flk=";
2024-09-28 09:49:32 +05:30
};
installPhase = ''
runHook preInstall
mkdir -p $out
cp -R * $out
rm -rf $out/storage
ln -s ${dataDir}/.env $out/.env
ln -s ${dataDir}/storage $out/storage
runHook postInstall
'';
2025-07-04 13:57:13 +08:00
vendorHash = "sha256-tBB3Zl/N1XqPTD84at5WoGrD0G5rJbobk4E8BFOSm+M=";
2024-09-28 09:49:32 +05:30
composerStrictValidation = false;
2025-07-04 13:48:42 +08:00
passthru.updateScript = nix-update-script { };
2024-09-28 09:49:32 +05:30
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.";
homepage = "https://github.com/agorakit/agorakit";
license = lib.licenses.agpl3Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ shogo ];
2025-07-04 20:35:48 +08:00
teams = with lib.teams; [ ngi ];
2024-09-28 09:49:32 +05:30
};
})