diff options
author | Miao, ZhiCheng <zhicheng.miao@gmail.com> | 2023-10-26 23:46:39 +0300 |
---|---|---|
committer | Miao, ZhiCheng <zhicheng.miao@gmail.com> | 2023-10-28 12:07:42 +0300 |
commit | ae102bbaac9ce4d109424bbfa7bb23483358390b (patch) | |
tree | 1b4b7e86990735f7df1aef60d3d77f784fcc72ee /pkgs/by-name | |
parent | 0c1b3cb64aeb0463efe0473e116c1846ceeb7a95 (diff) | |
download | nixlib-ae102bbaac9ce4d109424bbfa7bb23483358390b.tar nixlib-ae102bbaac9ce4d109424bbfa7bb23483358390b.tar.gz nixlib-ae102bbaac9ce4d109424bbfa7bb23483358390b.tar.bz2 nixlib-ae102bbaac9ce4d109424bbfa7bb23483358390b.tar.lz nixlib-ae102bbaac9ce4d109424bbfa7bb23483358390b.tar.xz nixlib-ae102bbaac9ce4d109424bbfa7bb23483358390b.tar.zst nixlib-ae102bbaac9ce4d109424bbfa7bb23483358390b.zip |
owncloud-client: 4.2.0 -> 5.0.0
- 5.0.0 adds new a new local dependency: kdsingleapplication - 5.0.0 starts to use Qt6 - Qt6 requires qt6.qtsvg for tray icon support - move all packages under by-name
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/ow/owncloud-client/package.nix | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/by-name/ow/owncloud-client/package.nix b/pkgs/by-name/ow/owncloud-client/package.nix new file mode 100644 index 000000000000..5edbd5d0f6b8 --- /dev/null +++ b/pkgs/by-name/ow/owncloud-client/package.nix @@ -0,0 +1,57 @@ +{ lib +, stdenv +, fetchFromGitHub +, pkg-config +, cmake +, extra-cmake-modules +, qt6 +, qt6Packages +, sqlite +, libsecret +, libre-graph-api-cpp-qt-client +, kdsingleapplication +# darwin only: +, libinotify-kqueue +, sparkleshare +}: + +stdenv.mkDerivation rec { + pname = "owncloud-client"; + version = "5.0.0"; + + src = fetchFromGitHub { + owner = "owncloud"; + repo = "client"; + rev = "refs/tags/v${version}"; + hash = "sha256-SSMNmWrCT1sGa38oY8P84QNedNkQPcIRWrV9B65B5X8="; + }; + + nativeBuildInputs = [ + pkg-config + cmake + extra-cmake-modules + qt6.qttools + qt6.wrapQtAppsHook + ]; + + buildInputs = [ + sqlite + libsecret + qt6.qtbase + qt6.qtsvg # Needed for the systray icon + qt6Packages.qtkeychain + libre-graph-api-cpp-qt-client + kdsingleapplication + ] ++ lib.optionals stdenv.isDarwin [ + libinotify-kqueue sparkleshare + ]; + + meta = with lib; { + description = "Synchronise your ownCloud with your computer using this desktop client"; + homepage = "https://owncloud.org"; + maintainers = with maintainers; [ qknight hellwolf ]; + platforms = platforms.unix; + license = licenses.gpl2Plus; + changelog = "https://github.com/owncloud/client/releases/tag/v${version}"; + }; +} |