lxqt.qtermwidget: add prior version 1.4.0 for compatibility with qt5

This commit is contained in:
José Romildo 2024-06-06 10:11:27 -03:00
parent 2f0d160888
commit d735378802
2 changed files with 11 additions and 2 deletions

View File

@ -75,6 +75,11 @@ let
libfm-qt = libfm-qt_1_4;
inherit (pkgs.libsForQt5) qtbase qtsvg qttools libdbusmenu;
};
qtermwidget_1_4 = callPackage ./qtermwidget {
version = "1.4.0";
lxqt-build-tools = lxqt-build-tools_0_13;
inherit (pkgs.libsForQt5) qtbase qttools;
};
preRequisitePackages = [
kdePackages.kwindowsystem # provides some QT plugins needed by lxqt-panel

View File

@ -7,17 +7,21 @@
, lxqt-build-tools
, wrapQtAppsHook
, gitUpdater
, version ? "2.0.0"
}:
stdenv.mkDerivation rec {
pname = "qtermwidget";
version = "2.0.0";
inherit version;
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-kZS6D/wSJFRt/+Afq0zCCmNnJPpFT+1hd4zVPc+rJsE=";
hash = {
"1.4.0" = "sha256-wYUOqAiBjnupX1ITbFMw7sAk42V37yDz9SrjVhE4FgU=";
"2.0.0" = "sha256-kZS6D/wSJFRt/+Afq0zCCmNnJPpFT+1hd4zVPc+rJsE=";
}."${version}";
};
nativeBuildInputs = [