2025-07-24 13:55:40 +02:00

53 lines
967 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
kwindowsystem,
libexif,
libfm-qt,
lxqt-qtplugin,
menu-cache,
qtbase,
wrapQtAppsHook,
gitUpdater,
extraQtStyles ? [ ],
}:
stdenv.mkDerivation rec {
pname = "xdg-desktop-portal-lxqt";
version = "1.2.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-y3VqDuFagKcG8O5m5qjRGtlUZXfIXV0tclvZLChhWkg=";
};
nativeBuildInputs = [
cmake
wrapQtAppsHook
];
buildInputs = [
kwindowsystem
libexif
libfm-qt
lxqt-qtplugin
menu-cache
qtbase
]
++ extraQtStyles;
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/xdg-desktop-portal-lxqt";
description = "Backend implementation for xdg-desktop-portal that is using Qt/KF5/libfm-qt";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}