mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
49 lines
928 B
Nix
49 lines
928 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, lxqt-build-tools
|
|
, qtermwidget
|
|
, qtbase
|
|
, qttools
|
|
, qtx11extras
|
|
, lxqtUpdateScript
|
|
, nixosTests
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "qterminal";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "x+rgDrijDsMMdpU7afkn0dsSQbuBbEI9agoaLVsR/q8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
lxqt-build-tools
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qttools
|
|
qtx11extras
|
|
qtermwidget
|
|
];
|
|
|
|
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.qterminal;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lxqt/qterminal";
|
|
description = "A lightweight Qt-based terminal emulator";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; unix;
|
|
maintainers = with maintainers; [ globin ] ++ teams.lxqt.members;
|
|
};
|
|
}
|