Commit Graph

89 Commits

Author SHA1 Message Date
Maximilian Bosch
bbc7d49666
nextcloud*Packages: update 2023-10-07 16:18:27 +02:00
Maximilian Bosch
efc5c80e18
nextcloud25: remove
EOL of Nextcloud v25 is scheduled by the end of this month.
2023-10-07 16:16:42 +02:00
Robert Schütz
db9532dc44 nextcloudPackages: update 2023-09-24 09:42:53 -07:00
Maximilian Bosch
c7589fc67c
nextcloud*Packages: update 2023-08-20 13:41:51 +02:00
Maximilian Bosch
c317dcec0d
nextcloud*Packages: expose proper license information
This change makes sure that each Nextcloud plugin installed provides a
`meta` section with proper license information.

Unfortunately, the metadata from the appstore is useless for this
purpose since it doesn't differentiate between e.g. AGPL 3.x and AGPL
3.x or any later version. In fact, this isn't consistent between their
software, e.g. `bookmarks` has `agpl3Plus` according to the files'
headers[1] whereas `twofactor_nextcloud_notification` is AGPL 3 only[2].

I don't think there's any trivial and reasonable way to retrieve this
information programatically, so I decided to change the format of
`nextcloud-apps.json`[3] to also contain the license in the form of the
license attribute we have in `lib/licenses.nix`, i.e. GNU AGPL 3 or
later is `agpl3Plus`.

I retrieved the information using the following approach:

* go to the source code of $app at the revision we currently have
  packaged
* check for a license identifier (does it specify the license only or
  the license "or any later version")?
  * first in `src/main.js` because most apps from Nextcloud itself used
    actual spdx identifiers in the frontend's source-code.
  * then in `lib/AppInfo/Application.php` which each Nextcloud app has.

License changes should be updated accordingly when updating the apps. As
with any other package in nixpkgs as well, this currently needs to be
done manually (or as part of the review process)[4].

Also, I decided to change the `name` of the `applyPatches` derivation
from `source-patched` to `nextcloud-app-${appName}-${appVersion}`. When
deploying a lot of apps (and probably displaying the diff using
`nix store diff-closures` on deploy), the current output isn't very
helpful. This is purely optional because I didn't want to break the
interface of `fetchNextcloudApp` again.

[1] https://github.com/nextcloud/bookmarks/blob/v13.1.0/lib/AppInfo/Application.php#L6
[2] https://github.com/nextcloud/twofactor_nextcloud_notification/blob/v3.7.0/lib/AppInfo/Application.php
[3] This isn't really well-defined since it's preprocessed with `jq(1)`
    before passing the apps to nc4nix.
[4] Though notable license changes (e.g. agpl -> gpl) would also pop up
    in the diff of <nextcloudversion>.json, so this is pretty easy to
    catch.
2023-08-20 13:39:44 +02:00
Raito Bezarius
c74490e000
nextcloud*Packages: add description, homepage, licenses from JSON
This ensures this data is replicated in the meta attribute.
2023-08-20 11:49:15 +02:00
Maximilian Bosch
519c64b1be
nextcloudPackages*: pin maps to stable 1.1.0
No idea what this gibberish disguised as tag is, but nc4nix doesn't seem
to cope well with it. For now, let's pin `maps` to the stable 1.1 release (as
it's the case for nextcloud27 already) since 1.1 is supported for all of
v25 to v27[1], so this seems reasonable to do.

[1] https://github.com/nextcloud/maps/blob/v1.1.0/appinfo/info.xml#L36
2023-08-14 23:43:20 +02:00
Maximilian Bosch
ff8121a615
nextcloudPackages*: update 2023-08-14 15:30:59 +02:00
Maximilian Bosch
06bfbdbc6b
nextcloud*Packages: update 2023-07-21 19:31:25 +02:00
Robert Schütz
9167341e3f nextcloudPackages: update 2023-07-20 12:24:10 -07:00
Matthieu Coudron
c39f24e4df nextcloudApps: update package sets 2023-07-18 00:09:58 +02:00
Matthieu Coudron
e44e079e80 nextcloud-apps.json: adds memories
an app that improves handling of photos in nextcloud with albums for instance
2023-07-18 00:09:58 +02:00
Maximilian Bosch
3c7af053f2
nextcloudPackages: add cospend, user_saml & maps 2023-06-16 16:42:09 +02:00
Maximilian Bosch
c92902f5b1
nextcloudPackages: update 27.json 2023-06-16 16:33:03 +02:00
Maximilian Bosch
5a2769d981
nextcloud27: init
Fixes #237560
2023-06-16 14:11:38 +02:00
Robert Schütz
1cb9ad9036 nextcloudPackages.apps.qownnotesapi: init at 23.6.0 2023-06-15 14:05:39 -07:00
Robert Schütz
fcf1a7e037 nextcloudPackages: update 2023-06-15 13:16:14 -07:00
Robert Schütz
2e30678017 nextcloudPackages: update 2023-06-13 14:45:16 -07:00
Robert Schütz
cac01149e7 nextcloudPackages: update 2023-05-18 01:29:50 -07:00
Robert Schütz
6301ccc20e nextcloudPackages: update 2023-04-23 12:31:14 -07:00
Maximilian Bosch
430f1dcdbd
nextcloud: remove nextcloud24, 25.0.5 -> 25.0.6, 26.0.0 -> 26.0.1 2023-04-20 11:34:54 +02:00
Robert Schütz
1370c12881 nextcloudPackages: update 2023-04-18 13:29:56 -07:00
Robert Schütz
5efbe9703d nextcloudPackages: update 2023-04-10 07:15:35 -07:00
Robert Schütz
9c3a588fa0 nextcloudPackages.apps.previewgenerator: init at 5.2.1 2023-03-29 13:23:42 -07:00
Robert Schütz
8373cbec30 nextcloudPackages: update 2023-03-28 18:43:27 -07:00
Maximilian Bosch
6a0b0a5de9 nextcloud: remove compat references to v23
This is not needed anymore because the version is EOL for almost a year
now and we don't even have the packages anymore, only the attributes for
compatibility for upgrades from older NixOS versions.
2023-03-22 22:37:17 +01:00
Raito Bezarius
2f9c4a7e74 nextcloud24Packages: update at various 2023-03-21 16:49:27 +01:00
Raito Bezarius
9a33d7d9db nextcloud25Packages: update at various 2023-03-21 16:49:19 +01:00
Raito Bezarius
1eddc824e2 nextcloud26Packages: init at various 2023-03-21 16:49:10 +01:00
Sandro Jäckel
017522f61a
nextcloud{24,25}Packages: update 2023-02-27 01:06:50 +01:00
Sandro
83b8193be9
Merge pull request #201780 from helsinki-systems/init/nextcloud-notify-push
nextcloud-notify-push: init at 0.5.0
2023-02-24 12:10:02 +01:00
Robert Schütz
47e8ca4c43 nextcloud24Packages: update 2023-02-23 12:25:51 -08:00
Robert Schütz
07a6fb6a7c nextcloud25Packages: update 2023-02-23 12:25:46 -08:00
ajs124
3b2a768f0f nextcloudPackages.notify_push: init 2023-02-21 15:05:16 +01:00
Sandro
cef47da8e5
Revert "nextcloud26: init at 26.0.0beta1" 2023-01-28 22:01:42 +01:00
Colin Arnott
546924dfb0
nextcloud26Packages: init at various
While we had to lie to generate.sh in order to get nc26 into the
running, and there are a lot of apps that have not released a compatible
version yet, for the ones that have, we are adding them alongside
nextcloud 26.0.0beta1.
2023-01-27 15:28:42 +00:00
Colin Arnott
c19fee7366
nextcloudPackages: init and update various
This includes the following new packages:

- files_texteditor
- files_markdown
- forms
- groupfolders
- impersonate
- registration
- spreed
- twofactor_nextcloud_notification
- twofactor_totp
- unsplash

And the following updated ones:

- bookmarks
- calendar
- contacts
- deck
- mail
- news
- polls
2023-01-10 11:06:20 +00:00
Naïm Favier
22ea90a4d8
.editorconfig: apply trailing whitespace removal
editorconfig-checker -disable-indent-size **/*.md
2022-12-29 01:40:50 +01:00
Jonas Heinrich
aec2518c5b nextcloudPackages: init 2022-11-15 07:17:35 -05:00