about summary refs log tree commit diff
path: root/pkgs/build-support/fetchnextcloudapp
AgeCommit message (Collapse)AuthorFilesLines
2022-09-26fetchNextcloudApp: rewrite with fetchzip & applyPatchesMaximilian Bosch1-26/+21
There are the following issues with the current implementation: * `fetchurl` with a tarball from GitHub appears to break occasionally because the tarballs are not necessarily reproducible. Because of that, `fetchFromGitHub` unpacks the tarball already because the contents are actually reproducible in contrast to the tarball. To have the same behavior here, we use `fetchzip` now (and `applyPatches` on top to apply additional patches if needed). * Fixes the way how patches are applied. Previously, when having patches for a git checkout of the app, these wouldn't apply because the `appname-version` prefix is missing. * Because all old hashes are broken with this, I added an evaluation check that breaks evaluation when using the old API (i.e. with `name`/`version` which are not needed anymore).
2022-07-26fetchnextcloudapp: name -> pnameajs1241-1/+1
this way name and the storepath contain the version, which can be useful sometimes
2022-04-16treewide: remove nativeBuildInputs that are in stdenvBen Siraphob1-6/+1
2021-10-09nixos/nextcloud: fixup #119638Maximilian Bosch1-2/+1
A few minor changes to get #119638 - nextcloud: add option to set datadir and extensions - ready: * `cfg.datadir` now gets `cfg.home` as default to make the type non-nullable. * Enhanced the `basic` test to check the behavior with a custom datadir that's not `/var/lib/nextcloud`. * Fix hashes for apps in option example. * Simplify if/else for `appstoreenable` in override config. * Simplify a few `mapAttrsToList`-expressions in `nextcloud-setup.service`.
2021-10-09nixos/nextcloud: add settings to manage nextcloud appsRobbert Gurdeep Singh1-0/+38
Note the appstoreEnable which will prevent nextcloud form updating nix-managed apps. This is needed because nextcloud will store an other version of the app in /var/lib/nextcloud/store-apps and it will no longer be manageable.