nextcloud-client: move to by-name, tweak

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew
2024-12-28 20:01:41 -03:00
parent 0e8de0aded
commit a213da1d8b
3 changed files with 19 additions and 27 deletions
@@ -1,6 +1,7 @@
{ lib
, stdenv
, gitUpdater
, fetchFromGitHub
, qt6Packages
, cmake
, extra-cmake-modules
, inotify-tools
@@ -11,21 +12,12 @@
, openssl
, pcre
, pkg-config
, qt5compat
, qtbase
, qtkeychain
, qtsvg
, qttools
, qtwebengine
, qtwebsockets
, sphinx
, sqlite
, xdg-utils
, qtwayland
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
qt6Packages.stdenv.mkDerivation rec {
pname = "nextcloud-client";
version = "3.14.3";
@@ -34,7 +26,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "nextcloud-releases";
repo = "desktop";
rev = "refs/tags/v${version}";
tag = "v${version}";
hash = "sha256-nYoBs5EnWiqYRsqc5CPxCIs0NAxSprI9PV0lO/c8khw=";
};
@@ -55,7 +47,7 @@ stdenv.mkDerivation rec {
extra-cmake-modules
librsvg
sphinx
wrapQtAppsHook
qt6Packages.wrapQtAppsHook
];
buildInputs = [
@@ -65,15 +57,15 @@ stdenv.mkDerivation rec {
libsecret
openssl
pcre
qt5compat
qtbase
qtkeychain
qtsvg
qttools
qtwebengine
qtwebsockets
qt6Packages.qt5compat
qt6Packages.qtbase
qt6Packages.qtkeychain
qt6Packages.qtsvg
qt6Packages.qttools
qt6Packages.qtwebengine
qt6Packages.qtwebsockets
qt6Packages.qtwayland
sqlite
qtwayland
];
qtWrapperArgs = [
@@ -92,13 +84,15 @@ stdenv.mkDerivation rec {
make doc-man
'';
meta = with lib; {
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = {
changelog = "https://github.com/nextcloud/desktop/releases/tag/v${version}";
description = "Desktop sync client for Nextcloud";
homepage = "https://nextcloud.com";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ kranzes SuperSandro2000 ];
platforms = platforms.linux;
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ kranzes SuperSandro2000 ];
platforms = lib.platforms.linux;
mainProgram = "nextcloud";
};
}
-2
View File
@@ -4445,8 +4445,6 @@ with pkgs;
nextcloud29Packages = callPackage ../servers/nextcloud/packages { ncVersion = "29"; };
nextcloud30Packages = callPackage ../servers/nextcloud/packages { ncVersion = "30"; };
nextcloud-client = qt6Packages.callPackage ../applications/networking/nextcloud-client { };
nextcloud-news-updater = callPackage ../servers/nextcloud/news-updater.nix { };
nextcloud-notify_push = callPackage ../servers/nextcloud/notify_push.nix { };