2025-06-03 16:15:50 +02:00

35 lines
865 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
qt6,
}:
stdenv.mkDerivation rec {
pname = "libre-graph-api-cpp-qt-client";
version = "1.0.4";
src = fetchFromGitHub {
owner = "owncloud";
repo = "libre-graph-api-cpp-qt-client";
tag = "v${version}";
hash = "sha256-wbdamPi2XSLWeprrYZtBUDH1A2gdp6/5geFZv+ZqSWk=";
};
sourceRoot = "${src.name}/client";
nativeBuildInputs = [ cmake ];
buildInputs = [ qt6.qtbase ];
dontWrapQtApps = true;
meta = {
description = "C++ Qt API for Libre Graph, a free API for cloud collaboration inspired by the MS Graph API";
homepage = "https://owncloud.org";
maintainers = with lib.maintainers; [ hellwolf ];
platforms = lib.platforms.unix;
license = lib.licenses.asl20;
changelog = "https://github.com/owncloud/libre-graph-api-cpp-qt-client/releases/tag/v${version}";
};
}