mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
54 lines
978 B
Nix
54 lines
978 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, layer-shell-qt
|
|
, lxqt-build-tools
|
|
, qtbase
|
|
, qtermwidget
|
|
, qttools
|
|
, qtwayland
|
|
, wrapQtAppsHook
|
|
, gitUpdater
|
|
, nixosTests
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qterminal";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-Nluw0waf+lqpbajsPv+HYhPD3y7XmgifSu2r7I/J4RI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
lxqt-build-tools
|
|
qttools
|
|
wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
layer-shell-qt
|
|
qtbase
|
|
qtermwidget
|
|
qtwayland
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.qterminal;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lxqt/qterminal";
|
|
description = "Lightweight Qt-based terminal emulator";
|
|
mainProgram = "qterminal";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; unix;
|
|
maintainers = with maintainers; teams.lxqt.members;
|
|
};
|
|
}
|