qt6ct: init at 0.8

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-03-07 22:17:10 +01:00
parent c5445c0fda
commit 2e12fc11c5
No known key found for this signature in database
GPG key ID: E13DFD4B47127951
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, qtbase
, qtsvg
, qtwayland
, qmake
, qttools
, wrapQtAppsHook
}:
let
inherit (lib) getDev;
in
stdenv.mkDerivation rec {
pname = "qt6ct";
version = "0.8";
src = fetchFromGitHub {
owner = "trialuser02";
repo = "qt6ct";
rev = version;
sha256 = "BFE5aUgn3uFJWTgd4sUwP2L9RZwwwr5jVtAapA9vYbA=";
};
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 ];
};
}

View file

@ -1410,6 +1410,7 @@ mapAliases ({
qt514 = throw "Qt 5 versions prior to 5.15 are no longer supported upstream and have been removed"; # Added 2022-11-24
qt515 = qt5; # Added 2022-11-24
qt5ct = libsForQt5.qt5ct; # Added 2021-12-27
qt6ct = qt6Packages.qt6ct; # Added 2023-03-07
qtcurve = libsForQt5.qtcurve; # Added 2020-11-07
qtkeychain = throw "the qtkeychain attribute (qt4 version) has been removes, use the qt5 version: libsForQt5.qtkeychain"; # Added 2021-08-04
qtscriptgenerator = throw "'qtscriptgenerator' (Qt4) is unmaintained upstream and not used in nixpkgs"; # Added 2022-06-14

View file

@ -31,6 +31,8 @@ in
inherit (kdeFrameworks) kcoreaddons;
qt6ct = callPackage ../tools/misc/qt6ct { };
qtkeychain = callPackage ../development/libraries/qtkeychain {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
};