lxqt.xdg-desktop-portal-lxqt: init at 0.2.0
This commit is contained in:
parent
6cacd60eb9
commit
2aa95b9fec
|
@ -62,6 +62,9 @@ in
|
|||
services.gvfs.enable = true;
|
||||
|
||||
services.upower.enable = config.powerManagement.enable;
|
||||
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.extraPortals = [ pkgs.lxqt.xdg-desktop-portal-lxqt ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -49,6 +49,7 @@ let
|
|||
screengrab = callPackage ./screengrab {};
|
||||
qlipper = callPackage ./qlipper {};
|
||||
lxqt-archiver = callPackage ./lxqt-archiver {};
|
||||
xdg-desktop-portal-lxqt = callPackage ./xdg-desktop-portal-lxqt {};
|
||||
|
||||
preRequisitePackages = [
|
||||
libsForQt5.kwindowsystem # provides some QT5 plugins needed by lxqt-panel
|
||||
|
|
41
pkgs/desktops/lxqt/xdg-desktop-portal-lxqt/default.nix
Normal file
41
pkgs/desktops/lxqt/xdg-desktop-portal-lxqt/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, kwindowsystem
|
||||
, libfm-qt
|
||||
, qtx11extras
|
||||
, lxqtUpdateScript
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "xdg-desktop-portal-lxqt";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lxqt";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "15wld2p07sbf2i2qv86ljm479q0nr9r65wavmabmn3fkzkz5vlgf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
kwindowsystem
|
||||
libfm-qt
|
||||
qtx11extras
|
||||
];
|
||||
|
||||
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue