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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
1002 B
Nix
Raw Permalink Normal View History

2024-08-24 00:07:01 -06:00
{
stdenv,
lib,
fetchFromGitHub,
dtkwidget,
cmake,
pkg-config,
libsForQt5,
lxqt,
mtdev,
xorg,
gtest,
2023-01-07 01:46:20 -07:00
}:
stdenv.mkDerivation rec {
pname = "qt5integration";
version = "5.6.32";
2023-01-07 01:46:20 -07:00
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
hash = "sha256-WRMeH66X21Z6TBKPEabnWqzC95+OR9M5azxvAp6K7T4=";
2023-01-07 01:46:20 -07:00
};
2023-02-03 03:00:29 -07:00
nativeBuildInputs = [
2023-09-25 23:16:03 -06:00
cmake
2023-02-03 03:00:29 -07:00
pkg-config
];
2023-01-07 01:46:20 -07:00
buildInputs = [
dtkwidget
libsForQt5.qtbase
libsForQt5.qtsvg
libsForQt5.qtx11extras
2023-01-07 01:46:20 -07:00
mtdev
lxqt.libqtxdg_3_12
2023-01-07 01:46:20 -07:00
xorg.xcbutilrenderutil
gtest
];
2023-09-25 23:16:03 -06:00
cmakeFlags = [
"-DPLUGIN_INSTALL_BASE_DIR=${placeholder "out"}/${libsForQt5.qtbase.qtPluginPrefix}"
2023-09-25 23:16:03 -06:00
];
dontWrapQtApps = true;
2023-01-07 01:46:20 -07: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;
};
}