15 version = args.version or srcs.${pname}.version;
16 src = args.src or srcs.${pname}.src;
18 stdenv.mkDerivation (args // {
19 inherit pname version src;
20 patches = args.patches or patches.${pname} or [ ];
22 buildInputs = args.buildInputs or [ ];
23 nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [ cmake ninja perl ]
24 ++ lib.optionals stdenv.isDarwin [ moveBuildTree ];
25 propagatedBuildInputs =
26 (lib.warnIf (args ? qtInputs) "qt6.qtModule's qtInputs argument is deprecated" args.qtInputs or []) ++
27 (args.propagatedBuildInputs or []);
31 outputs = args.outputs or [ "out" "dev" ];
33 dontWrapQtApps = args.dontWrapQtApps or true;
36 homepage = "https://www.qt.io/";
37 description = "A cross-platform application framework for C++";
38 license = with licenses; [ fdl13Plus gpl2Plus lgpl21Plus lgpl3Plus ];
39 maintainers = with maintainers; [ milahu nickcao ];
40 platforms = platforms.unix;
41 } // (args.meta or { });