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
|
|
|
|
, qtbase
|
2023-05-24 13:37:59 +00:00
|
|
|
, wrapQtAppsHook
|
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
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "source/client";
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
2023-04-29 16:46:19 +00:00
|
|
|
buildInputs = [ qtbase ];
|
|
|
|
|
|
|
|
cmakeFlags = [ ];
|
|
|
|
|
|
|
|
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";
|
|
|
|
maintainers = with maintainers; [ qknight hellwolf ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.asl20;
|
|
|
|
changelog = "https://github.com/owncloud/libre-graph-api-cpp-qt-client/releases/tag/v${version}";
|
|
|
|
};
|
|
|
|
}
|