add hmr_enabler app

This commit is contained in:
Jonas Heinrich 2023-11-16 15:27:16 +01:00
parent ce1103dca8
commit e47363142d
4 changed files with 25 additions and 7 deletions

6
.gitmodules vendored
View file

@ -17,3 +17,9 @@
[submodule "files_fulltextsearch"]
path = files_fulltextsearch
url = https://github.com/nextcloud/files_fulltextsearch.git
[submodule "ical.js"]
path = ical.js
url = https://github.com/kewisch/ical.js.git
[submodule "calendar-js"]
path = calendar-js
url = https://github.com/nextcloud/calendar-js.git

@ -1 +1 @@
Subproject commit 56467f051c18b638b134335973f4cd2ab4f90927
Subproject commit 04eeeaabab222fb35a96bc43b5723e8f7d3607a4

View file

@ -21,6 +21,7 @@
phpPackages.composer
phpunit
nodejs
nodePackages.rollup
];
};
packages = { inherit start; };

View file

@ -43,12 +43,23 @@
package = pkgs.nextcloud27;
hostName = "localhost";
extraApps = with config.services.nextcloud.package.packages.apps; {
inherit contacts polls;
# hmr_enable = pkgs.fetchNextcloudApp rec {
# url = "https://github.com/nextcloud/hmr_enabler/archive/852acc47c64db1be85051197bf7939298059fe09.zip";
# sha256 = "sha256-eTc51pkg3OdHJB7X4/hD39Ce+9vKzw1nlJ7BhPOzlll=";
# };
inherit contacts;
hmr_enabler = pkgs.php.buildComposerProject (finalAttrs: {
pname = "hmr_enabler";
version = "1.0.0";
src = pkgs.fetchFromGitHub {
owner = "onny";
repo = "hmr_enabler";
rev = "85404e232344c856133e0b14e3ea30bbb8118034";
hash = "sha256-mxUTWQozqcnTnlHrUtfUcsAX+X/N0fcLiUec4cGjGdg=";
};
composerNoDev = false;
vendorHash = "sha256-ENfs9gsXtrWP7u8+LKDMQ+hhiP3UKtn6t5lPl6wKOdQ=";
postInstall = ''
cp -r $out/share/php/hmr_enabler/* $out/
rm -r $out/share
'';
});
};
extraAppsEnable = true;
config = {