depot/third_party/nixpkgs/pkgs/desktops/lxqt/qterminal/default.nix

46 lines
840 B
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtermwidget
, qtbase
, qttools
, qtx11extras
, lxqtUpdateScript
}:
mkDerivation rec {
pname = "qterminal";
version = "0.16.1";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "0l1jhkyx7ihv3nvqm1gfvzhrhl4l8yvqxly0c9zgl6mzrd39cj3d";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [
qtbase
qttools
qtx11extras
qtermwidget
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
description = "A lightweight Qt-based terminal emulator";
homepage = "https://github.com/lxqt/qterminal";
license = licenses.gpl2;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo globin ];
};
}