mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
755b915a15
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/'
52 lines
942 B
Nix
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;
|
|
};
|
|
}
|