opencloud-desktop: init at 1.0.0
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
{
|
||||
lib,
|
||||
cmake,
|
||||
kdePackages,
|
||||
fetchFromGitHub,
|
||||
libre-graph-api-cpp-qt-client,
|
||||
kdsingleapplication,
|
||||
nix-update-script,
|
||||
qt6,
|
||||
versionCheckHook,
|
||||
stdenv,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "opencloud-desktop";
|
||||
version = "1.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "opencloud-eu";
|
||||
repo = "desktop";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-sGbjFPidPncCu9LqaeClrXoKQUzhbR1XbX8RoLuz+N8=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user