11{ lib
2- , stdenv
2+ , gitUpdater
33, fetchFromGitHub
4+ , qt6Packages
45, cmake
56, extra-cmake-modules
67, inotify-tools
1112, openssl
1213, pcre
1314, pkg-config
14- , qt5compat
15- , qtbase
16- , qtkeychain
17- , qtsvg
18- , qttools
19- , qtwebengine
20- , qtwebsockets
2115, sphinx
2216, sqlite
2317, xdg-utils
24- , qtwayland
25- , wrapQtAppsHook
2618} :
2719
28- stdenv . mkDerivation rec {
20+ qt6Packages . stdenv . mkDerivation rec {
2921 pname = "nextcloud-client" ;
3022 version = "3.14.3" ;
3123
@@ -34,7 +26,7 @@ stdenv.mkDerivation rec {
3426 src = fetchFromGitHub {
3527 owner = "nextcloud-releases" ;
3628 repo = "desktop" ;
37- rev = "refs/tags/ v${ version } " ;
29+ tag = "v${ version } " ;
3830 hash = "sha256-nYoBs5EnWiqYRsqc5CPxCIs0NAxSprI9PV0lO/c8khw=" ;
3931 } ;
4032
@@ -55,7 +47,7 @@ stdenv.mkDerivation rec {
5547 extra-cmake-modules
5648 librsvg
5749 sphinx
58- wrapQtAppsHook
50+ qt6Packages . wrapQtAppsHook
5951 ] ;
6052
6153 buildInputs = [
@@ -65,15 +57,15 @@ stdenv.mkDerivation rec {
6557 libsecret
6658 openssl
6759 pcre
68- qt5compat
69- qtbase
70- qtkeychain
71- qtsvg
72- qttools
73- qtwebengine
74- qtwebsockets
60+ qt6Packages . qt5compat
61+ qt6Packages . qtbase
62+ qt6Packages . qtkeychain
63+ qt6Packages . qtsvg
64+ qt6Packages . qttools
65+ qt6Packages . qtwebengine
66+ qt6Packages . qtwebsockets
67+ qt6Packages . qtwayland
7568 sqlite
76- qtwayland
7769 ] ;
7870
7971 qtWrapperArgs = [
@@ -92,13 +84,15 @@ stdenv.mkDerivation rec {
9284 make doc-man
9385 '' ;
9486
95- meta = with lib ; {
87+ passthru . updateScript = gitUpdater { rev-prefix = "v" ; } ;
88+
89+ meta = {
9690 changelog = "https://github.com/nextcloud/desktop/releases/tag/v${ version } " ;
9791 description = "Desktop sync client for Nextcloud" ;
9892 homepage = "https://nextcloud.com" ;
99- license = licenses . gpl2Plus ;
100- maintainers = with maintainers ; [ kranzes SuperSandro2000 ] ;
101- platforms = platforms . linux ;
93+ license = lib . licenses . gpl2Plus ;
94+ maintainers = with lib . maintainers ; [ kranzes SuperSandro2000 ] ;
95+ platforms = lib . platforms . linux ;
10296 mainProgram = "nextcloud" ;
10397 } ;
10498}
0 commit comments