mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
qt6Packages.qt6gtk2: init at 0.2
This commit is contained in:
parent
e2a43fbfb3
commit
415cd9298d
36
pkgs/tools/misc/qt6gtk2/default.nix
Normal file
36
pkgs/tools/misc/qt6gtk2/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ fetchFromGitHub, lib, stdenv, gtk2, pkg-config, qmake, qtbase }:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "qt6gtk2";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trialuser02";
|
||||
repo = finalAttrs.pname;
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-g5ZCwTnNEJJ57zEwNqMxrl0EWYJMt3PquZ2IsmxQYqk=";
|
||||
};
|
||||
|
||||
buildInputs = [ gtk2 qtbase ];
|
||||
nativeBuildInputs = [ pkg-config qmake ];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib/qt-6/plugins/{platformthemes,styles}
|
||||
cp -pr src/qt6gtk2-qtplugin/libqt6gtk2.so $out/lib/qt-6/plugins/platformthemes
|
||||
cp -pr src/qt6gtk2-style/libqt6gtk2-style.so $out/lib/qt-6/plugins/styles
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
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;
|
||||
};
|
||||
})
|
@ -33,6 +33,8 @@ in
|
||||
|
||||
qt6ct = callPackage ../tools/misc/qt6ct { };
|
||||
|
||||
qt6gtk2 = callPackage ../tools/misc/qt6gtk2 { };
|
||||
|
||||
qtkeychain = callPackage ../development/libraries/qtkeychain {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user