Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 54 lines 965 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 layer-shell-qt, 7 lxqt-build-tools, 8 qtbase, 9 qtermwidget, 10 qttools, 11 qtwayland, 12 wrapQtAppsHook, 13 gitUpdater, 14 nixosTests, 15}: 16 17stdenv.mkDerivation rec { 18 pname = "qterminal"; 19 version = "2.2.1"; 20 21 src = fetchFromGitHub { 22 owner = "lxqt"; 23 repo = pname; 24 rev = version; 25 hash = "sha256-H1UmPIZG8KiVNPW3GqgnSq39JsZeowiAVwwEKwCkWoM="; 26 }; 27 28 nativeBuildInputs = [ 29 cmake 30 lxqt-build-tools 31 qttools 32 wrapQtAppsHook 33 ]; 34 35 buildInputs = [ 36 layer-shell-qt 37 qtbase 38 qtermwidget 39 qtwayland 40 ]; 41 42 passthru.updateScript = gitUpdater { }; 43 44 passthru.tests.test = nixosTests.terminal-emulators.qterminal; 45 46 meta = with lib; { 47 homepage = "https://github.com/lxqt/qterminal"; 48 description = "Lightweight Qt-based terminal emulator"; 49 mainProgram = "qterminal"; 50 license = licenses.gpl2Plus; 51 platforms = with platforms; unix; 52 teams = [ teams.lxqt ]; 53 }; 54}