Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
qt6Packages,
|
|
# nativeBuildInputs
|
|
pkg-config,
|
|
cmake,
|
|
extra-cmake-modules,
|
|
# buildInputs
|
|
sqlite,
|
|
libsecret,
|
|
libre-graph-api-cpp-qt-client,
|
|
kdsingleapplication,
|
|
## darwin only
|
|
libinotify-kqueue,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "owncloud-client";
|
|
version = "5.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "owncloud";
|
|
repo = "client";
|
|
tag = "v${version}";
|
|
hash = "sha256-HEnjtedmdNJTpc/PmEyoEsLGUydFkVF3UAsSdzQ4L1Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
cmake
|
|
extra-cmake-modules
|
|
qt6Packages.qttools
|
|
qt6Packages.wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
sqlite
|
|
libsecret
|
|
qt6Packages.qtbase
|
|
qt6Packages.qtsvg # Needed for the systray icon
|
|
qt6Packages.qtkeychain
|
|
libre-graph-api-cpp-qt-client
|
|
kdsingleapplication
|
|
]
|
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
libinotify-kqueue
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "Synchronise your ownCloud with your computer using this desktop client";
|
|
homepage = "https://owncloud.org";
|
|
maintainers = with lib.maintainers; [
|
|
qknight
|
|
hellwolf
|
|
];
|
|
platforms = lib.platforms.unix;
|
|
license = lib.licenses.gpl2Plus;
|
|
changelog = "https://github.com/owncloud/client/releases/tag/v${version}";
|
|
};
|
|
}
|