mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
50 lines
911 B
Nix
50 lines
911 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, lxqt-build-tools
|
|
, qtermwidget
|
|
, qtbase
|
|
, qttools
|
|
, qtx11extras
|
|
, gitUpdater
|
|
, nixosTests
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "qterminal";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "lxqt";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-nojNx351lYw0jVKEvzAIDP1WrZWcCAlfYMxNG95GcEo=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
lxqt-build-tools
|
|
qttools
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qtx11extras
|
|
qtermwidget
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.qterminal;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/lxqt/qterminal";
|
|
description = "A lightweight Qt-based terminal emulator";
|
|
mainProgram = "qterminal";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; unix;
|
|
maintainers = with maintainers; teams.lxqt.members;
|
|
};
|
|
}
|