mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
nextcloud35: init at 35.0.0
This commit is contained in:
@@ -235,6 +235,10 @@
|
||||
|
||||
- The fwts efi-runtime kernel module was removed.
|
||||
|
||||
- `nextcloud35`: Added for the Nextcloud 35 major release.
|
||||
|
||||
See https://nextcloud.com/blog/nextcloud-hub26-summer/ for more details on the new major version.
|
||||
|
||||
- `homebox` v0.26.0 introduced a new, required value to be set, `HBOX_AUTH_API_KEY_PEPPER`. If one is not provided the module will create one, it is recommended that you back this up as it is part of API Key generation and validation.
|
||||
|
||||
- `nextpnr` introduced support for the nexus and gatemate architectures. Building support for each individual architecture can be configured using the package parameters.
|
||||
|
||||
@@ -5,7 +5,7 @@ self-hostable cloud platform. The server setup can be automated using
|
||||
[services.nextcloud](#opt-services.nextcloud.enable). A
|
||||
desktop client is packaged at `pkgs.nextcloud-client`.
|
||||
|
||||
The current default by NixOS is `nextcloud34` which is also the latest
|
||||
The current default by NixOS is `nextcloud35` which is also the latest
|
||||
major version available.
|
||||
|
||||
## Basic usage {#module-services-nextcloud-basic-usage}
|
||||
|
||||
@@ -468,6 +468,7 @@ in
|
||||
"nextcloud32"
|
||||
"nextcloud33"
|
||||
"nextcloud34"
|
||||
"nextcloud35"
|
||||
];
|
||||
};
|
||||
phpPackage = lib.mkPackageOption pkgs "php" {
|
||||
@@ -1196,7 +1197,7 @@ in
|
||||
{
|
||||
warnings =
|
||||
let
|
||||
latest = 34;
|
||||
latest = 35;
|
||||
upgradeWarning = major: nixos: ''
|
||||
A legacy Nextcloud install (from before NixOS ${nixos}) may be installed.
|
||||
|
||||
@@ -1230,7 +1231,8 @@ in
|
||||
++ (lib.optional (lib.versionOlder cfg.package.version "31") (upgradeWarning 30 "25.05"))
|
||||
++ (lib.optional (lib.versionOlder cfg.package.version "32") (upgradeWarning 31 "25.11"))
|
||||
++ (lib.optional (lib.versionOlder cfg.package.version "33") (upgradeWarning 32 "26.05"))
|
||||
++ (lib.optional (lib.versionOlder cfg.package.version "34") (upgradeWarning 33 "26.11"));
|
||||
++ (lib.optional (lib.versionOlder cfg.package.version "34") (upgradeWarning 33 "26.11"))
|
||||
++ (lib.optional (lib.versionOlder cfg.package.version "35") (upgradeWarning 34 "26.11"));
|
||||
|
||||
services.nextcloud.package = lib.mkDefault (
|
||||
if pkgs ? nextcloud then
|
||||
@@ -1246,7 +1248,7 @@ in
|
||||
else if lib.versionOlder stateVersion "26.11" then
|
||||
pkgs.nextcloud33
|
||||
else
|
||||
pkgs.nextcloud34
|
||||
pkgs.nextcloud35
|
||||
);
|
||||
|
||||
services.nextcloud.phpOptions = lib.mkMerge [
|
||||
|
||||
@@ -152,5 +152,6 @@ listToAttrs (
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
]
|
||||
)
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
nextcloud32Packages,
|
||||
nextcloud33Packages,
|
||||
nextcloud34Packages,
|
||||
nextcloud35Packages,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -74,6 +75,12 @@ in
|
||||
packages = nextcloud34Packages;
|
||||
};
|
||||
|
||||
nextcloud35 = generic {
|
||||
version = "35.0.0";
|
||||
hash = "sha256-2MFl52SnpN6C6z3sUQ1m4Z8tgiGFcmBK+cFdmamKKaA=";
|
||||
packages = nextcloud35Packages;
|
||||
};
|
||||
|
||||
# tip: get the sha with:
|
||||
# curl "https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha512" | grep '.tar.bz2' | cut -f1 -d' ' | xargs nix hash convert --hash-algo sha512 --to sri
|
||||
}
|
||||
|
||||
422
pkgs/servers/nextcloud/packages/35.json
Normal file
422
pkgs/servers/nextcloud/packages/35.json
Normal file
File diff suppressed because one or more lines are too long
@@ -2530,11 +2530,13 @@ with pkgs;
|
||||
nextcloud32
|
||||
nextcloud33
|
||||
nextcloud34
|
||||
nextcloud35
|
||||
;
|
||||
|
||||
nextcloud32Packages = callPackage ../servers/nextcloud/packages { ncVersion = "32"; };
|
||||
nextcloud33Packages = callPackage ../servers/nextcloud/packages { ncVersion = "33"; };
|
||||
nextcloud34Packages = callPackage ../servers/nextcloud/packages { ncVersion = "34"; };
|
||||
nextcloud35Packages = callPackage ../servers/nextcloud/packages { ncVersion = "35"; };
|
||||
|
||||
nextcloud-notify_push = callPackage ../servers/nextcloud/notify_push.nix { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user