2020-05-03 17:38:23 +00:00
|
|
|
{ lib
|
2024-04-21 15:54:59 +00:00
|
|
|
, stdenv
|
2020-05-03 17:38:23 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2024-07-01 15:47:52 +00:00
|
|
|
, layer-shell-qt
|
2020-05-03 17:38:23 +00:00
|
|
|
, lxqt-build-tools
|
|
|
|
, qtbase
|
2024-04-21 15:54:59 +00:00
|
|
|
, qtermwidget
|
2020-05-03 17:38:23 +00:00
|
|
|
, qttools
|
2024-06-05 15:53:02 +00:00
|
|
|
, qtwayland
|
2024-04-21 15:54:59 +00:00
|
|
|
, wrapQtAppsHook
|
2022-10-06 18:32:54 +00:00
|
|
|
, gitUpdater
|
2022-03-30 09:31:56 +00:00
|
|
|
, nixosTests
|
2020-05-03 17:38:23 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "qterminal";
|
2024-07-01 15:47:52 +00:00
|
|
|
version = "2.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lxqt";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-07-01 15:47:52 +00:00
|
|
|
hash = "sha256-KGghNa1tvxDFd9kEElCx9BoLfwnbeX5UvoksyPBfEjc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
lxqt-build-tools
|
2023-11-16 04:20:00 +00:00
|
|
|
qttools
|
2024-04-21 15:54:59 +00:00
|
|
|
wrapQtAppsHook
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2024-07-01 15:47:52 +00:00
|
|
|
layer-shell-qt
|
2020-04-24 23:36:52 +00:00
|
|
|
qtbase
|
|
|
|
qtermwidget
|
2024-06-05 15:53:02 +00:00
|
|
|
qtwayland
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2022-10-06 18:32:54 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
2020-05-03 17:38:23 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.qterminal;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/lxqt/qterminal";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Lightweight Qt-based terminal emulator";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "qterminal";
|
2021-02-13 14:23:35 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = with platforms; unix;
|
2023-11-16 04:20:00 +00:00
|
|
|
maintainers = with maintainers; teams.lxqt.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|