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-07-01 15:47:52 +00:00
|
|
|
version = "0.2-unstable-2024-06-22";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "trialuser02";
|
2024-07-27 06:49:29 +00:00
|
|
|
repo = "qt6gtk2";
|
2024-07-01 15:47:52 +00:00
|
|
|
rev = "2e8729481649d0a2fd4cc07051daf6134809d2c5";
|
|
|
|
hash = "sha256-j1PFJEGCd2snQ6bAcsmFNrupoZg+ib/08Xs1oJyWyN0=";
|
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
|
|
|
}
|