libre-graph-api-cpp-qt-client: refactor

- move to pkgs/by-name
This commit is contained in:
Miao, ZhiCheng 2023-10-26 23:43:36 +03:00
parent 4d513ab5f1
commit d0b83ae0fa
No known key found for this signature in database
GPG Key ID: 1080B4863AD0F5D1

View File

@ -2,8 +2,7 @@
, stdenv
, fetchFromGitHub
, cmake
, qtbase
, wrapQtAppsHook
, qt6
}:
stdenv.mkDerivation rec {
@ -19,15 +18,14 @@ stdenv.mkDerivation rec {
sourceRoot = "${src.name}/client";
nativeBuildInputs = [ cmake wrapQtAppsHook ];
buildInputs = [ qtbase ];
cmakeFlags = [ ];
nativeBuildInputs = [ cmake ];
buildInputs = [ qt6.qtbase ];
dontWrapQtApps = true;
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 ];
maintainers = with maintainers; [ hellwolf ];
platforms = platforms.unix;
license = licenses.asl20;
changelog = "https://github.com/owncloud/libre-graph-api-cpp-qt-client/releases/tag/v${version}";