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
55 lines
1.2 KiB
Nix
55 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
cmake,
|
|
kdePackages,
|
|
fetchFromGitHub,
|
|
libre-graph-api-cpp-qt-client,
|
|
kdsingleapplication,
|
|
nix-update-script,
|
|
qt6,
|
|
versionCheckHook,
|
|
stdenv,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "opencloud-desktop";
|
|
version = "2.0.0";
|
|
src = fetchFromGitHub {
|
|
owner = "opencloud-eu";
|
|
repo = "desktop";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-NM9SspeMXu1q3tfpcFk4OuLapu/clbotJLu2u4nmAlY=";
|
|
};
|
|
|
|
buildInputs = [
|
|
kdePackages.extra-cmake-modules
|
|
qt6.qtbase
|
|
qt6.qtdeclarative
|
|
qt6.qttools
|
|
kdePackages.qtkeychain
|
|
libre-graph-api-cpp-qt-client
|
|
kdsingleapplication
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
qt6.wrapQtAppsHook
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
doInstallCheck = true;
|
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
versionCheckProgram = "${placeholder "out"}/bin/opencloudcmd";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
changelog = "https://github.com/opencloud-eu/desktop/releases/tag/v${finalAttrs.version}";
|
|
description = "Desktop Application for OpenCloud";
|
|
downloadPage = "https://github.com/opencloud-eu/desktop";
|
|
homepage = "https://opencloud.eu/en";
|
|
license = lib.licenses.gpl2Only;
|
|
maintainers = [ lib.maintainers.FKouhai ];
|
|
};
|
|
})
|