2023-03-07 22:17:10 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, qtbase
|
|
|
|
, qtsvg
|
|
|
|
, qtwayland
|
|
|
|
, qmake
|
|
|
|
, qttools
|
|
|
|
, wrapQtAppsHook
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
inherit (lib) getDev;
|
|
|
|
in
|
2023-09-26 21:05:59 +02:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2023-03-07 22:17:10 +01:00
|
|
|
pname = "qt6ct";
|
2023-09-26 21:05:59 +02:00
|
|
|
version = "0.9";
|
2023-03-07 22:17:10 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "trialuser02";
|
|
|
|
repo = "qt6ct";
|
2023-09-26 21:05:59 +02:00
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-MmN/qPBlsF2mBST+3eYeXaq+7B3b+nTN2hi6CmxrILc=";
|
2023-03-07 22:17:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake qttools wrapQtAppsHook ];
|
|
|
|
|
|
|
|
buildInputs = [ qtbase qtsvg qtwayland ];
|
|
|
|
|
|
|
|
qmakeFlags = [
|
|
|
|
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
|
|
|
|
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
|
|
|
"LIBDIR=${placeholder "out"}/lib"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Qt6 Configuration Tool";
|
|
|
|
homepage = "https://github.com/trialuser02/qt6ct";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ Flakebi Scrumplex ];
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "qt6ct";
|
2023-03-07 22:17:10 +01:00
|
|
|
};
|
2023-09-26 21:05:59 +02:00
|
|
|
})
|