1{
2 cmake,
3 fetchFromGitLab,
4 lib,
5 qtbase,
6 qtsvg,
7 qttools,
8 qtwayland,
9 stdenv,
10 wrapQtAppsHook,
11}:
12
13stdenv.mkDerivation (finalAttrs: {
14 pname = "qt6ct";
15 version = "0.11";
16
17 src = fetchFromGitLab {
18 domain = "www.opencode.net";
19 owner = "trialuser";
20 repo = "qt6ct";
21 tag = finalAttrs.version;
22 hash = "sha256-aQmqLpM0vogMsYaDS9OeKVI3N53uY4NBC4FF10hK8Uw=";
23 };
24
25 nativeBuildInputs = [
26 cmake
27 qttools
28 wrapQtAppsHook
29 ];
30
31 buildInputs = [
32 qtbase
33 qtsvg
34 qtwayland
35 ];
36
37 cmakeFlags = [
38 (lib.cmakeFeature "PLUGINDIR" "${placeholder "out"}/${qtbase.qtPluginPrefix}")
39 ];
40
41 meta = {
42 description = "Qt6 Configuration Tool";
43 homepage = "https://www.opencode.net/trialuser/qt6ct";
44 platforms = lib.platforms.linux;
45 license = lib.licenses.bsd2;
46 maintainers = with lib.maintainers; [
47 Flakebi
48 Scrumplex
49 ];
50 mainProgram = "qt6ct";
51 };
52})