depot/third_party/nixpkgs/pkgs/desktops/deepin/library/qt6integration/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

48 lines
907 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
dtk6widget,
qt6Packages,
gtest,
}:
stdenv.mkDerivation rec {
pname = "qt6integration";
version = "6.0.19";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-RVhAuEthrTE1QkRIKmBK4VM86frgAqLMJL31F11H8R8=";
};
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;
};
}