lol

qgroundcontrol: some small improvements (#339867)

authored by

lassulus and committed by
GitHub
948d8eaf 91a63aee

+37 -15
+37 -13
pkgs/applications/science/robotics/qgroundcontrol/default.nix pkgs/by-name/qg/qgroundcontrol/package.nix
··· 1 - { lib, stdenv, fetchFromGitHub, SDL2, qtbase, qtcharts, qtlocation, qtserialport 2 - , qtsvg, qtquickcontrols2, qtgraphicaleffects, qtspeech, qtx11extras, qmake 3 - , qttools, gst_all_1, wayland, pkg-config, wrapQtAppsHook }: 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + SDL2, 6 + libsForQt5, 7 + gst_all_1, 8 + wayland, 9 + pkg-config, 10 + }: 4 11 5 12 stdenv.mkDerivation rec { 6 13 pname = "qgroundcontrol"; 7 14 version = "4.4.2"; 8 15 9 - propagatedBuildInputs = [ 10 - qtbase qtcharts qtlocation qtserialport qtsvg qtquickcontrols2 11 - qtgraphicaleffects qtspeech qtx11extras 16 + propagatedBuildInputs = with libsForQt5; [ 17 + qtbase 18 + qtcharts 19 + qtlocation 20 + qtserialport 21 + qtsvg 22 + qtquickcontrols2 23 + qtgraphicaleffects 24 + qtspeech 25 + qtx11extras 12 26 ]; 13 27 14 28 gstInputs = with gst_all_1; [ ··· 21 35 ]; 22 36 23 37 buildInputs = [ SDL2 ] ++ gstInputs ++ propagatedBuildInputs; 24 - nativeBuildInputs = [ pkg-config qmake qttools wrapQtAppsHook ]; 38 + nativeBuildInputs = 39 + [ pkg-config ] 40 + ++ (with libsForQt5; [ 41 + qmake 42 + qttools 43 + wrapQtAppsHook 44 + ]); 25 45 26 46 preConfigure = '' 27 47 mkdir build ··· 65 85 # TODO: package mavlink so we can build from a normal source tarball 66 86 src = fetchFromGitHub { 67 87 owner = "mavlink"; 68 - repo = pname; 88 + repo = "qgroundcontrol"; 69 89 rev = "v${version}"; 70 90 hash = "sha256-2Bc4uC/2e+PTsvFZ4RjnTzkOiBO9vsYHeLPkcwpDRrg="; 71 91 fetchSubmodules = true; 72 92 }; 73 93 74 - meta = with lib; { 94 + meta = { 75 95 description = "Provides full ground station support and configuration for the PX4 and APM Flight Stacks"; 76 - homepage = "http://qgroundcontrol.com/"; 77 - license = licenses.gpl3Plus; 78 - platforms = platforms.linux; 79 - maintainers = with maintainers; [ lopsided98 pandapip1 ]; 96 + homepage = "https://qgroundcontrol.com/"; 97 + changelog = "https://github.com/mavlink/qgroundcontrol/blob/master/ChangeLog.md"; 98 + license = lib.licenses.gpl3Plus; 99 + platforms = lib.platforms.linux; 100 + maintainers = with lib.maintainers; [ 101 + lopsided98 102 + pandapip1 103 + ]; 80 104 mainProgram = "QGroundControl"; 81 105 }; 82 106 }
-2
pkgs/top-level/all-packages.nix
··· 32765 32765 32766 32766 wrapQemuBinfmtP = callPackage ../applications/virtualization/qemu/binfmt-p-wrapper.nix { }; 32767 32767 32768 - qgroundcontrol = libsForQt5.callPackage ../applications/science/robotics/qgroundcontrol { }; 32769 - 32770 32768 qjackctl = libsForQt5.callPackage ../applications/audio/qjackctl { }; 32771 32769 32772 32770 qimgv = libsForQt5.callPackage ../applications/graphics/qimgv { };