Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
973 B
Nix
52 lines
973 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
qtbase,
|
|
qttools,
|
|
lxqt-build-tools,
|
|
wrapQtAppsHook,
|
|
gitUpdater,
|
|
version ? "2.2.0",
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qtermwidget";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = "qtermwidget";
|
|
rev = version;
|
|
hash =
|
|
{
|
|
"1.4.0" = "sha256-wYUOqAiBjnupX1ITbFMw7sAk42V37yDz9SrjVhE4FgU=";
|
|
"2.2.0" = "sha256-tzgHNGB063rgFB15lHTKQplNhwJZtrRprUhMm5H62AA=";
|
|
}
|
|
."${version}";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
lxqt-build-tools
|
|
qttools
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
meta = with lib; {
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
homepage = "https://github.com/lxqt/qtermwidget";
|
|
description = "Terminal emulator widget for Qt, used by QTerminal";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; unix;
|
|
teams = [ teams.lxqt ];
|
|
};
|
|
}
|