2024-09-19 14:19:46 +00:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
|
|
pkg-config,
|
|
|
|
dtk6widget,
|
|
|
|
qt6Packages,
|
|
|
|
gtest,
|
2024-07-01 15:47:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "qt6integration";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "6.0.19";
|
2024-07-01 15:47:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "linuxdeepin";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-RVhAuEthrTE1QkRIKmBK4VM86frgAqLMJL31F11H8R8=";
|
2024-07-01 15:47:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dtk6widget
|
|
|
|
qt6Packages.qtbase
|
|
|
|
gtest
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DDTK_VERSION=${version}"
|
|
|
|
"-DPLUGIN_INSTALL_BASE_DIR=${placeholder "out"}/${qt6Packages.qtbase.qtPluginPrefix}"
|
|
|
|
];
|
|
|
|
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Qt platform theme integration plugins for DDE";
|
|
|
|
homepage = "https://github.com/linuxdeepin/qt6integration";
|
|
|
|
license = lib.licenses.lgpl3Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = lib.teams.deepin.members;
|
|
|
|
};
|
|
|
|
}
|