Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
43 lines
938 B
Nix
43 lines
938 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, qtbase
|
|
, qtsvg
|
|
, qtwayland
|
|
, qmake
|
|
, qttools
|
|
, wrapQtAppsHook
|
|
}:
|
|
let
|
|
inherit (lib) getDev;
|
|
in
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "qt6ct";
|
|
version = "0.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "trialuser02";
|
|
repo = "qt6ct";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-MmN/qPBlsF2mBST+3eYeXaq+7B3b+nTN2hi6CmxrILc=";
|
|
};
|
|
|
|
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 ];
|
|
mainProgram = "qt6ct";
|
|
};
|
|
})
|