mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
[26.05] nextcloud35: init at 35.0.0 (#565152)
This commit is contained in:
@@ -45,4 +45,3 @@
|
||||
### Additions and Improvements {#sec-nixpkgs-release-26.11-lib-additions-improvements}
|
||||
|
||||
- Create the first release note entry in this section!
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -467,6 +467,8 @@ in
|
||||
relatedPackages = [
|
||||
"nextcloud32"
|
||||
"nextcloud33"
|
||||
"nextcloud34"
|
||||
"nextcloud35"
|
||||
];
|
||||
};
|
||||
phpPackage = lib.mkPackageOption pkgs "php" {
|
||||
@@ -1195,7 +1197,7 @@ in
|
||||
{
|
||||
warnings =
|
||||
let
|
||||
latest = 33;
|
||||
latest = 35;
|
||||
upgradeWarning = major: nixos: ''
|
||||
A legacy Nextcloud install (from before NixOS ${nixos}) may be installed.
|
||||
|
||||
@@ -1228,7 +1230,9 @@ in
|
||||
++ (lib.optional (lib.versionOlder cfg.package.version "30") (upgradeWarning 29 "24.11"))
|
||||
++ (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 "33") (upgradeWarning 32 "26.05"))
|
||||
++ (lib.optional (lib.versionOlder cfg.package.version "34") (upgradeWarning 33 "26.05"))
|
||||
++ (lib.optional (lib.versionOlder cfg.package.version "35") (upgradeWarning 34 "26.05"));
|
||||
|
||||
services.nextcloud.package = lib.mkDefault (
|
||||
if pkgs ? nextcloud then
|
||||
|
||||
@@ -150,5 +150,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
@@ -2750,11 +2750,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