3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/lxqt/qterminal/default.nix

49 lines
922 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtermwidget
, qtbase
, qttools
, qtx11extras
, lxqtUpdateScript
, nixosTests
}:
mkDerivation rec {
pname = "qterminal";
version = "1.0.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "12p3fnbkpj6z0iplg75304l8kvnn145iq6bpw30n9bwflxrd6yhd";
};
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; [ romildo globin ];
};
}