nixpkgs/pkgs/desktops/lxqt/qterminal/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

52 lines
942 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, lxqt-build-tools
, qtbase
, qtermwidget
, qttools
, qtwayland
, wrapQtAppsHook
, gitUpdater
, nixosTests
}:
stdenv.mkDerivation rec {
pname = "qterminal";
version = "2.0.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-SesKJCiMoiqkvMM29+0IMERozQ9zuD+NJTtaC6j7ubM=";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
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;
};
}