2024-06-20 14:57:18 +00:00
|
|
|
{ fetchFromGitHub, lib, stdenv, gtk2, pkg-config, qmake, qtbase, unstableGitUpdater }:
|
2023-08-04 22:07:22 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
stdenv.mkDerivation {
|
2023-08-04 22:07:22 +00:00
|
|
|
pname = "qt6gtk2";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.2-unstable-2024-08-14";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "trialuser02";
|
2024-07-27 06:49:29 +00:00
|
|
|
repo = "qt6gtk2";
|
2024-09-19 14:19:46 +00:00
|
|
|
rev = "b574ba5b59edf5ce220ca304e1d07d75c94d03a2";
|
|
|
|
hash = "sha256-2NzUmcNJBDUJqcBUF4yRO/mDqDf1Up1k9cuMxVUqe60=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gtk2 qtbase ];
|
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
|
|
|
|
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
qmakeFlags = [
|
|
|
|
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
|
|
|
];
|
2023-08-04 22:07:22 +00:00
|
|
|
|
2024-06-20 14:57:18 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GTK+2.0 integration plugins for Qt6";
|
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
homepage = "https://github.com/trialuser02/qt6gtk2";
|
|
|
|
maintainers = [ lib.maintainers.misterio77 ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
2024-07-27 06:49:29 +00:00
|
|
|
}
|