18 stdenv.mkDerivation rec {
19 pname = "lxqt-qtplugin";
22 src = fetchFromGitHub {
27 "1.4.1" = "sha256-sp/LvQNfodMYQ4kNbBv4PTNfs38XjYLezuxRltZd4kc=";
28 "2.0.0" = "sha256-o5iD4VzsbN81lwDZJuFj8Ugg1RP752M4unu3J5/h8g8=";
40 (if lib.versionAtLeast version "2.0.0" then libdbusmenu-lxqt else libdbusmenu)
48 substituteInPlace src/CMakeLists.txt \
49 --replace-fail "DESTINATION \"\''${QT_PLUGINS_DIR}" "DESTINATION \"$qtPluginPrefix"
52 passthru.updateScript = gitUpdater { };
55 homepage = "https://github.com/lxqt/lxqt-qtplugin";
56 description = "LXQt Qt platform integration plugin";
57 license = licenses.lgpl21Plus;
58 platforms = platforms.linux;
59 maintainers = teams.lxqt.members;