Skip to content

Commit 081c639

Browse files
committed
lxqt.lxqt-wayland-session: init at 0.1.0
1 parent 5fff027 commit 081c639

File tree

2 files changed

+72
-0
lines changed

2 files changed

+72
-0
lines changed

pkgs/desktops/lxqt/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ let
2929
lxqt-session = callPackage ./lxqt-session {};
3030
lxqt-sudo = callPackage ./lxqt-sudo {};
3131
lxqt-themes = callPackage ./lxqt-themes {};
32+
lxqt-wayland-session = callPackage ./lxqt-wayland-session {};
3233
pavucontrol-qt = callPackage ./pavucontrol-qt {};
3334
qtermwidget = callPackage ./qtermwidget {};
3435

@@ -114,6 +115,7 @@ let
114115
lxqt-session
115116
lxqt-sudo
116117
lxqt-themes
118+
lxqt-wayland-session
117119
pavucontrol-qt
118120

119121
### CORE 2
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
cmake,
6+
kwindowsystem,
7+
liblxqt,
8+
libqtxdg,
9+
lxqt-build-tools,
10+
pkg-config,
11+
qtsvg,
12+
qttools,
13+
xdg-user-dirs,
14+
xkeyboard_config,
15+
gitUpdater,
16+
}:
17+
18+
stdenv.mkDerivation rec {
19+
pname = "lxqt-wayland-session";
20+
version = "0.1.0";
21+
22+
src = fetchFromGitHub {
23+
owner = "lxqt";
24+
repo = "lxqt-wayland-session";
25+
rev = version;
26+
hash = "sha256-5WdfwJ89HWlXL6y9Lpgs7H3mbN/wbf+9VbP9ERPasBM=";
27+
};
28+
29+
nativeBuildInputs = [
30+
cmake
31+
lxqt-build-tools
32+
pkg-config
33+
qttools
34+
];
35+
36+
buildInputs = [
37+
kwindowsystem
38+
liblxqt
39+
libqtxdg
40+
qtsvg
41+
xdg-user-dirs
42+
];
43+
44+
postPatch = ''
45+
substituteInPlace startlxqtwayland.in \
46+
--replace-fail /usr/share/X11/xkb/rules ${xkeyboard_config}/share/X11/xkb/rules
47+
48+
substituteInPlace configurations/{labwc/autostart,lxqt-hyprland.conf,lxqt-wayfire.ini} \
49+
--replace-fail /usr/share/lxqt/wallpapers $out/share/lxqt/wallpapers
50+
'';
51+
52+
dontWrapQtApps = true;
53+
54+
passthru.updateScript = gitUpdater { };
55+
56+
meta = {
57+
homepage = "https://github.com/lxqt/lxqt-wayland-session";
58+
description = "Files needed for the LXQt Wayland Session";
59+
license = with lib.licenses; [
60+
bsd3
61+
cc-by-sa-40
62+
gpl2Only
63+
gpl3Only
64+
lgpl21Only
65+
mit
66+
];
67+
platforms = lib.platforms.linux;
68+
maintainers = lib.teams.lxqt.members;
69+
};
70+
}

0 commit comments

Comments
 (0)