qt6ct: use new upstream and use CMake (#387423)

authored by scrumplex.net and committed by GitHub 3f9dc985 d71c8568

+14 -14
+14 -14
pkgs/tools/misc/qt6ct/default.nix
··· 1 { 2 lib, 3 - stdenv, 4 - fetchFromGitHub, 5 qtbase, 6 qtsvg, 7 qtwayland, 8 - qmake, 9 - qttools, 10 wrapQtAppsHook, 11 }: 12 ··· 14 pname = "qt6ct"; 15 version = "0.10"; 16 17 - src = fetchFromGitHub { 18 - owner = "ilya-fedin"; 19 repo = "qt6ct"; 20 tag = finalAttrs.version; 21 - hash = "sha256-ePY+BEpEcAq11+pUMjQ4XG358x3bXFQWwI1UAi+KmLo="; 22 }; 23 24 nativeBuildInputs = [ 25 - qmake 26 qttools 27 wrapQtAppsHook 28 ]; ··· 33 qtwayland 34 ]; 35 36 - qmakeFlags = [ 37 - "LRELEASE_EXECUTABLE=${lib.getDev qttools}/bin/lrelease" 38 - "PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}" 39 - "LIBDIR=${placeholder "out"}/lib" 40 - ]; 41 42 meta = { 43 description = "Qt6 Configuration Tool"; 44 - homepage = "https://github.com/ilya-fedin/qt6ct"; 45 platforms = lib.platforms.linux; 46 license = lib.licenses.bsd2; 47 maintainers = with lib.maintainers; [
··· 1 { 2 + cmake, 3 + fetchFromGitLab, 4 lib, 5 qtbase, 6 qtsvg, 7 + qttools, 8 qtwayland, 9 + stdenv, 10 wrapQtAppsHook, 11 }: 12 ··· 14 pname = "qt6ct"; 15 version = "0.10"; 16 17 + src = fetchFromGitLab { 18 + domain = "www.opencode.net"; 19 + owner = "trialuser"; 20 repo = "qt6ct"; 21 tag = finalAttrs.version; 22 + hash = "sha256-o2k/b4AGiblS1CkNInqNrlpM1Y7pydIJzEVgVd3ao50="; 23 }; 24 25 nativeBuildInputs = [ 26 + cmake 27 qttools 28 wrapQtAppsHook 29 ]; ··· 34 qtwayland 35 ]; 36 37 + postPatch = '' 38 + substituteInPlace src/qt6ct-qtplugin/CMakeLists.txt src/qt6ct-style/CMakeLists.txt \ 39 + --replace-fail "\''${PLUGINDIR}" "$out/${qtbase.qtPluginPrefix}" 40 + ''; 41 42 meta = { 43 description = "Qt6 Configuration Tool"; 44 + homepage = "https://www.opencode.net/trialuser/qt6ct"; 45 platforms = lib.platforms.linux; 46 license = lib.licenses.bsd2; 47 maintainers = with lib.maintainers; [