libsForQt5.qtdbusextended: init at 0.0.3

This commit is contained in:
rewine 2022-08-22 10:52:43 +08:00
parent b8a9c06d7b
commit 361bd073a9
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ stdenv
, lib
, fetchFromGitHub
, qmake
, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
pname = "qtdbusextended";
version = "0.0.3";
src = fetchFromGitHub {
owner = "nemomobile";
repo = pname;
rev = version;
sha256 = "sha256-tUp7OhNBXwomR2tO4UOaR0vJQ3GTirMk/hRl1cMk61o=";
};
postPatch = ''
substituteInPlace src/src.pro \
--replace '$$[QT_INSTALL_LIBS]' "$out/lib" \
--replace '$$[QT_INSTALL_HEADERS]' "$out/include" \
--replace '$$[QMAKE_MKSPECS]' "$out/mkspecs"
'';
nativeBuildInputs = [
qmake
wrapQtAppsHook
];
meta = with lib; {
description = "Qt provides several classes for DBus communication";
homepage = "https://github.com/nemomobile/qtdbusextended";
license = licenses.lgpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ rewine ];
};
}

View File

@ -195,6 +195,8 @@ in (kdeFrameworks // plasmaMobileGear // plasma5 // plasma5.thirdParty // kdeGea
qt5ct = callPackage ../tools/misc/qt5ct { };
qtdbusextended = callPackage ../development/libraries/qtdbusextended { };
qtfeedback = callPackage ../development/libraries/qtfeedback { };
qtforkawesome = callPackage ../development/libraries/qtforkawesome { };