Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

58 lines
1.0 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
libdbusmenu-lxqt,
libfm-qt,
libqtxdg,
lxqt-build-tools,
gitUpdater,
qtbase,
qtsvg,
qttools,
wrapQtAppsHook,
}:
stdenv.mkDerivation rec {
pname = "lxqt-qtplugin";
version = "2.2.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = "lxqt-qtplugin";
rev = version;
hash = "sha256-qXadz9JBk4TURAWj6ByP/lGV1u0Z6rNJ/VraBh5zY+Q=";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
libdbusmenu-lxqt
libfm-qt
libqtxdg
qtbase
qtsvg
];
postPatch = ''
substituteInPlace src/CMakeLists.txt \
--replace-fail "DESTINATION \"\''${QT_PLUGINS_DIR}" "DESTINATION \"$qtPluginPrefix"
'';
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-qtplugin";
description = "LXQt Qt platform integration plugin";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
teams = [ teams.lxqt ];
};
}