nixpkgs/pkgs/desktops/deepin/library/qt5integration/default.nix

57 lines
963 B
Nix
Raw Normal View History

2023-01-07 08:46:20 +00:00
{ stdenv
, lib
, fetchFromGitHub
, dtkwidget
2023-09-26 05:16:03 +00:00
, cmake
, pkg-config
2023-01-07 08:46:20 +00:00
, qtbase
, qtsvg
, qtx11extras
, lxqt
, mtdev
, xorg
, gtest
}:
stdenv.mkDerivation rec {
pname = "qt5integration";
2024-02-04 03:21:52 +00:00
version = "5.6.20";
2023-01-07 08:46:20 +00:00
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
2024-02-04 03:21:52 +00:00
hash = "sha256-cmvscSIu3LOTKuMs/+JUdJAvQ7OB4o1k+LqfRxNefZU=";
2023-01-07 08:46:20 +00:00
};
2023-02-03 10:00:29 +00:00
nativeBuildInputs = [
2023-09-26 05:16:03 +00:00
cmake
2023-02-03 10:00:29 +00:00
pkg-config
];
2023-01-07 08:46:20 +00:00
buildInputs = [
dtkwidget
2023-09-26 05:16:03 +00:00
qtbase
qtsvg
2023-01-07 08:46:20 +00:00
qtx11extras
mtdev
lxqt.libqtxdg_3_12
2023-01-07 08:46:20 +00:00
xorg.xcbutilrenderutil
gtest
];
2023-09-26 05:16:03 +00:00
cmakeFlags = [
"-DPLUGIN_INSTALL_BASE_DIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
];
dontWrapQtApps = true;
2023-01-07 08:46:20 +00:00
meta = with lib; {
description = "Qt platform theme integration plugins for DDE";
homepage = "https://github.com/linuxdeepin/qt5integration";
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = teams.deepin.members;
};
}