blob: c79b5984690313fcdf812bb1ec3afa6d6c9b43a7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{ lib
, stdenv
, fetchFromGitHub
, cmake
, perl
, pkg-config
, qt6
, xkeyboard_config
, unstableGitUpdater
}:
stdenv.mkDerivation {
pname = "labwc-tweaks";
version = "0-unstable-2024-04-27";
src = fetchFromGitHub {
owner = "labwc";
repo = "labwc-tweaks";
rev = "9007079640e0f38c1d69ac94899229354a5c67b2";
hash = "sha256-klKPHAhJ6fedFojXPfesjs1dG5NJhBZkzynhka5vD8M=";
};
nativeBuildInputs = [
cmake
perl
pkg-config
qt6.qttools
qt6.wrapQtAppsHook
];
buildInputs = [
qt6.qtbase
qt6.qtwayland
];
strictDeps = true;
postPatch = ''
substituteInPlace tweaks-qt/gen-layout-list --replace-fail /usr/share/X11/xkb ${xkeyboard_config}/share/X11/xkb
'';
passthru.updateScript = unstableGitUpdater { };
meta = {
homepage = "https://github.com/labwc/labwc-tweaks";
description = "Configuration gui app for labwc";
mainProgram = "labwc-tweaks";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ AndersonTorres romildo ];
};
}
|