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 , stdenv
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, qtbase , qt6
, wrapQtAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -19,15 +18,14 @@ stdenv.mkDerivation rec {
sourceRoot = "${src.name}/client"; sourceRoot = "${src.name}/client";
nativeBuildInputs = [ cmake wrapQtAppsHook ]; nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase ]; buildInputs = [ qt6.qtbase ];
dontWrapQtApps = true;
cmakeFlags = [ ];
meta = with lib; { meta = with lib; {
description = "C++ Qt API for Libre Graph, a free API for cloud collaboration inspired by the MS Graph API"; description = "C++ Qt API for Libre Graph, a free API for cloud collaboration inspired by the MS Graph API";
homepage = "https://owncloud.org"; homepage = "https://owncloud.org";
maintainers = with maintainers; [ qknight hellwolf ]; maintainers = with maintainers; [ hellwolf ];
platforms = platforms.unix; platforms = platforms.unix;
license = licenses.asl20; license = licenses.asl20;
changelog = "https://github.com/owncloud/libre-graph-api-cpp-qt-client/releases/tag/v${version}"; changelog = "https://github.com/owncloud/libre-graph-api-cpp-qt-client/releases/tag/v${version}";