2023-04-29 16:46:19 +00:00
|
|
|
{ lib
|
2023-05-24 13:37:59 +00:00
|
|
|
, stdenv
|
2023-04-29 16:46:19 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2023-11-16 04:20:00 +00:00
|
|
|
, qt6
|
2023-04-29 16:46:19 +00:00
|
|
|
}:
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2023-04-29 16:46:19 +00:00
|
|
|
pname = "libre-graph-api-cpp-qt-client";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "1.0.4";
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "owncloud";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-wbdamPi2XSLWeprrYZtBUDH1A2gdp6/5geFZv+ZqSWk=";
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
sourceRoot = "${src.name}/client";
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ qt6.qtbase ];
|
|
|
|
dontWrapQtApps = true;
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "C++ Qt API for Libre Graph, a free API for cloud collaboration inspired by the MS Graph API";
|
|
|
|
homepage = "https://owncloud.org";
|
2023-11-16 04:20:00 +00:00
|
|
|
maintainers = with maintainers; [ hellwolf ];
|
2023-04-29 16:46:19 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.asl20;
|
|
|
|
changelog = "https://github.com/owncloud/libre-graph-api-cpp-qt-client/releases/tag/v${version}";
|
|
|
|
};
|
|
|
|
}
|