2022-04-27 09:35:20 +00:00
|
|
|
{ lib
|
2024-04-21 15:54:59 +00:00
|
|
|
, stdenv
|
2022-04-27 09:35:20 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, kwindowsystem
|
2023-10-09 19:29:22 +00:00
|
|
|
, libexif
|
2022-04-27 09:35:20 +00:00
|
|
|
, libfm-qt
|
2022-07-14 12:49:19 +00:00
|
|
|
, lxqt-qtplugin
|
2023-10-09 19:29:22 +00:00
|
|
|
, menu-cache
|
2024-04-21 15:54:59 +00:00
|
|
|
, qtbase
|
|
|
|
, wrapQtAppsHook
|
2022-10-06 18:32:54 +00:00
|
|
|
, gitUpdater
|
2022-07-14 12:49:19 +00:00
|
|
|
, extraQtStyles ? []
|
2022-04-27 09:35:20 +00:00
|
|
|
}:
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2022-04-27 09:35:20 +00:00
|
|
|
pname = "xdg-desktop-portal-lxqt";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.0.2";
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-zXZ0Un56uz1hKoPvZitJgQpJ7ko0LrSSFxl+agiqZ4A=";
|
2022-04-27 09:35:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2024-04-21 15:54:59 +00:00
|
|
|
wrapQtAppsHook
|
2022-04-27 09:35:20 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
kwindowsystem
|
2023-10-09 19:29:22 +00:00
|
|
|
libexif
|
2022-04-27 09:35:20 +00:00
|
|
|
libfm-qt
|
2022-07-14 12:49:19 +00:00
|
|
|
lxqt-qtplugin
|
2023-10-09 19:29:22 +00:00
|
|
|
menu-cache
|
2024-04-21 15:54:59 +00:00
|
|
|
qtbase
|
2022-07-14 12:49:19 +00:00
|
|
|
]
|
|
|
|
++ extraQtStyles;
|
2022-04-27 09:35:20 +00:00
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2022-04-27 09:35:20 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|