Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 53 lines 1.0 kB view raw
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.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 ]; 30 31 buildInputs = [ 32 qtbase 33 qtsvg 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; [ 48 Flakebi 49 Scrumplex 50 ]; 51 mainProgram = "qt6ct"; 52 }; 53})