depot/third_party/nixpkgs/pkgs/tools/misc/qt6gtk2/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
889 B
Nix

{ fetchFromGitHub, lib, stdenv, gtk2, pkg-config, qmake, qtbase, unstableGitUpdater }:
stdenv.mkDerivation (finalAttrs: {
pname = "qt6gtk2";
version = "0.2-unstable-2024-05-06";
src = fetchFromGitHub {
owner = "trialuser02";
repo = finalAttrs.pname;
rev = "d29ba6c1fb4ac933ed7b91f0480cbd0c5a975ab8";
hash = "sha256-lIUCdfsmvuzDQaOi2U/CHch1re6Jn6yDfcX26Gu0eUo=";
};
buildInputs = [ gtk2 qtbase ];
nativeBuildInputs = [ pkg-config qmake ];
dontWrapQtApps = true;
qmakeFlags = [
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
];
passthru.updateScript = unstableGitUpdater { };
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;
};
})