Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
51 lines
951 B
Nix
51 lines
951 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.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-uII6elLoREc/AO6NSe9QsT+jYARd2hgKSa84NCDza10=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|