Commit Graph

200 Commits

Author SHA1 Message Date
Maximilian Bosch
391a1245b6
nextcloud: stdenv -> stdenvNoCC 2023-10-09 17:43:06 +02:00
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
Isa
0ad1a333f5
nextcloud27: 27.1.1 -> 27.1.2 2023-10-07 16:11:34 +02:00
Robert Schütz
db9532dc44 nextcloudPackages: update 2023-09-24 09:42:53 -07:00
Sandro Jäckel
390b483468
nextcloud27: 27.1.0 -> 27.1.1 2023-09-21 17:11:48 +02:00
Sandro Jäckel
3aa88bee8a
nextcloud26: 26.0.6 -> 26.0.7 2023-09-21 17:11:40 +02:00
Sandro Jäckel
5c22d11861
nextcloud25: 25.0.11 -> 25.0.12 2023-09-21 17:11:29 +02:00
Sandro Jäckel
ff404e6b41
nextcloud27: 27.0.2 -> 27.1.0 2023-09-18 18:11:55 +02:00
Sandro Jäckel
3f2929850f
nextcloud26: 26.0.5 -> 26.0.6 2023-09-18 18:11:46 +02:00
Sandro Jäckel
d8f4c08f37
nextcloud25: 25.0.10 -> 25.0.11 2023-09-18 18:11:36 +02: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
986c328056
nextcloud26: 26.0.4 -> 26.0.5
ChangeLog: https://nextcloud.com/changelog/#26-0-4
2023-08-14 15:57:10 +02:00
Maximilian Bosch
4fba496c6a
nextcloud25: 25.0.9 -> 25.0.10
ChangeLog: https://nextcloud.com/changelog/#25-0-10
2023-08-14 15:56:36 +02:00
Maximilian Bosch
ff8121a615
nextcloudPackages*: update 2023-08-14 15:30:59 +02:00
Maximilian Bosch
7900a6ac9d
nextcloud: 27.0.1 -> 27.0.2
ChangeLog: https://nextcloud.com/changelog/#27-0-2
2023-08-14 15:30:09 +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
Robert Schütz
450f783631 nextcloud27: 27.0.0 -> 27.0.1
Changelog: https://nextcloud.com/changelog/#27-0-1
2023-07-20 12:22:48 -07:00
Robert Schütz
cf94e7529c nextcloud26: 26.0.3 -> 26.0.4
Changelog: https://nextcloud.com/changelog/#26-0-4
2023-07-20 12:20:15 -07:00
Robert Schütz
84232105ad nextcloud25: 25.0.8 -> 25.0.9
Changelog: https://nextcloud.com/changelog/#25-0-9
2023-07-20 12:13:06 -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
Robert Schütz
6b8186f405 nextcloud24: remove unused patch
nextcloud24 was removed in 430f1dcdbd
2023-07-13 05:29:19 -07:00
Maximilian Bosch
0b39fed163
nextcloud: 25.0.7 -> 25.0.8, 26.0.2 -> 26.0.3
ChangeLog: https://nextcloud.com/changelog/#26-0-3
ChangeLog: https://nextcloud.com/changelog/#25-0-8
2023-06-23 15:25:50 +02:00
Maximilian Bosch
67d1f272af
nextcloud: expose nextcloudXXPackages as nextcloudXX.packages
That way you can add packages like this in your `configuration.nix(8)`:

    extraApps = with config.services.nextcloud.package.packages.apps; {
      inherit calendar contacts;
    };

I.e. it's not necessary anymore to update the reference anymore when
upgrading to a new major.
2023-06-16 16:46:29 +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
Maximilian Bosch
d78f882005
nextcloud25: 25.0.6 -> 25.0.7
ChangeLog: https://nextcloud.com/changelog/#25-0-7
2023-06-09 12:29:54 +02:00
Raito Bezarius
2ede3cb621 nextcloud26: 26.0.1 -> 26.0.2
https://nextcloud.com/changelog/#26-0-2
2023-05-27 18:03:58 +02:00
Robert Schütz
3caff70464 nextcloud-notify_push: 0.6.2 -> 0.6.3
Diff: https://github.com/nextcloud/notify_push/compare/v0.6.2...v0.6.3
2023-05-18 01:29:50 -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
Sandro
89b5be094b
Merge pull request #223785 from dotlambda/nextcloud-previewgenerator-init
nextcloudPackages.apps.previewgenerator: init at 5.2.1
2023-03-30 16:12:05 +02:00
Robert Schütz
9e87f7dbde nextcloud-notify_push: 0.6.1 -> 0.6.2
Diff: https://github.com/nextcloud/notify_push/compare/v0.6.1...v0.6.2
2023-03-29 15:50:11 -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
Sandro Jäckel
282d3a0335
nextcloud-notify_push: 0.6.0 -> 0.6.1
Diff: https://github.com/nextcloud/notify_push/compare/v0.6.0...v0.6.1
2023-03-28 15:13:21 +02:00
Maximilian Bosch
8b4ba70235
nextcloud25: 25.0.4 -> 25.0.5
Changes: https://github.com/nextcloud/server/compare/v25.0.4...v25.0.5
2023-03-24 19:28:50 +01:00
Maximilian Bosch
f9bf71d5f1
nextcloud24: 24.0.10 -> 24.0.11
Changes: https://github.com/nextcloud/server/compare/v24.0.10...v24.0.11
2023-03-24 19:28:25 +01:00