49 lines
900 B
Nix
49 lines
900 B
Nix
|
|
{
|
||
|
|
fetchFromGitLab,
|
||
|
|
lib,
|
||
|
|
stdenv,
|
||
|
|
gtk2,
|
||
|
|
pkg-config,
|
||
|
|
qmake,
|
||
|
|
qtbase,
|
||
|
|
nix-update-script,
|
||
|
|
}:
|
||
|
|
|
||
|
|
stdenv.mkDerivation (finalAttrs: {
|
||
|
|
pname = "qt6gtk2";
|
||
|
|
version = "0.5";
|
||
|
|
|
||
|
|
src = fetchFromGitLab {
|
||
|
|
domain = "opencode.net";
|
||
|
|
owner = "trialuser";
|
||
|
|
repo = "qt6gtk2";
|
||
|
|
tag = finalAttrs.version;
|
||
|
|
hash = "sha256-G2TQ4LU8Cmvd+u6/s1ugbUkZcRXHTBm3+ISY0g/5/60=";
|
||
|
|
};
|
||
|
|
|
||
|
|
buildInputs = [
|
||
|
|
gtk2
|
||
|
|
qtbase
|
||
|
|
];
|
||
|
|
nativeBuildInputs = [
|
||
|
|
pkg-config
|
||
|
|
qmake
|
||
|
|
];
|
||
|
|
|
||
|
|
dontWrapQtApps = true;
|
||
|
|
|
||
|
|
qmakeFlags = [
|
||
|
|
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
||
|
|
];
|
||
|
|
|
||
|
|
passthru.updateScript = nix-update-script { };
|
||
|
|
|
||
|
|
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;
|
||
|
|
};
|
||
|
|
})
|