Unverified Commit 16cba249 authored by Gavin John's avatar Gavin John
Browse files

qgroundcontrol: nixfmt

parent df275267
Loading
Loading
Loading
Loading
+40 −7
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, SDL2, qtbase, qtcharts, qtlocation, qtserialport
, qtsvg, qtquickcontrols2, qtgraphicaleffects, qtspeech, qtx11extras, qmake
, qttools, gst_all_1, wayland, pkg-config, wrapQtAppsHook }:
{
  lib,
  stdenv,
  fetchFromGitHub,
  SDL2,
  qtbase,
  qtcharts,
  qtlocation,
  qtserialport,
  qtsvg,
  qtquickcontrols2,
  qtgraphicaleffects,
  qtspeech,
  qtx11extras,
  qmake,
  qttools,
  gst_all_1,
  wayland,
  pkg-config,
  wrapQtAppsHook,
}:

stdenv.mkDerivation rec {
  pname = "qgroundcontrol";
  version = "4.4.2";

  propagatedBuildInputs = [
    qtbase qtcharts qtlocation qtserialport qtsvg qtquickcontrols2
    qtgraphicaleffects qtspeech qtx11extras
    qtbase
    qtcharts
    qtlocation
    qtserialport
    qtsvg
    qtquickcontrols2
    qtgraphicaleffects
    qtspeech
    qtx11extras
  ];

  gstInputs = with gst_all_1; [
@@ -21,7 +46,12 @@ stdenv.mkDerivation rec {
  ];

  buildInputs = [ SDL2 ] ++ gstInputs ++ propagatedBuildInputs;
  nativeBuildInputs = [ pkg-config qmake qttools wrapQtAppsHook ];
  nativeBuildInputs = [
    pkg-config
    qmake
    qttools
    wrapQtAppsHook
  ];

  preConfigure = ''
    mkdir build
@@ -76,7 +106,10 @@ stdenv.mkDerivation rec {
    homepage = "http://qgroundcontrol.com/";
    license = licenses.gpl3Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ lopsided98 pandapip1 ];
    maintainers = with maintainers; [
      lopsided98
      pandapip1
    ];
    mainProgram = "QGroundControl";
  };
}