1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 qt6,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "libre-graph-api-cpp-qt-client";
11 version = "1.0.4";
12
13 src = fetchFromGitHub {
14 owner = "owncloud";
15 repo = "libre-graph-api-cpp-qt-client";
16 tag = "v${version}";
17 hash = "sha256-wbdamPi2XSLWeprrYZtBUDH1A2gdp6/5geFZv+ZqSWk=";
18 };
19
20 sourceRoot = "${src.name}/client";
21
22 nativeBuildInputs = [ cmake ];
23 buildInputs = [ qt6.qtbase ];
24 dontWrapQtApps = true;
25
26 meta = {
27 description = "C++ Qt API for Libre Graph, a free API for cloud collaboration inspired by the MS Graph API";
28 homepage = "https://owncloud.org";
29 maintainers = with lib.maintainers; [ hellwolf ];
30 platforms = lib.platforms.unix;
31 license = lib.licenses.asl20;
32 changelog = "https://github.com/owncloud/libre-graph-api-cpp-qt-client/releases/tag/v${version}";
33 };
34}