17 version = args.version or srcs.${pname}.version;
18 src = args.src or srcs.${pname}.src;
23 inherit pname version src;
24 patches = args.patches or patches.${pname} or [ ];
27 args.buildInputs or [ ]
28 ++ lib.optionals stdenv.hostPlatform.isDarwin darwinVersionInputs;
30 (args.nativeBuildInputs or [ ])
36 ++ lib.optionals stdenv.hostPlatform.isDarwin [ moveBuildTree ];
37 propagatedBuildInputs =
38 (lib.warnIf (args ? qtInputs) "qt6.qtModule's qtInputs argument is deprecated" args.qtInputs or [ ])
39 ++ (args.propagatedBuildInputs or [ ]);
48 separateDebugInfo = args.separateDebugInfo or true;
50 dontWrapQtApps = args.dontWrapQtApps or true;
57 pos = builtins.unsafeGetAttrPos "pname" args;
60 homepage = "https://www.qt.io/";
61 description = "Cross-platform application framework for C++";
62 license = with licenses; [
68 maintainers = with maintainers; [
72 platforms = platforms.unix;
73 position = "${pos.file}:${toString pos.line}";
75 // (args.meta or { });